ember-cli 6.5.0 → 6.6.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +61 -14
- package/RELEASE.md +145 -1
- package/blueprints/addon/index.js +1 -3
- package/blueprints/app/files/.ember-cli +1 -13
- package/blueprints/app/files/package.json +26 -27
- package/blueprints/app/files/tsconfig.json +1 -1
- package/blueprints/app/index.js +0 -7
- package/docs/build/data.json +7 -7
- package/lib/commands/addon.js +0 -6
- package/lib/commands/init.js +0 -6
- package/lib/commands/new.js +0 -6
- package/lib/utilities/will-interrupt-process.js +13 -2
- package/package.json +11 -2
- package/blueprints/app/files/app/templates/_js_application.gjs +0 -15
- package/blueprints/app/files/app/templates/_ts_application.gts +0 -15
- package/tests/helpers/mk-tmp-dir-in.js +0 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,32 +1,79 @@
|
|
|
1
1
|
# ember-cli Changelog
|
|
2
2
|
|
|
3
|
-
## Release (2025-06-
|
|
3
|
+
## Release (2025-06-11)
|
|
4
4
|
|
|
5
|
-
* ember-cli 6.
|
|
5
|
+
* ember-cli 6.6.0-alpha.3 (patch)
|
|
6
|
+
|
|
7
|
+
#### :house: Internal
|
|
8
|
+
* `ember-cli`
|
|
9
|
+
* [#10713](https://github.com/ember-cli/ember-cli/pull/10713) make sure alphas releases are set as prerelease ([@mansona](https://github.com/mansona))
|
|
10
|
+
|
|
11
|
+
#### Committers: 1
|
|
12
|
+
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
13
|
+
|
|
14
|
+
## Release (2025-06-11)
|
|
15
|
+
|
|
16
|
+
* ember-cli 6.6.0-alpha.2 (minor)
|
|
6
17
|
|
|
7
18
|
#### :rocket: Enhancement
|
|
8
19
|
* `ember-cli`
|
|
9
|
-
* [#
|
|
10
|
-
* [#
|
|
20
|
+
* [#10701](https://github.com/ember-cli/ember-cli/pull/10701) [ENHANCEMENT] Support Bun ([@hexadecy](https://github.com/hexadecy))
|
|
21
|
+
* [#10664](https://github.com/ember-cli/ember-cli/pull/10664) [ENHANCEMENT] Remove ember-fetch ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
|
|
11
22
|
|
|
12
23
|
#### :bug: Bug Fix
|
|
13
24
|
* `ember-cli`
|
|
14
|
-
* [#
|
|
25
|
+
* [#10711](https://github.com/ember-cli/ember-cli/pull/10711) fix yuidoc generation on publish ([@mansona](https://github.com/mansona))
|
|
26
|
+
* [#10710](https://github.com/ember-cli/ember-cli/pull/10710) make sure we release alpha with release-plan ([@mansona](https://github.com/mansona))
|
|
27
|
+
* [#10702](https://github.com/ember-cli/ember-cli/pull/10702) [Bugfix]: Update ember-data and unify the versions between @ and non-@ ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
|
|
15
28
|
|
|
16
29
|
#### :house: Internal
|
|
17
30
|
* `ember-cli`
|
|
18
|
-
* [#
|
|
19
|
-
* [#
|
|
20
|
-
* [#
|
|
21
|
-
* [#10718](https://github.com/ember-cli/ember-cli/pull/10718) Prepare Beta Release v6.5.0-beta.2 ([@github-actions[bot]](https://github.com/apps/github-actions))
|
|
22
|
-
* [#10717](https://github.com/ember-cli/ember-cli/pull/10717) pass --publish-branch to release-plan publish ([@mansona](https://github.com/mansona))
|
|
23
|
-
* [#10716](https://github.com/ember-cli/ember-cli/pull/10716) Prepare Beta Release v6.5.0-beta.1 ([@github-actions[bot]](https://github.com/apps/github-actions))
|
|
24
|
-
* [#10715](https://github.com/ember-cli/ember-cli/pull/10715) [Backport beta]: Set up release-plan ([@mansona](https://github.com/mansona))
|
|
31
|
+
* [#10709](https://github.com/ember-cli/ember-cli/pull/10709) Prepare Alpha Release v6.6.0-alpha.1 ([@github-actions[bot]](https://github.com/apps/github-actions))
|
|
32
|
+
* [#10699](https://github.com/ember-cli/ember-cli/pull/10699) Start using release-plan for releasing ember-cli ([@mansona](https://github.com/mansona))
|
|
33
|
+
* [#10670](https://github.com/ember-cli/ember-cli/pull/10670) testing: don't generate temp directories in the repo ([@mansona](https://github.com/mansona))
|
|
25
34
|
|
|
26
|
-
#### Committers:
|
|
35
|
+
#### Committers: 4
|
|
27
36
|
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
37
|
+
- Michel Couillard ([@hexadecy](https://github.com/hexadecy))
|
|
38
|
+
- [@NullVoxPopuli](https://github.com/NullVoxPopuli)
|
|
28
39
|
- [@github-actions[bot]](https://github.com/apps/github-actions)
|
|
29
|
-
|
|
40
|
+
|
|
41
|
+
## Release (2025-06-11)
|
|
42
|
+
|
|
43
|
+
* ember-cli 6.6.0-alpha.1 (minor)
|
|
44
|
+
|
|
45
|
+
#### :rocket: Enhancement
|
|
46
|
+
* `ember-cli`
|
|
47
|
+
* [#10701](https://github.com/ember-cli/ember-cli/pull/10701) [ENHANCEMENT] Support Bun ([@hexadecy](https://github.com/hexadecy))
|
|
48
|
+
* [#10664](https://github.com/ember-cli/ember-cli/pull/10664) [ENHANCEMENT] Remove ember-fetch ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
|
|
49
|
+
|
|
50
|
+
#### :bug: Bug Fix
|
|
51
|
+
* `ember-cli`
|
|
52
|
+
* [#10710](https://github.com/ember-cli/ember-cli/pull/10710) make sure we release alpha with release-plan ([@mansona](https://github.com/mansona))
|
|
53
|
+
* [#10702](https://github.com/ember-cli/ember-cli/pull/10702) [Bugfix]: Update ember-data and unify the versions between @ and non-@ ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
|
|
54
|
+
|
|
55
|
+
#### :house: Internal
|
|
56
|
+
* `ember-cli`
|
|
57
|
+
* [#10699](https://github.com/ember-cli/ember-cli/pull/10699) Start using release-plan for releasing ember-cli ([@mansona](https://github.com/mansona))
|
|
58
|
+
* [#10670](https://github.com/ember-cli/ember-cli/pull/10670) testing: don't generate temp directories in the repo ([@mansona](https://github.com/mansona))
|
|
59
|
+
|
|
60
|
+
#### Committers: 3
|
|
61
|
+
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
62
|
+
- Michel Couillard ([@hexadecy](https://github.com/hexadecy))
|
|
63
|
+
- [@NullVoxPopuli](https://github.com/NullVoxPopuli)
|
|
64
|
+
|
|
65
|
+
## v6.5.0-beta.0
|
|
66
|
+
|
|
67
|
+
#### Blueprint Changes
|
|
68
|
+
|
|
69
|
+
- [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v6.4.0...v6.5.0-beta.0)
|
|
70
|
+
- [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v6.4.0...v6.5.0-beta.0)
|
|
71
|
+
|
|
72
|
+
#### Changelog
|
|
73
|
+
|
|
74
|
+
- [#10684](https://github.com/ember-cli/ember-cli/pull/10684) [BUGFIX] Remove deprecated `@types/eslint__js` dependency from `app` blueprint [@gvdp](https://github.com/gvdp)
|
|
75
|
+
|
|
76
|
+
Thank you to all who took the time to contribute!
|
|
30
77
|
|
|
31
78
|
## v6.4.0
|
|
32
79
|
|
package/RELEASE.md
CHANGED
|
@@ -1,3 +1,147 @@
|
|
|
1
1
|
# Release Process
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> [!WARNING]
|
|
4
|
+
> This release process is currently changing and is making its way from the `master` branch to `beta` and `release` as part of the normal release train. Be careful following this document over the next 12 weeks.
|
|
5
|
+
> As of time of writing release-plan is only being used for the master branch and the instructions below are for illustrative purposes only
|
|
6
|
+
|
|
7
|
+
`ember-cli` follows the same channel based release process that Ember does:
|
|
8
|
+
|
|
9
|
+
* `release` - This branch represents the `latest` dist-tag on NPM
|
|
10
|
+
* `beta` - This branch represents the `beta` dist-tag on NPM
|
|
11
|
+
* `master` - The branch represents the `alpha` dist-tag on NPM
|
|
12
|
+
|
|
13
|
+
Most changes should be made as a PR that targets the `master` branch and make their way through `beta` and `release` over the course of 12 weeks as part of the Ember release train. Generally speaking we do not backport functional changes to `beta` or `release` but we can if needs be.
|
|
14
|
+
|
|
15
|
+
This release process is managed by [release-plan](https://github.com/embroider-build/release-plan) which means that all changes should be made as a pull request to make sure it is captured in the changelog.
|
|
16
|
+
|
|
17
|
+
## Release process overview
|
|
18
|
+
|
|
19
|
+
During the release week each of the versions are effectively "promoted" i.e. the current `beta` version is released as `latest`, the current `alpha` version is released as `beta` and a **new** `alpha` version is created. This requires PRs to each of the active branches to update ember-source (and potentially ember-data) versions. Each of those PRs that update dependencies should be marked as `enhancement` if we are releasing a minor version.
|
|
20
|
+
|
|
21
|
+
The release process during release week should look like this:
|
|
22
|
+
|
|
23
|
+
- Do an intial stable release from the `release` branch
|
|
24
|
+
- Merge `release` into `beta`
|
|
25
|
+
- Do a `beta` release
|
|
26
|
+
- Merge `beta` into `master`
|
|
27
|
+
- Do an `alpha` release
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Initial Stable Release from the `release` branch
|
|
32
|
+
|
|
33
|
+
- fetch latest from origin `git fetch`
|
|
34
|
+
- create a new branch to do the release e.g. `git checkout -B release-plan-6-4 origin/release`
|
|
35
|
+
- note: branches named like `release-6-4` are used to manage LTS patch releases so we don't want to create a branch with that name at this time
|
|
36
|
+
- Update blueprint dependencies to latest
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
node ./dev/update-blueprint-dependencies.js --ember-source=latest --ember-data=latest
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
- push and open a PR targeting `release`
|
|
43
|
+
- mark this PR as an `enhancement` if it is a minor release
|
|
44
|
+
- check that everything is ok
|
|
45
|
+
- merge branch
|
|
46
|
+
- check that the `Prepare Release` PR has been correctly opened by `release-plan`
|
|
47
|
+
- Merge the `Prepare Release` branch when you are ready to release
|
|
48
|
+
- Check the `Release Stable` GitHub action to make sure the release succeeded
|
|
49
|
+
|
|
50
|
+
### Beta release from the `beta` branch
|
|
51
|
+
|
|
52
|
+
- fetch latest from origin `git fetch`
|
|
53
|
+
- create a new branch to merge `release` into `beta` e.g. `git checkout -B merge-release origin/beta`
|
|
54
|
+
- merge release into this new branch e.g. `git merge origin/release --no-ff`
|
|
55
|
+
- Update blueprint dependencies to beta
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
node ./dev/update-blueprint-dependencies.js --ember-source=beta --ember-data=beta
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
- push and open a PR targeting `beta`
|
|
62
|
+
- mark this PR as an `enchancement` if the next beta is a minor release
|
|
63
|
+
- check that everything is ok i.e. CI passes
|
|
64
|
+
- merge the `merge-release` branch into `beta` in GitHub
|
|
65
|
+
- check that the `Prepare Beta Release` PR has been correctly opened by `release-plan`
|
|
66
|
+
- note: the release-plan config will automatically make this version a pre-release
|
|
67
|
+
- Merge the `Prepare Beta Release` when you are ready to release the next beta version
|
|
68
|
+
- Check the `Release Beta` GitHub action to make sure the release succeeded
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
### Alpha release from the `master` branch
|
|
72
|
+
|
|
73
|
+
- fetch latest from origin `git fetch`
|
|
74
|
+
- create a new branch to merge `beta` into `master` e.g. `git checkout -B merge-beta origin/master`
|
|
75
|
+
- merge release into this new branch e.g. `git merge origin/beta --no-ff`
|
|
76
|
+
- Update blueprint dependencies to alpha
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
node ./dev/update-blueprint-dependencies.js --ember-source=alpha --ember-data=canary
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
- push and open a PR targeting `master`
|
|
83
|
+
- mark this PR as an `enchancement` if the next alpha is a minor release
|
|
84
|
+
- check that everything is ok i.e. CI passes
|
|
85
|
+
- merge the `merge-beta` branch into `master` in GitHub
|
|
86
|
+
- check that the `Prepare Alpha Release` PR has been correctly opened by `release-plan`
|
|
87
|
+
- note: the release-plan config will automatically make this version a pre-release
|
|
88
|
+
- Merge the `Prepare Alpha Release` when you are ready to release the next alpha version
|
|
89
|
+
- Check the `Release Alpha` GitHub action to make sure the release succeeded
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
## Changelog updates
|
|
93
|
+
|
|
94
|
+
`release-plan` is designed to automatically generate a Changelog that includes the titles of every PR that was merged since the last release. As we would like to make use of this auto-generated Changelog we need to make sure that PRs are named correctly and the Changelog included in the "Prepare Release" PRs are what we were expecting.
|
|
95
|
+
|
|
96
|
+
If you want to change the content of the Changelog then you should update the PR titles you want to update and re-run the `Prepare Release` CI job for that branch
|
|
97
|
+
|
|
98
|
+
## Patch Releases
|
|
99
|
+
|
|
100
|
+
Now that we're using release-plan for all releases, patch releases have become super easy! Every time you merge a PR to any branch that is being released with `release-plan` a new `Prepare Release` PR will be created. When you merge this `Prepare Release` branch it will automatically release the new Patch version.
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
## Post-release Automation
|
|
104
|
+
|
|
105
|
+
There is a GitHub Actions workflow, https://github.com/ember-cli/ember-cli/actions/workflows/sync-output-repos.yml that pushes various invocations of the blueprint generator to "output repos".
|
|
106
|
+
After release, make sure that all the jobs are "green" / succeeded.
|
|
107
|
+
|
|
108
|
+
<details><summary>What to check afterwards</summary>
|
|
109
|
+
|
|
110
|
+
- Apps: https://github.com/ember-cli/ember-app-output
|
|
111
|
+
- Addons: https://github.com/ember-cli/ember-addon-output
|
|
112
|
+
|
|
113
|
+
Both of these have a git-tag per release version
|
|
114
|
+
|
|
115
|
+
### Online Editors
|
|
116
|
+
|
|
117
|
+
Multiple editors could be supported, but right now, we only "customize" for stackblitz.
|
|
118
|
+
|
|
119
|
+
https://github.com/ember-cli/editor-output/
|
|
120
|
+
- [a branch for each scenario + release version](https://github.com/ember-cli/editor-output/branches/active)
|
|
121
|
+
- `${editorName}-{addon,app}-output{-'typescript'?}{-version}`
|
|
122
|
+
- and the "latest release" (non beta) will not have a version at the end
|
|
123
|
+
- This includes [app, addon] X [javascript, typescript]
|
|
124
|
+
|
|
125
|
+
#### StackBlitz
|
|
126
|
+
|
|
127
|
+
To make sure StackBlitz runs in their supported browsers (Chrome and FireFox, as of 2023-08-15)
|
|
128
|
+
|
|
129
|
+
- App + JS: https://stackblitz.com/github/ember-cli/editor-output/tree/stackblitz-app-output
|
|
130
|
+
- App + TS: https://stackblitz.com/github/ember-cli/editor-output/tree/stackblitz-app-output-typescript
|
|
131
|
+
- Addon + JS: https://stackblitz.com/github/ember-cli/editor-output/tree/stackblitz-addon-output
|
|
132
|
+
- Addon + TS: https://stackblitz.com/github/ember-cli/editor-output/tree/stackblitz-addon-output-typescript
|
|
133
|
+
|
|
134
|
+
The App + JS, and App + TS are linked from Stackblitz's frontend templates UI: https://stackblitz.com/?starters=frontend
|
|
135
|
+
|
|
136
|
+
</details>
|
|
137
|
+
|
|
138
|
+
<details><summary>if problems arise</summary>
|
|
139
|
+
|
|
140
|
+
Script for updating addon/app repos: https://github.com/ember-cli/ember-cli/blob/master/dev/update-output-repos.js
|
|
141
|
+
Script for updating editors: https://github.com/ember-cli/ember-cli/blob/master/dev/update-editor-output-repos.js
|
|
142
|
+
|
|
143
|
+
Customizations on top of the default blueprint(s) are found here: https://github.com/ember-cli/ember-cli/tree/master/dev/online-editors/stackblitz
|
|
144
|
+
The intent for these customizations is to either be very light, or not needed at all.
|
|
145
|
+
If an online editor breaks with our default blueprint, then it's most likely that _we_ have a bug (or something _very goofy_).
|
|
146
|
+
|
|
147
|
+
</details>
|
|
@@ -79,7 +79,6 @@ module.exports = {
|
|
|
79
79
|
delete contents.devDependencies[depName];
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
delete contents.devDependencies['ember-fetch'];
|
|
83
82
|
|
|
84
83
|
// Per RFC #811, addons should not have this dependency.
|
|
85
84
|
// @see https://github.com/emberjs/rfcs/blob/master/text/0811-element-modifiers.md#detailed-design
|
|
@@ -94,7 +93,7 @@ module.exports = {
|
|
|
94
93
|
|
|
95
94
|
// add scripts to build type declarations for TypeScript addons
|
|
96
95
|
if (this.options.typescript) {
|
|
97
|
-
contents.devDependencies.rimraf = '^5.0.
|
|
96
|
+
contents.devDependencies.rimraf = '^5.0.1';
|
|
98
97
|
|
|
99
98
|
contents.scripts.prepack = 'tsc --project tsconfig.declarations.json';
|
|
100
99
|
contents.scripts.postpack = 'rimraf declarations';
|
|
@@ -246,7 +245,6 @@ module.exports = {
|
|
|
246
245
|
emberData: options.emberData,
|
|
247
246
|
ciProvider: options.ciProvider,
|
|
248
247
|
typescript: options.typescript,
|
|
249
|
-
strict: options.strict,
|
|
250
248
|
packageManager: options.packageManager ?? 'npm',
|
|
251
249
|
};
|
|
252
250
|
},
|
|
@@ -3,17 +3,5 @@
|
|
|
3
3
|
Setting `isTypeScriptProject` to true will force the blueprint generators to generate TypeScript
|
|
4
4
|
rather than JavaScript by default, when a TypeScript version of a given blueprint is available.
|
|
5
5
|
*/
|
|
6
|
-
"isTypeScriptProject": <%= typescript ? 'true' : 'false'
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
Setting `componentAuthoringFormat` to "strict" will force the blueprint generators to generate GJS
|
|
10
|
-
or GTS files for the component and the component rendering test. "loose" is the default.
|
|
11
|
-
*/
|
|
12
|
-
"componentAuthoringFormat": <%= strict ? '"strict"' : '"loose"' %>,
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
Setting `routeAuthoringFormat` to "strict" will force the blueprint generators to generate GJS
|
|
16
|
-
or GTS templates for routes. "loose" is the default
|
|
17
|
-
*/
|
|
18
|
-
"routeAuthoringFormat": <%= strict ? '"strict"' : '"loose"' %>
|
|
6
|
+
"isTypeScriptProject": <%= typescript ? 'true' : 'false' %>
|
|
19
7
|
}
|
|
@@ -28,26 +28,26 @@
|
|
|
28
28
|
"test:ember": "ember test"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@babel/core": "^7.27.
|
|
32
|
-
"@babel/eslint-parser": "^7.27.
|
|
31
|
+
"@babel/core": "^7.27.1",
|
|
32
|
+
"@babel/eslint-parser": "^7.27.1",
|
|
33
33
|
"@babel/plugin-proposal-decorators": "^7.27.1<% if (typescript && emberData) { %>",
|
|
34
|
-
"@ember-data/adapter": "~5.
|
|
35
|
-
"@ember-data/graph": "~5.
|
|
36
|
-
"@ember-data/json-api": "~5.
|
|
37
|
-
"@ember-data/legacy-compat": "~5.
|
|
38
|
-
"@ember-data/model": "~5.
|
|
39
|
-
"@ember-data/request": "~5.
|
|
40
|
-
"@ember-data/request-utils": "~5.
|
|
41
|
-
"@ember-data/serializer": "~5.
|
|
42
|
-
"@ember-data/store": "~5.
|
|
43
|
-
"@
|
|
34
|
+
"@ember-data/adapter": "~5.5.0",
|
|
35
|
+
"@ember-data/graph": "~5.5.0",
|
|
36
|
+
"@ember-data/json-api": "~5.5.0",
|
|
37
|
+
"@ember-data/legacy-compat": "~5.5.0",
|
|
38
|
+
"@ember-data/model": "~5.5.0",
|
|
39
|
+
"@ember-data/request": "~5.5.0",
|
|
40
|
+
"@ember-data/request-utils": "~5.5.0",
|
|
41
|
+
"@ember-data/serializer": "~5.5.0",
|
|
42
|
+
"@ember-data/store": "~5.5.0",
|
|
43
|
+
"@warp-drive/ember": "~5.5.0<% } %>",
|
|
44
44
|
"@ember/optional-features": "^2.2.0",
|
|
45
|
-
"@ember/test-helpers": "^5.2.
|
|
45
|
+
"@ember/test-helpers": "^5.2.1<% if (embroider) { %>",
|
|
46
46
|
"@embroider/compat": "^3.9.0",
|
|
47
47
|
"@embroider/core": "^3.5.6<% } %>",
|
|
48
|
-
"@embroider/macros": "^1.
|
|
48
|
+
"@embroider/macros": "^1.17.2<% if (embroider) { %>",
|
|
49
49
|
"@embroider/webpack": "^4.1.0<% } %>",
|
|
50
|
-
"@eslint/js": "^9.
|
|
50
|
+
"@eslint/js": "^9.25.1",
|
|
51
51
|
"@glimmer/component": "^2.0.0",
|
|
52
52
|
"@glimmer/tracking": "^1.1.2<% if (typescript) { %>",
|
|
53
53
|
"@glint/environment-ember-loose": "^1.5.2",
|
|
@@ -71,33 +71,32 @@
|
|
|
71
71
|
"ember-cli-sri": "^2.1.1",
|
|
72
72
|
"ember-cli-terser": "^4.0.2<% } %><% if (emberData) { %>",
|
|
73
73
|
"ember-data": "~5.5.0<% } %>",
|
|
74
|
-
"ember-fetch": "^8.1.2",
|
|
75
74
|
"ember-load-initializers": "^3.0.1",
|
|
76
|
-
"ember-modifier": "^4.2.
|
|
77
|
-
"ember-page-title": "^9.0.
|
|
78
|
-
"ember-qunit": "^9.0.
|
|
79
|
-
"ember-resolver": "^13.1.
|
|
80
|
-
"ember-source": "~6.5.0",
|
|
75
|
+
"ember-modifier": "^4.2.0",
|
|
76
|
+
"ember-page-title": "^9.0.1",
|
|
77
|
+
"ember-qunit": "^9.0.2",
|
|
78
|
+
"ember-resolver": "^13.1.0",
|
|
79
|
+
"ember-source": "~6.5.0-beta.1",
|
|
81
80
|
"ember-template-imports": "^4.3.0",
|
|
82
81
|
"ember-template-lint": "^6.1.0<% if (welcome) { %>",
|
|
83
82
|
"ember-welcome-page": "^7.0.2<% } %>",
|
|
84
|
-
"eslint": "^9.
|
|
83
|
+
"eslint": "^9.25.1",
|
|
85
84
|
"eslint-config-prettier": "^9.1.0",
|
|
86
85
|
"eslint-plugin-ember": "^12.5.0",
|
|
87
|
-
"eslint-plugin-n": "^17.
|
|
86
|
+
"eslint-plugin-n": "^17.17.0",
|
|
88
87
|
"eslint-plugin-qunit": "^8.1.2",
|
|
89
88
|
"globals": "^15.15.0",
|
|
90
89
|
"loader.js": "^4.7.0",
|
|
91
90
|
"prettier": "^3.5.3",
|
|
92
|
-
"prettier-plugin-ember-template-tag": "^2.0.
|
|
91
|
+
"prettier-plugin-ember-template-tag": "^2.0.5",
|
|
93
92
|
"qunit": "^2.24.1",
|
|
94
93
|
"qunit-dom": "^3.4.0",
|
|
95
|
-
"stylelint": "^16.
|
|
94
|
+
"stylelint": "^16.19.1",
|
|
96
95
|
"stylelint-config-standard": "^36.0.1",
|
|
97
96
|
"tracked-built-ins": "^3.4.0<% if (typescript) { %>",
|
|
98
97
|
"typescript": "^5.8.3",
|
|
99
|
-
"typescript-eslint": "^8.
|
|
100
|
-
"webpack": "^5.99.
|
|
98
|
+
"typescript-eslint": "^8.31.1<% } %>",
|
|
99
|
+
"webpack": "^5.99.7"
|
|
101
100
|
},
|
|
102
101
|
"engines": {
|
|
103
102
|
"node": ">= 18"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@ember-data/request-utils/unstable-preview-types",
|
|
26
26
|
"@ember-data/model/unstable-preview-types",
|
|
27
27
|
"@ember-data/serializer/unstable-preview-types",
|
|
28
|
-
"@
|
|
28
|
+
"@warp-drive/ember/unstable-preview-types",
|
|
29
29
|
"@warp-drive/core-types/unstable-preview-types<% } %>"
|
|
30
30
|
]
|
|
31
31
|
}
|
package/blueprints/app/index.js
CHANGED
|
@@ -80,7 +80,6 @@ module.exports = {
|
|
|
80
80
|
emberData: options.emberData,
|
|
81
81
|
ciProvider: options.ciProvider,
|
|
82
82
|
typescript: options.typescript,
|
|
83
|
-
strict: options.strict,
|
|
84
83
|
packageManager: options.packageManager ?? 'npm',
|
|
85
84
|
};
|
|
86
85
|
},
|
|
@@ -107,12 +106,6 @@ module.exports = {
|
|
|
107
106
|
files = files.filter((file) => !file.includes('ember-data/'));
|
|
108
107
|
}
|
|
109
108
|
|
|
110
|
-
if (options.strict) {
|
|
111
|
-
files = files.filter((file) => !file.endsWith('.hbs'));
|
|
112
|
-
} else {
|
|
113
|
-
files = files.filter((file) => !file.endsWith('.gjs') && !file.endsWith('.gts'));
|
|
114
|
-
}
|
|
115
|
-
|
|
116
109
|
this._files = files;
|
|
117
110
|
|
|
118
111
|
return this._files;
|
package/docs/build/data.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"logo": "https://ember-cli.com/assets/images/ember-cli-logo-small-dark.png",
|
|
4
4
|
"name": "ember-cli",
|
|
5
5
|
"description": "Command line tool for developing ambitious ember.js apps",
|
|
6
|
-
"version": "6.
|
|
6
|
+
"version": "6.6.0-alpha.3-master-72c14457ae"
|
|
7
7
|
},
|
|
8
8
|
"files": {
|
|
9
9
|
"lib/broccoli/default-packager.js": {
|
|
@@ -6522,7 +6522,7 @@
|
|
|
6522
6522
|
},
|
|
6523
6523
|
{
|
|
6524
6524
|
"file": "lib/utilities/will-interrupt-process.js",
|
|
6525
|
-
"line":
|
|
6525
|
+
"line": 46,
|
|
6526
6526
|
"description": "Drops all the interruption handlers and disables an ability to add new one\n\nNote: We don't call `captureExit.releaseExit() here.\nIn some rare scenarios it can lead to the hard to debug issues.\nsee: https://github.com/ember-cli/ember-cli/issues/6779#issuecomment-280940358\n\nWe can more or less feel comfortable with a captured exit because it behaves very\nsimilar to the original `exit` except of cases when we need to do cleanup before exit.",
|
|
6527
6527
|
"access": "private",
|
|
6528
6528
|
"tagname": "",
|
|
@@ -6533,7 +6533,7 @@
|
|
|
6533
6533
|
},
|
|
6534
6534
|
{
|
|
6535
6535
|
"file": "lib/utilities/will-interrupt-process.js",
|
|
6536
|
-
"line":
|
|
6536
|
+
"line": 68,
|
|
6537
6537
|
"description": "Add process interruption handler\n\nWhen the first handler is added then automatically\nsets up process interruption signals listeners",
|
|
6538
6538
|
"access": "private",
|
|
6539
6539
|
"tagname": "",
|
|
@@ -6551,7 +6551,7 @@
|
|
|
6551
6551
|
},
|
|
6552
6552
|
{
|
|
6553
6553
|
"file": "lib/utilities/will-interrupt-process.js",
|
|
6554
|
-
"line":
|
|
6554
|
+
"line": 96,
|
|
6555
6555
|
"description": "Remove process interruption handler\n\nIf there are no remaining handlers after removal\nthen clean up all the process interruption signal listeners",
|
|
6556
6556
|
"access": "private",
|
|
6557
6557
|
"tagname": "",
|
|
@@ -6569,7 +6569,7 @@
|
|
|
6569
6569
|
},
|
|
6570
6570
|
{
|
|
6571
6571
|
"file": "lib/utilities/will-interrupt-process.js",
|
|
6572
|
-
"line":
|
|
6572
|
+
"line": 121,
|
|
6573
6573
|
"description": "Sets up listeners for interruption signals\n\nWhen one of these signals is caught than raise process.exit()\nwhich enforces `capture-exit` to run registered interruption handlers",
|
|
6574
6574
|
"itemtype": "method",
|
|
6575
6575
|
"name": "setupSignalsTrap",
|
|
@@ -6578,7 +6578,7 @@
|
|
|
6578
6578
|
},
|
|
6579
6579
|
{
|
|
6580
6580
|
"file": "lib/utilities/will-interrupt-process.js",
|
|
6581
|
-
"line":
|
|
6581
|
+
"line": 139,
|
|
6582
6582
|
"description": "Removes interruption signal listeners and tears down capture-exit",
|
|
6583
6583
|
"itemtype": "method",
|
|
6584
6584
|
"name": "teardownSignalsTrap",
|
|
@@ -6587,7 +6587,7 @@
|
|
|
6587
6587
|
},
|
|
6588
6588
|
{
|
|
6589
6589
|
"file": "lib/utilities/will-interrupt-process.js",
|
|
6590
|
-
"line":
|
|
6590
|
+
"line": 154,
|
|
6591
6591
|
"description": "Suppresses \"Terminate batch job (Y/N)\" confirmation on Windows",
|
|
6592
6592
|
"itemtype": "method",
|
|
6593
6593
|
"name": "trapWindowsSignals",
|
package/lib/commands/addon.js
CHANGED
|
@@ -32,12 +32,6 @@ module.exports = NewCommand.extend({
|
|
|
32
32
|
description: 'Installs the optional default CI blueprint. Only Github Actions is supported at the moment.',
|
|
33
33
|
},
|
|
34
34
|
{ name: 'typescript', type: Boolean, default: false, description: 'Set up the addon to use TypeScript' },
|
|
35
|
-
{
|
|
36
|
-
name: 'strict',
|
|
37
|
-
type: Boolean,
|
|
38
|
-
default: false,
|
|
39
|
-
description: 'Use GJS/GTS templates by default for generated components, tests, and route templates',
|
|
40
|
-
},
|
|
41
35
|
],
|
|
42
36
|
|
|
43
37
|
anonymousOptions: ['<addon-name>'],
|
package/lib/commands/init.js
CHANGED
|
@@ -53,12 +53,6 @@ module.exports = Command.extend({
|
|
|
53
53
|
description: 'Include ember-data dependencies and configuration',
|
|
54
54
|
},
|
|
55
55
|
{ name: 'typescript', type: Boolean, default: false, description: 'Set up the app to use TypeScript' },
|
|
56
|
-
{
|
|
57
|
-
name: 'strict',
|
|
58
|
-
type: Boolean,
|
|
59
|
-
default: false,
|
|
60
|
-
description: 'Use GJS/GTS templates by default for generated components, tests, and route templates',
|
|
61
|
-
},
|
|
62
56
|
],
|
|
63
57
|
|
|
64
58
|
anonymousOptions: ['<glob-pattern>'],
|
package/lib/commands/new.js
CHANGED
|
@@ -57,12 +57,6 @@ module.exports = Command.extend({
|
|
|
57
57
|
description: 'Create a new Ember app/addon in an interactive way.',
|
|
58
58
|
},
|
|
59
59
|
{ name: 'typescript', type: Boolean, default: false, description: 'Set up the app to use TypeScript' },
|
|
60
|
-
{
|
|
61
|
-
name: 'strict',
|
|
62
|
-
type: Boolean,
|
|
63
|
-
default: false,
|
|
64
|
-
description: 'Use GJS/GTS templates by default for generated components, tests, and route templates',
|
|
65
|
-
},
|
|
66
60
|
],
|
|
67
61
|
|
|
68
62
|
anonymousOptions: ['<app-name>'],
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
// on `process.exit()` and control the final exit code.
|
|
13
13
|
|
|
14
14
|
const captureExit = require('capture-exit');
|
|
15
|
-
const EventEmitter = require('events');
|
|
16
15
|
|
|
17
16
|
const handlers = [];
|
|
18
17
|
|
|
@@ -24,7 +23,7 @@ module.exports = {
|
|
|
24
23
|
throw new Error(`process already captured at: \n\n${_processCapturedLocation.stack}`);
|
|
25
24
|
}
|
|
26
25
|
|
|
27
|
-
if (outerProcess
|
|
26
|
+
if (isEventEmitterCompatible(outerProcess) === false) {
|
|
28
27
|
throw new Error('attempt to capture bad process instance');
|
|
29
28
|
}
|
|
30
29
|
|
|
@@ -194,3 +193,15 @@ function onMessage(message) {
|
|
|
194
193
|
exit();
|
|
195
194
|
}
|
|
196
195
|
}
|
|
196
|
+
|
|
197
|
+
function isEventEmitterCompatible(obj) {
|
|
198
|
+
return (
|
|
199
|
+
Boolean(obj) &&
|
|
200
|
+
typeof obj === 'object' &&
|
|
201
|
+
typeof obj.on === 'function' &&
|
|
202
|
+
typeof obj.emit === 'function' &&
|
|
203
|
+
typeof obj.removeListener === 'function' &&
|
|
204
|
+
typeof obj.setMaxListeners === 'function' &&
|
|
205
|
+
typeof obj.exit === 'function'
|
|
206
|
+
);
|
|
207
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-cli",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.6.0-alpha.3",
|
|
4
4
|
"description": "Command line tool for developing ambitious ember.js apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -26,6 +26,14 @@
|
|
|
26
26
|
"bin": {
|
|
27
27
|
"ember": "./bin/ember"
|
|
28
28
|
},
|
|
29
|
+
"release-plan": {
|
|
30
|
+
"semverIncrementAs": {
|
|
31
|
+
"minor": "prerelease",
|
|
32
|
+
"patch": "prerelease"
|
|
33
|
+
},
|
|
34
|
+
"semverIncrementTag": "alpha",
|
|
35
|
+
"publishTag": "alpha"
|
|
36
|
+
},
|
|
29
37
|
"dependencies": {
|
|
30
38
|
"@pnpm/find-workspace-dir": "^1000.1.0",
|
|
31
39
|
"babel-remove-types": "^1.0.1",
|
|
@@ -138,6 +146,7 @@
|
|
|
138
146
|
"supertest": "^7.1.0",
|
|
139
147
|
"testdouble": "^3.18.0",
|
|
140
148
|
"tmp": "^0.2.1",
|
|
149
|
+
"tmp-promise": "^3.0.3",
|
|
141
150
|
"websocket": "^1.0.32",
|
|
142
151
|
"which": "3.0.1",
|
|
143
152
|
"yuidoc-ember-cli-theme": "^1.0.4",
|
|
@@ -148,7 +157,7 @@
|
|
|
148
157
|
},
|
|
149
158
|
"volta": {
|
|
150
159
|
"node": "18.12.0",
|
|
151
|
-
"pnpm": "
|
|
160
|
+
"pnpm": "10.12.1"
|
|
152
161
|
},
|
|
153
162
|
"publishConfig": {
|
|
154
163
|
"registry": "https://registry.npmjs.org"
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import pageTitle from 'ember-page-title/helpers/page-title';<% if (welcome) { %>
|
|
2
|
-
import WelcomePage from 'ember-welcome-page/components/welcome-page';<% } %>
|
|
3
|
-
|
|
4
|
-
<template>
|
|
5
|
-
{{pageTitle "<%= namespace %>"}}
|
|
6
|
-
<% if (welcome) { %>
|
|
7
|
-
{{outlet}}
|
|
8
|
-
|
|
9
|
-
{{! The following component displays Ember's default welcome message. }}
|
|
10
|
-
<WelcomePage />
|
|
11
|
-
{{! Feel free to remove this! }}<% } else { %>
|
|
12
|
-
<h2 id="title">Welcome to Ember</h2>
|
|
13
|
-
|
|
14
|
-
{{outlet}}<% } %>
|
|
15
|
-
</template>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import pageTitle from 'ember-page-title/helpers/page-title';<% if (welcome) { %>
|
|
2
|
-
import WelcomePage from 'ember-welcome-page/components/welcome-page';<% } %>
|
|
3
|
-
|
|
4
|
-
<template>
|
|
5
|
-
{{pageTitle "<%= namespace %>"}}
|
|
6
|
-
<% if (welcome) { %>
|
|
7
|
-
{{outlet}}
|
|
8
|
-
|
|
9
|
-
{{! The following component displays Ember's default welcome message. }}
|
|
10
|
-
<WelcomePage />
|
|
11
|
-
{{! Feel free to remove this! }}<% } else { %>
|
|
12
|
-
<h2 id="title">Welcome to Ember</h2>
|
|
13
|
-
|
|
14
|
-
{{outlet}}<% } %>
|
|
15
|
-
</template>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const fs = require('fs-extra');
|
|
4
|
-
const temp = require('temp');
|
|
5
|
-
const util = require('util');
|
|
6
|
-
|
|
7
|
-
const mkdirTemp = util.promisify(temp.mkdir);
|
|
8
|
-
|
|
9
|
-
async function mkTmpDirIn(dir) {
|
|
10
|
-
await fs.ensureDir(dir);
|
|
11
|
-
return mkdirTemp({ dir });
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
module.exports = mkTmpDirIn;
|