Skip to content

Commit ded640b

Browse files
committed
Ember.js 5.12
1 parent aa32900 commit ded640b

File tree

11 files changed

+511
-376
lines changed

11 files changed

+511
-376
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/blueprints/*/files/
33

44
# compiled output
5+
/declarations/
56
/dist/
67

78
# misc

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
fail-fast: false
5858
matrix:
5959
try-scenario:
60-
- ember-lts-4.8
6160
- ember-lts-4.12
61+
- ember-lts-5.4
6262
- ember-release
6363
- ember-beta
6464
- ember-canary

.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
/ember-cli-build.js
2424
/testem.js
2525
/tests/
26+
/tsconfig.declarations.json
27+
/tsconfig.json
2628
/yarn-error.log
2729
/yarn.lock
2830
.gitkeep

CONTRIBUTING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@
88

99
## Linting
1010

11-
* `yarn lint`
12-
* `yarn lint:fix`
11+
- `yarn lint`
12+
- `yarn lint:fix`
1313

1414
## Running tests
1515

16-
* `ember test` – Runs the test suite on the current Ember version
17-
* `ember test --server` – Runs the test suite in "watch mode"
18-
* `ember try:each` – Runs the test suite against multiple Ember versions
16+
- `yarn test` – Runs the test suite on the current Ember version
17+
- `yarn test:ember --server` – Runs the test suite in "watch mode"
18+
- `yarn test:ember-compatibility` – Runs the test suite against multiple Ember versions
1919

2020
## Running the dummy application
2121

22-
* `ember serve`
23-
* Visit the dummy application at [http://localhost:4200](http://localhost:4200).
22+
- `yarn start`
23+
- Visit the dummy application at [http://localhost:4200](http://localhost:4200).
2424

2525
For more information on using ember-cli, visit [https://cli.emberjs.com/release/](https://cli.emberjs.com/release/).

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,16 @@ Lightweight, composable tree component for Ember without any dependency.
44

55
## Compatibility
66

7-
## Compatibility
8-
9-
* Ember.js v4.8 or above
10-
* Ember CLI v4.8 or above
11-
* Node.js v18 or above
12-
7+
- Ember.js v4.12 or above
8+
- Ember CLI v4.12 or above
9+
- Node.js v18 or above
1310

1411
## Installation
1512

1613
```bash
1714
ember install ember-simple-tree
1815
```
1916

20-
2117
## Usage
2218

2319
Basic example:

package.json

Lines changed: 28 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -23,62 +23,60 @@
2323
},
2424
"scripts": {
2525
"build": "ember build --environment=production",
26-
"lint": "concurrently \"npm:lint:*(!fix)\" --names \"lint:\"",
26+
"lint": "concurrently \"yarn:lint:*(!fix)\" --names \"lint:\"",
2727
"lint:css": "stylelint \"**/*.css\"",
28-
"lint:css:fix": "concurrently \"npm:lint:css -- --fix\"",
29-
"lint:fix": "concurrently \"npm:lint:*:fix\" --names \"fix:\"",
28+
"lint:css:fix": "concurrently \"yarn:lint:css -- --fix\"",
29+
"lint:fix": "concurrently \"yarn:lint:*:fix\" --names \"fix:\"",
3030
"lint:hbs": "ember-template-lint .",
3131
"lint:hbs:fix": "ember-template-lint . --fix",
3232
"lint:js": "eslint . --cache",
3333
"lint:js:fix": "eslint . --fix",
3434
"start": "ember serve",
35-
"test": "concurrently \"npm:lint\" \"npm:test:*\" --names \"lint,test:\"",
35+
"test": "concurrently \"yarn:lint\" \"yarn:test:*\" --names \"lint,test:\"",
3636
"test:ember": "ember test",
3737
"test:ember-compatibility": "ember try:each"
3838
},
3939
"dependencies": {
40-
"@babel/core": "^7.23.2",
40+
"@babel/core": "^7.25.2",
4141
"@glimmer/component": "^1.1.2",
4242
"ember-cli-babel": "^8.2.0",
4343
"ember-cli-htmlbars": "^6.3.0"
4444
},
4545
"devDependencies": {
46-
"@babel/eslint-parser": "^7.22.15",
47-
"@babel/plugin-proposal-decorators": "^7.23.2",
48-
"@ember/optional-features": "^2.0.0",
49-
"@ember/test-helpers": "^3.2.0",
50-
"@embroider/test-setup": "^3.0.2",
46+
"@babel/eslint-parser": "^7.25.1",
47+
"@babel/plugin-proposal-decorators": "^7.24.7",
48+
"@ember/optional-features": "^2.1.0",
49+
"@ember/test-helpers": "^3.3.1",
50+
"@embroider/test-setup": "^4.0.0",
5151
"@glimmer/tracking": "^1.1.2",
5252
"broccoli-asset-rev": "^3.0.0",
5353
"concurrently": "^8.2.2",
54-
"ember-cli": "~5.4.2",
54+
"ember-auto-import": "^2.10.0",
55+
"ember-cli": "~5.12.0",
5556
"ember-cli-clean-css": "^3.0.0",
5657
"ember-cli-terser": "^4.0.2",
5758
"ember-load-initializers": "^2.1.2",
58-
"ember-page-title": "^8.0.0",
59-
"ember-qunit": "^8.0.1",
60-
"ember-resolver": "^11.0.1",
61-
"ember-source": "~5.4.0",
59+
"ember-page-title": "^8.2.3",
60+
"ember-qunit": "^8.1.0",
61+
"ember-resolver": "^12.0.1",
62+
"ember-source": "~5.12.0",
6263
"ember-source-channel-url": "^3.0.0",
63-
"ember-template-lint": "^5.11.2",
64+
"ember-template-lint": "^6.0.0",
6465
"ember-try": "^3.0.0",
65-
"eslint": "^8.52.0",
66-
"eslint-config-prettier": "^9.0.0",
67-
"eslint-plugin-ember": "^11.11.1",
68-
"eslint-plugin-n": "^16.2.0",
69-
"eslint-plugin-prettier": "^5.0.1",
70-
"eslint-plugin-qunit": "^8.0.1",
66+
"eslint": "^8.57.1",
67+
"eslint-config-prettier": "^9.1.0",
68+
"eslint-plugin-ember": "^12.2.1",
69+
"eslint-plugin-n": "^16.6.2",
70+
"eslint-plugin-prettier": "^5.2.1",
71+
"eslint-plugin-qunit": "^8.1.2",
7172
"loader.js": "^4.7.0",
72-
"prettier": "^3.0.3",
73-
"qunit": "^2.20.0",
74-
"qunit-dom": "^2.0.0",
73+
"prettier": "^3.3.3",
74+
"qunit": "^2.22.0",
75+
"qunit-dom": "^3.2.1",
7576
"stylelint": "^15.11.0",
7677
"stylelint-config-standard": "^34.0.0",
77-
"stylelint-prettier": "^4.0.2",
78-
"webpack": "^5.89.0"
79-
},
80-
"peerDependencies": {
81-
"ember-source": "^4.0.0"
78+
"stylelint-prettier": "^4.1.0",
79+
"webpack": "^5.95.0"
8280
},
8381
"engines": {
8482
"node": ">= 18"

tests/dummy/config/ember-cli-update.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"packages": [
44
{
55
"name": "ember-cli",
6-
"version": "5.4.2",
6+
"version": "5.12.0",
77
"blueprints": [
88
{
99
"name": "addon",

tests/dummy/config/ember-try.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ module.exports = async function () {
88
useYarn: true,
99
scenarios: [
1010
{
11-
name: 'ember-lts-4.8',
11+
name: 'ember-lts-4.12',
1212
npm: {
1313
devDependencies: {
14-
'ember-source': '~4.8.0',
14+
'ember-source': '~4.12.0',
1515
},
1616
},
1717
},
1818
{
19-
name: 'ember-lts-4.12',
19+
name: 'ember-lts-5.4',
2020
npm: {
2121
devDependencies: {
22-
'ember-source': '~4.12.0',
22+
'ember-source': '~5.4.0',
2323
},
2424
},
2525
},

tests/helpers/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function setupApplicationTest(hooks, options) {
2323
// This is also a good place to call test setup functions coming
2424
// from other addons:
2525
//
26-
// setupIntl(hooks); // ember-intl
26+
// setupIntl(hooks, 'en-us'); // ember-intl
2727
// setupMirage(hooks); // ember-cli-mirage
2828
}
2929

tsconfig.declarations.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)