ember-cli 5.3.0 → 5.4.0
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 +19 -0
- package/RELEASE.md +46 -0
- package/bin/ember +0 -0
- package/blueprints/addon/additional-package.json +1 -1
- package/blueprints/addon/files/.github/workflows/ci.yml +6 -7
- package/blueprints/addon/files/.travis.yml +1 -2
- package/blueprints/addon/files/README.md +3 -3
- package/blueprints/addon/files/addon-config/ember-try.js +0 -8
- package/blueprints/addon/index.js +6 -6
- package/blueprints/app/files/.ember-cli +0 -8
- package/blueprints/app/files/.github/workflows/ci.yml +2 -2
- package/blueprints/app/files/.travis.yml +1 -1
- package/blueprints/app/files/package.json +50 -50
- package/blueprints/app/index.js +5 -5
- package/blueprints/http-mock/index.js +0 -1
- package/blueprints/http-proxy/index.js +0 -1
- package/blueprints/in-repo-addon/files/__root__/__name__/index.js +0 -0
- package/blueprints/in-repo-addon/index.js +0 -0
- package/blueprints/lib/index.js +0 -0
- package/docs/build/data.json +458 -555
- package/lib/cli/cli.js +0 -8
- package/lib/cli/index.js +4 -53
- package/lib/commands/addon.js +5 -2
- package/lib/commands/init.js +17 -13
- package/lib/commands/install.js +8 -7
- package/lib/commands/new.js +6 -5
- package/lib/models/blueprint.js +1 -2
- package/lib/models/command.js +44 -50
- package/lib/models/watcher.js +0 -21
- package/lib/tasks/addon-install.js +1 -6
- package/lib/tasks/build-watch.js +0 -1
- package/lib/tasks/build.js +1 -21
- package/lib/tasks/generate-from-blueprint.js +0 -1
- package/lib/tasks/install-blueprint.js +0 -1
- package/lib/tasks/interactive-new.js +1 -1
- package/lib/tasks/npm-install.js +1 -2
- package/lib/tasks/npm-task.js +3 -6
- package/lib/tasks/serve.js +0 -3
- package/lib/tasks/server/express-server.js +0 -2
- package/lib/tasks/server/livereload-server.js +1 -12
- package/lib/utilities/get-lang-arg.js +3 -4
- package/lib/utilities/lint-fix.js +1 -2
- package/lib/utilities/package-managers.js +47 -0
- package/package.json +3 -7
- package/tests/helpers/acceptance.js +1 -1
- package/tests/helpers/ember.js +1 -4
- package/lib/utilities/get-package-manager-from-flags.js +0 -38
- package/lib/utilities/is-pnpm-project.js +0 -27
- package/lib/utilities/is-yarn-project.js +0 -26
- package/tests/helpers/mock-analytics.js +0 -23
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# ember-cli Changelog
|
|
2
2
|
|
|
3
|
+
## v5.4.0
|
|
4
|
+
|
|
5
|
+
#### Blueprint Changes
|
|
6
|
+
|
|
7
|
+
- [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v5.3.0...v5.4.0)
|
|
8
|
+
- [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v5.3.0...v5.4.0)
|
|
9
|
+
|
|
10
|
+
#### Changelog
|
|
11
|
+
|
|
12
|
+
- [#10388](https://github.com/ember-cli/ember-cli/pull/10388) [CLEANUP] Drop support for Node v16 [@Shishouille](https://github.com/Shishouille)
|
|
13
|
+
- [#10345](https://github.com/ember-cli/ember-cli/pull/10345) [BUGFIX beta] App blueprint may not have explicit-any in ember-data types [@NullVoxPopuli](https://github.com/NullVoxPopuli)
|
|
14
|
+
- [#10351](https://github.com/ember-cli/ember-cli/pull/10351) [ENHANCEMENT] Remove `ember-lts-4.4` scenario from `addon` blueprint [@bertdeblock](https://github.com/bertdeblock)
|
|
15
|
+
- [#10352](https://github.com/ember-cli/ember-cli/pull/10352) [ENHANCEMENT] Add official support for Node.js v20 [@bertdeblock](https://github.com/bertdeblock)
|
|
16
|
+
- [#10353](https://github.com/ember-cli/ember-cli/pull/10353) [ENHANCEMENT] Remove all telemetry [@bertdeblock](https://github.com/bertdeblock)
|
|
17
|
+
- [#10354](https://github.com/ember-cli/ember-cli/pull/10354) [INTERNAL] Remove `@babel/core` as a dependency [@bertdeblock](https://github.com/bertdeblock)
|
|
18
|
+
- [#10368](https://github.com/ember-cli/ember-cli/pull/10368) [ENHANCEMENT] Streamline package-manager CLI options [@bertdeblock](https://github.com/bertdeblock)
|
|
19
|
+
|
|
20
|
+
Thank you to all who took the time to contribute!
|
|
21
|
+
|
|
3
22
|
## v5.3.0
|
|
4
23
|
|
|
5
24
|
#### Blueprint Changes
|
package/RELEASE.md
CHANGED
|
@@ -173,3 +173,49 @@ git checkout master
|
|
|
173
173
|
git merge origin/beta
|
|
174
174
|
git push origin master
|
|
175
175
|
```
|
|
176
|
+
|
|
177
|
+
## Post-release Automation
|
|
178
|
+
|
|
179
|
+
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".
|
|
180
|
+
After release, make sure that all the jobs are "green" / succeeded.
|
|
181
|
+
|
|
182
|
+
<details><summary>What to check afterwards</summary>
|
|
183
|
+
|
|
184
|
+
- Apps: https://github.com/ember-cli/ember-app-output
|
|
185
|
+
- Addons: https://github.com/ember-cli/ember-addon-output
|
|
186
|
+
|
|
187
|
+
Both of these have a git-tag per release version
|
|
188
|
+
|
|
189
|
+
### Online Editors
|
|
190
|
+
|
|
191
|
+
Multiple editors could be supported, but right now, we only "customize" for stackblitz.
|
|
192
|
+
|
|
193
|
+
https://github.com/ember-cli/editor-output/
|
|
194
|
+
- [a branch for each scenario + release version](https://github.com/ember-cli/editor-output/branches/active)
|
|
195
|
+
- `${editorName}-{addon,app}-output{-'typescript'?}{-version}`
|
|
196
|
+
- and the "latest release" (non beta) will not have a version at the end
|
|
197
|
+
- This includes [app, addon] X [javascript, typescript]
|
|
198
|
+
|
|
199
|
+
#### StackBlitz
|
|
200
|
+
|
|
201
|
+
To make sure StackBlitz runs in their supported browsers (Chrome and FireFox, as of 2023-08-15)
|
|
202
|
+
|
|
203
|
+
- App + JS: https://stackblitz.com/github/ember-cli/editor-output/tree/stackblitz-app-output
|
|
204
|
+
- App + TS: https://stackblitz.com/github/ember-cli/editor-output/tree/stackblitz-app-output-typescript
|
|
205
|
+
- Addon + JS: https://stackblitz.com/github/ember-cli/editor-output/tree/stackblitz-addon-output
|
|
206
|
+
- Addon + TS: https://stackblitz.com/github/ember-cli/editor-output/tree/stackblitz-addon-output-typescript
|
|
207
|
+
|
|
208
|
+
The App + JS, and App + TS are linked from Stackblitz's frontend templates UI: https://stackblitz.com/?starters=frontend
|
|
209
|
+
|
|
210
|
+
</details>
|
|
211
|
+
|
|
212
|
+
<details><summary>if problems arise</summary>
|
|
213
|
+
|
|
214
|
+
Script for updating addon/app repos: https://github.com/ember-cli/ember-cli/blob/master/dev/update-output-repos.js
|
|
215
|
+
Script for updating editors: https://github.com/ember-cli/ember-cli/blob/master/dev/update-editor-output-repos.js
|
|
216
|
+
|
|
217
|
+
Customizations on top of the default blueprint(s) are found here: https://github.com/ember-cli/ember-cli/tree/master/dev/online-editors/stackblitz
|
|
218
|
+
The intent for these customizations is to either be very light, or not needed at all.
|
|
219
|
+
If an online editor breaks with our default blueprint, then it's most likely that _we_ have a bug (or something _very goofy_).
|
|
220
|
+
|
|
221
|
+
</details>
|
package/bin/ember
CHANGED
|
File without changes
|
|
@@ -21,11 +21,11 @@ jobs:
|
|
|
21
21
|
- uses: actions/checkout@v3<% if (pnpm) { %>
|
|
22
22
|
- uses: wyvox/action-setup-pnpm@v2
|
|
23
23
|
with:
|
|
24
|
-
node-version:
|
|
24
|
+
node-version: 18<% } else { %>
|
|
25
25
|
- name: Install Node
|
|
26
26
|
uses: actions/setup-node@v3
|
|
27
27
|
with:
|
|
28
|
-
node-version:
|
|
28
|
+
node-version: 18
|
|
29
29
|
cache: <%= yarn ? 'yarn' : 'npm' %>
|
|
30
30
|
- name: Install Dependencies
|
|
31
31
|
run: <%= yarn ? 'yarn install --frozen-lockfile' : 'npm ci' %><% } %>
|
|
@@ -43,11 +43,11 @@ jobs:
|
|
|
43
43
|
- uses: actions/checkout@v3<% if (pnpm) { %>
|
|
44
44
|
- uses: wyvox/action-setup-pnpm@v2
|
|
45
45
|
with:
|
|
46
|
-
node-version:
|
|
46
|
+
node-version: 18
|
|
47
47
|
no-lockfile: true<% } else { %>
|
|
48
48
|
- uses: actions/setup-node@v3
|
|
49
49
|
with:
|
|
50
|
-
node-version:
|
|
50
|
+
node-version: 18
|
|
51
51
|
cache: <%= yarn ? 'yarn' : 'npm' %>
|
|
52
52
|
- name: Install Dependencies
|
|
53
53
|
run: <%= yarn ? 'yarn install --no-lockfile' : 'npm install --no-shrinkwrap' %><% } %>
|
|
@@ -64,7 +64,6 @@ jobs:
|
|
|
64
64
|
fail-fast: false
|
|
65
65
|
matrix:
|
|
66
66
|
try-scenario:
|
|
67
|
-
- ember-lts-4.4
|
|
68
67
|
- ember-lts-4.8
|
|
69
68
|
- ember-lts-4.12
|
|
70
69
|
- ember-release
|
|
@@ -77,11 +76,11 @@ jobs:
|
|
|
77
76
|
- uses: actions/checkout@v3<% if (pnpm) { %>
|
|
78
77
|
- uses: wyvox/action-setup-pnpm@v2
|
|
79
78
|
with:
|
|
80
|
-
node-version:
|
|
79
|
+
node-version: 18<% } else { %>
|
|
81
80
|
- name: Install Node
|
|
82
81
|
uses: actions/setup-node@v3
|
|
83
82
|
with:
|
|
84
|
-
node-version:
|
|
83
|
+
node-version: 18
|
|
85
84
|
cache: <%= yarn ? 'yarn' : 'npm' %>
|
|
86
85
|
- name: Install Dependencies
|
|
87
86
|
run: <%= yarn ? 'yarn install --frozen-lockfile' : 'npm ci' %><% } %>
|
|
@@ -3,7 +3,7 @@ language: node_js
|
|
|
3
3
|
node_js:
|
|
4
4
|
# we recommend testing addons with the same minimum supported node version as Ember CLI
|
|
5
5
|
# so that your addon works for all apps
|
|
6
|
-
- "
|
|
6
|
+
- "18"
|
|
7
7
|
|
|
8
8
|
dist: xenial
|
|
9
9
|
|
|
@@ -51,7 +51,6 @@ jobs:
|
|
|
51
51
|
|
|
52
52
|
# we recommend new addons test the current and previous LTS
|
|
53
53
|
# as well as latest stable release (bonus points to beta/canary)
|
|
54
|
-
- env: EMBER_TRY_SCENARIO=ember-lts-4.4
|
|
55
54
|
- env: EMBER_TRY_SCENARIO=ember-lts-4.8
|
|
56
55
|
- env: EMBER_TRY_SCENARIO=ember-lts-4.12
|
|
57
56
|
- env: EMBER_TRY_SCENARIO=ember-release
|
|
@@ -8,14 +8,6 @@ module.exports = async function () {
|
|
|
8
8
|
<% if (pnpm) { %>usePnpm: true,
|
|
9
9
|
<% } else if (yarn) { %>useYarn: true,
|
|
10
10
|
<% } %>scenarios: [
|
|
11
|
-
{
|
|
12
|
-
name: 'ember-lts-4.4',
|
|
13
|
-
npm: {
|
|
14
|
-
devDependencies: {
|
|
15
|
-
'ember-source': '~4.4.0',
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
11
|
{
|
|
20
12
|
name: 'ember-lts-4.8',
|
|
21
13
|
npm: {
|
|
@@ -151,7 +151,7 @@ module.exports = {
|
|
|
151
151
|
let addonName = stringUtil.dasherize(addonRawName);
|
|
152
152
|
let addonNamespace = stringUtil.classify(addonRawName);
|
|
153
153
|
|
|
154
|
-
let hasOptions = options.welcome || options.
|
|
154
|
+
let hasOptions = options.welcome || options.packageManager || options.ciProvider;
|
|
155
155
|
let blueprintOptions = '';
|
|
156
156
|
if (hasOptions) {
|
|
157
157
|
let indent = `\n `;
|
|
@@ -161,8 +161,8 @@ module.exports = {
|
|
|
161
161
|
indent +
|
|
162
162
|
[
|
|
163
163
|
options.welcome && '"--welcome"',
|
|
164
|
-
options.yarn && '"--yarn"',
|
|
165
|
-
options.pnpm && '"--pnpm"',
|
|
164
|
+
options.packageManager === 'yarn' && '"--yarn"',
|
|
165
|
+
options.packageManager === 'pnpm' && '"--pnpm"',
|
|
166
166
|
options.ciProvider && `"--ci-provider=${options.ciProvider}"`,
|
|
167
167
|
options.typescript && `"--typescript"`,
|
|
168
168
|
]
|
|
@@ -180,8 +180,8 @@ module.exports = {
|
|
|
180
180
|
addonNamespace,
|
|
181
181
|
emberCLIVersion: require('../../package').version,
|
|
182
182
|
year: date.getFullYear(),
|
|
183
|
-
yarn: options.yarn,
|
|
184
|
-
pnpm: options.pnpm,
|
|
183
|
+
yarn: options.packageManager === 'yarn',
|
|
184
|
+
pnpm: options.packageManager === 'pnpm',
|
|
185
185
|
welcome: options.welcome,
|
|
186
186
|
blueprint: 'addon',
|
|
187
187
|
blueprintOptions,
|
|
@@ -201,7 +201,7 @@ module.exports = {
|
|
|
201
201
|
|
|
202
202
|
let addonFiles = walkSync(addonFilesPath, { ignore: [ignoredCITemplate] });
|
|
203
203
|
|
|
204
|
-
if (
|
|
204
|
+
if (options.packageManager !== 'pnpm') {
|
|
205
205
|
addonFiles = addonFiles.filter((file) => !file.endsWith('.npmrc'));
|
|
206
206
|
}
|
|
207
207
|
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
/**
|
|
3
|
-
Ember CLI sends analytics information by default. The data is completely
|
|
4
|
-
anonymous, but there are times when you might want to disable this behavior.
|
|
5
|
-
|
|
6
|
-
Setting `disableAnalytics` to true will prevent any data from being sent.
|
|
7
|
-
*/
|
|
8
|
-
"disableAnalytics": false,
|
|
9
|
-
|
|
10
2
|
/**
|
|
11
3
|
Setting `isTypeScriptProject` to true will force the blueprint generators to generate TypeScript
|
|
12
4
|
rather than JavaScript by default, when a TypeScript version of a given blueprint is available.
|
|
@@ -23,7 +23,7 @@ jobs:
|
|
|
23
23
|
- name: Install Node
|
|
24
24
|
uses: actions/setup-node@v3
|
|
25
25
|
with:
|
|
26
|
-
node-version:
|
|
26
|
+
node-version: 18
|
|
27
27
|
cache: <%= yarn ? 'yarn' : 'npm' %>
|
|
28
28
|
- name: Install Dependencies
|
|
29
29
|
run: <%= yarn ? 'yarn install --frozen-lockfile' : 'npm ci' %><% } %>
|
|
@@ -41,7 +41,7 @@ jobs:
|
|
|
41
41
|
- name: Install Node
|
|
42
42
|
uses: actions/setup-node@v3
|
|
43
43
|
with:
|
|
44
|
-
node-version:
|
|
44
|
+
node-version: 18
|
|
45
45
|
cache: <%= yarn ? 'yarn' : 'npm' %>
|
|
46
46
|
- name: Install Dependencies
|
|
47
47
|
run: <%= yarn ? 'yarn install --frozen-lockfile' : 'npm ci' %><% } %>
|
|
@@ -26,56 +26,56 @@
|
|
|
26
26
|
"test:ember": "ember test"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@babel/core": "^7.
|
|
29
|
+
"@babel/core": "^7.23.2",
|
|
30
30
|
"<% if (!typescript) { %>@babel/eslint-parser": "^7.22.15",
|
|
31
|
-
"@babel/plugin-proposal-decorators": "^7.
|
|
31
|
+
"@babel/plugin-proposal-decorators": "^7.23.2",
|
|
32
32
|
"<% } %>@ember/optional-features": "^2.0.0",
|
|
33
33
|
"@ember/string": "^3.1.1",
|
|
34
34
|
"@ember/test-helpers": "^3.2.0<% if (embroider) { %>",
|
|
35
|
-
"@embroider/compat": "^3.2.
|
|
36
|
-
"@embroider/core": "^3.
|
|
37
|
-
"@embroider/webpack": "^3.
|
|
35
|
+
"@embroider/compat": "^3.2.3",
|
|
36
|
+
"@embroider/core": "^3.3.0",
|
|
37
|
+
"@embroider/webpack": "^3.2.0<% } %>",
|
|
38
38
|
"@glimmer/component": "^1.1.2",
|
|
39
39
|
"@glimmer/tracking": "^1.1.2<% if (typescript) { %>",
|
|
40
|
-
"@glint/environment-ember-loose": "^1.1
|
|
41
|
-
"@glint/template": "^1.1
|
|
42
|
-
"@tsconfig/ember": "^3.0.
|
|
43
|
-
"@types/ember": "^4.0.
|
|
44
|
-
"@types/ember-data": "^4.4.
|
|
45
|
-
"@types/ember-data__adapter": "^4.0.
|
|
46
|
-
"@types/ember-data__model": "^4.0.
|
|
47
|
-
"@types/ember-data__serializer": "^4.0.
|
|
48
|
-
"@types/ember-data__store": "^4.0.
|
|
49
|
-
"@types/ember__application": "^4.0.
|
|
50
|
-
"@types/ember__array": "^4.0.
|
|
51
|
-
"@types/ember__component": "^4.0.
|
|
52
|
-
"@types/ember__controller": "^4.0.
|
|
53
|
-
"@types/ember__debug": "^4.0.
|
|
54
|
-
"@types/ember__destroyable": "^4.0.
|
|
55
|
-
"@types/ember__engine": "^4.0.
|
|
56
|
-
"@types/ember__error": "^4.0.
|
|
57
|
-
"@types/ember__helper": "^4.0.
|
|
58
|
-
"@types/ember__modifier": "^4.0.
|
|
59
|
-
"@types/ember__object": "^4.0.
|
|
60
|
-
"@types/ember__owner": "^4.0.
|
|
61
|
-
"@types/ember__polyfills": "^4.0.
|
|
62
|
-
"@types/ember__routing": "^4.0.
|
|
63
|
-
"@types/ember__runloop": "^4.0.
|
|
64
|
-
"@types/ember__service": "^4.0.
|
|
65
|
-
"@types/ember__string": "^3.
|
|
66
|
-
"@types/ember__template": "^4.0.
|
|
67
|
-
"@types/ember__test": "^4.0.
|
|
68
|
-
"@types/ember__utils": "^4.0.
|
|
69
|
-
"@types/qunit": "^2.19.
|
|
70
|
-
"@types/rsvp": "^4.0.
|
|
71
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
72
|
-
"@typescript-eslint/parser": "^6.
|
|
40
|
+
"@glint/environment-ember-loose": "^1.2.1",
|
|
41
|
+
"@glint/template": "^1.2.1",
|
|
42
|
+
"@tsconfig/ember": "^3.0.2",
|
|
43
|
+
"@types/ember": "^4.0.8",
|
|
44
|
+
"@types/ember-data": "^4.4.13",
|
|
45
|
+
"@types/ember-data__adapter": "^4.0.4",
|
|
46
|
+
"@types/ember-data__model": "^4.0.3",
|
|
47
|
+
"@types/ember-data__serializer": "^4.0.4",
|
|
48
|
+
"@types/ember-data__store": "^4.0.5",
|
|
49
|
+
"@types/ember__application": "^4.0.9",
|
|
50
|
+
"@types/ember__array": "^4.0.7",
|
|
51
|
+
"@types/ember__component": "^4.0.19",
|
|
52
|
+
"@types/ember__controller": "^4.0.9",
|
|
53
|
+
"@types/ember__debug": "^4.0.6",
|
|
54
|
+
"@types/ember__destroyable": "^4.0.3",
|
|
55
|
+
"@types/ember__engine": "^4.0.8",
|
|
56
|
+
"@types/ember__error": "^4.0.4",
|
|
57
|
+
"@types/ember__helper": "^4.0.4",
|
|
58
|
+
"@types/ember__modifier": "^4.0.7",
|
|
59
|
+
"@types/ember__object": "^4.0.9",
|
|
60
|
+
"@types/ember__owner": "^4.0.7",
|
|
61
|
+
"@types/ember__polyfills": "^4.0.4",
|
|
62
|
+
"@types/ember__routing": "^4.0.17",
|
|
63
|
+
"@types/ember__runloop": "^4.0.7",
|
|
64
|
+
"@types/ember__service": "^4.0.6",
|
|
65
|
+
"@types/ember__string": "^3.16.3",
|
|
66
|
+
"@types/ember__template": "^4.0.4",
|
|
67
|
+
"@types/ember__test": "^4.0.4",
|
|
68
|
+
"@types/ember__utils": "^4.0.5",
|
|
69
|
+
"@types/qunit": "^2.19.7",
|
|
70
|
+
"@types/rsvp": "^4.0.6",
|
|
71
|
+
"@typescript-eslint/eslint-plugin": "^6.9.1",
|
|
72
|
+
"@typescript-eslint/parser": "^6.9.1<% } %>",
|
|
73
73
|
"broccoli-asset-rev": "^3.0.0",
|
|
74
|
-
"concurrently": "^8.2.
|
|
74
|
+
"concurrently": "^8.2.2",
|
|
75
75
|
"ember-auto-import": "^2.6.3",
|
|
76
76
|
"ember-cli": "~<%= emberCLIVersion %>",
|
|
77
77
|
"ember-cli-app-version": "^6.0.1",
|
|
78
|
-
"ember-cli-babel": "^8.
|
|
78
|
+
"ember-cli-babel": "^8.2.0",
|
|
79
79
|
"ember-cli-clean-css": "^3.0.0",
|
|
80
80
|
"ember-cli-dependency-checker": "^3.3.2",
|
|
81
81
|
"ember-cli-htmlbars": "^6.3.0",
|
|
@@ -89,28 +89,28 @@
|
|
|
89
89
|
"ember-page-title": "^8.0.0",
|
|
90
90
|
"ember-qunit": "^8.0.1",
|
|
91
91
|
"ember-resolver": "^11.0.1",
|
|
92
|
-
"ember-source": "~5.
|
|
92
|
+
"ember-source": "~5.4.0",
|
|
93
93
|
"ember-template-lint": "^5.11.2<% if (welcome) { %>",
|
|
94
94
|
"ember-welcome-page": "^7.0.2<% } %>",
|
|
95
|
-
"eslint": "^8.
|
|
95
|
+
"eslint": "^8.52.0",
|
|
96
96
|
"eslint-config-prettier": "^9.0.0",
|
|
97
97
|
"eslint-plugin-ember": "^11.11.1",
|
|
98
|
-
"eslint-plugin-n": "^16.
|
|
99
|
-
"eslint-plugin-prettier": "^5.0.
|
|
100
|
-
"eslint-plugin-qunit": "^8.0.
|
|
98
|
+
"eslint-plugin-n": "^16.2.0",
|
|
99
|
+
"eslint-plugin-prettier": "^5.0.1",
|
|
100
|
+
"eslint-plugin-qunit": "^8.0.1",
|
|
101
101
|
"loader.js": "^4.7.0",
|
|
102
102
|
"prettier": "^3.0.3",
|
|
103
|
-
"qunit": "^2.
|
|
103
|
+
"qunit": "^2.20.0",
|
|
104
104
|
"qunit-dom": "^2.0.0",
|
|
105
|
-
"stylelint": "^15.
|
|
105
|
+
"stylelint": "^15.11.0",
|
|
106
106
|
"stylelint-config-standard": "^34.0.0",
|
|
107
107
|
"stylelint-prettier": "^4.0.2",
|
|
108
|
-
"tracked-built-ins": "^3.
|
|
108
|
+
"tracked-built-ins": "^3.3.0<% if (typescript) { %>",
|
|
109
109
|
"typescript": "^5.2.2<% } %>",
|
|
110
|
-
"webpack": "^5.
|
|
110
|
+
"webpack": "^5.89.0"
|
|
111
111
|
},
|
|
112
112
|
"engines": {
|
|
113
|
-
"node": "
|
|
113
|
+
"node": ">= 18"
|
|
114
114
|
},
|
|
115
115
|
"ember": {
|
|
116
116
|
"edition": "octane"
|
package/blueprints/app/index.js
CHANGED
|
@@ -26,7 +26,7 @@ module.exports = {
|
|
|
26
26
|
let namespace = stringUtil.classify(rawName);
|
|
27
27
|
let embroider = isExperimentEnabled('EMBROIDER') || options.embroider;
|
|
28
28
|
|
|
29
|
-
let hasOptions = !options.welcome || options.
|
|
29
|
+
let hasOptions = !options.welcome || options.packageManager || embroider || options.ciProvider;
|
|
30
30
|
let blueprintOptions = '';
|
|
31
31
|
if (hasOptions) {
|
|
32
32
|
let indent = `\n `;
|
|
@@ -36,8 +36,8 @@ module.exports = {
|
|
|
36
36
|
indent +
|
|
37
37
|
[
|
|
38
38
|
!options.welcome && '"--no-welcome"',
|
|
39
|
-
options.yarn && '"--yarn"',
|
|
40
|
-
options.pnpm && '"--pnpm"',
|
|
39
|
+
options.packageManager === 'yarn' && '"--yarn"',
|
|
40
|
+
options.packageManager === 'pnpm' && '"--pnpm"',
|
|
41
41
|
embroider && '"--embroider"',
|
|
42
42
|
options.ciProvider && `"--ci-provider=${options.ciProvider}"`,
|
|
43
43
|
options.typescript && `"--typescript"`,
|
|
@@ -53,8 +53,8 @@ module.exports = {
|
|
|
53
53
|
modulePrefix: name,
|
|
54
54
|
namespace,
|
|
55
55
|
emberCLIVersion: require('../../package').version,
|
|
56
|
-
yarn: options.yarn,
|
|
57
|
-
pnpm: options.pnpm,
|
|
56
|
+
yarn: options.packageManager === 'yarn',
|
|
57
|
+
pnpm: options.packageManager === 'pnpm',
|
|
58
58
|
welcome: options.welcome,
|
|
59
59
|
blueprint: 'app',
|
|
60
60
|
blueprintOptions,
|
|
File without changes
|
|
File without changes
|
package/blueprints/lib/index.js
CHANGED
|
File without changes
|