@ember/app-blueprint 7.0.0-alpha.2 → 7.0.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/.github/workflows/ci.yml +24 -11
- package/.release-plan.json +7 -11
- package/CHANGELOG.md +31 -26
- package/files/package.json +29 -29
- package/index.js +8 -4
- package/package.json +15 -22
- package/tests/arguments.test.mjs +12 -0
package/.github/workflows/ci.yml
CHANGED
|
@@ -25,19 +25,32 @@ jobs:
|
|
|
25
25
|
- run: pnpm install --frozen-lockfile
|
|
26
26
|
- run: pnpm lint
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
name:
|
|
28
|
+
matrix-job:
|
|
29
|
+
name: "Setup Matrix"
|
|
30
|
+
runs-on: ubuntu-latest
|
|
31
|
+
timeout-minutes: 1
|
|
32
|
+
outputs:
|
|
33
|
+
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
|
34
|
+
|
|
35
|
+
steps:
|
|
36
|
+
- uses: actions/checkout@v6
|
|
37
|
+
- uses: pnpm/action-setup@v4
|
|
38
|
+
- uses: actions/setup-node@v6
|
|
39
|
+
with:
|
|
40
|
+
node-version: 24
|
|
41
|
+
cache: 'pnpm'
|
|
42
|
+
- run: pnpm install
|
|
43
|
+
- id: set-matrix
|
|
44
|
+
run: echo "matrix=$(pnpm vitest-matrix --node 20 22 24 --os ubuntu-latest windows-latest)" >> $GITHUB_OUTPUT
|
|
45
|
+
|
|
46
|
+
tests:
|
|
47
|
+
name: ${{ matrix.name }} - Node ${{matrix.node}} - ${{matrix.os}}
|
|
30
48
|
runs-on: ${{ matrix.os }}
|
|
49
|
+
needs: "matrix-job"
|
|
31
50
|
strategy:
|
|
32
51
|
fail-fast: false
|
|
33
52
|
matrix:
|
|
34
|
-
|
|
35
|
-
- ubuntu-latest
|
|
36
|
-
- windows-latest
|
|
37
|
-
node:
|
|
38
|
-
- 20
|
|
39
|
-
- 22
|
|
40
|
-
- 24
|
|
53
|
+
include: ${{fromJson(needs.matrix-job.outputs.matrix)}}
|
|
41
54
|
|
|
42
55
|
steps:
|
|
43
56
|
- uses: actions/checkout@v4
|
|
@@ -47,9 +60,9 @@ jobs:
|
|
|
47
60
|
node-version: ${{ matrix.node }}
|
|
48
61
|
cache: pnpm
|
|
49
62
|
- name: Set TEMP to D:/Temp on windows
|
|
50
|
-
if: ${{matrix.os
|
|
63
|
+
if: ${{matrix.os == 'windows-latest'}}
|
|
51
64
|
run: |
|
|
52
65
|
mkdir "D:\\Temp"
|
|
53
66
|
echo "TEMP=D:\\Temp" >> $env:GITHUB_ENV
|
|
54
67
|
- run: pnpm install --frozen-lockfile
|
|
55
|
-
- run: pnpm
|
|
68
|
+
- run: pnpm ${{matrix.command}}
|
package/.release-plan.json
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"solution": {
|
|
3
3
|
"@ember/app-blueprint": {
|
|
4
|
-
"impact": "
|
|
5
|
-
"oldVersion": "
|
|
6
|
-
"newVersion": "7.0.0
|
|
7
|
-
"tagName": "
|
|
4
|
+
"impact": "major",
|
|
5
|
+
"oldVersion": "6.12.3",
|
|
6
|
+
"newVersion": "7.0.0",
|
|
7
|
+
"tagName": "latest",
|
|
8
8
|
"constraints": [
|
|
9
9
|
{
|
|
10
|
-
"impact": "
|
|
11
|
-
"reason": "Appears in changelog section :
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"impact": "patch",
|
|
15
|
-
"reason": "Appears in changelog section :bug: Bug Fix"
|
|
10
|
+
"impact": "major",
|
|
11
|
+
"reason": "Appears in changelog section :boom: Breaking Change"
|
|
16
12
|
},
|
|
17
13
|
{
|
|
18
14
|
"impact": "patch",
|
|
@@ -22,5 +18,5 @@
|
|
|
22
18
|
"pkgJSONPath": "./package.json"
|
|
23
19
|
}
|
|
24
20
|
},
|
|
25
|
-
"description": "## Release (2026-
|
|
21
|
+
"description": "## Release (2026-05-15)\n\n* @ember/app-blueprint 7.0.0 (major)\n\n#### :boom: Breaking Change\n* `@ember/app-blueprint`\n * [#279](https://github.com/ember-cli/ember-app-blueprint/pull/279) Promote Beta and update all dependencies for 7.0 release ([@mansona](https://github.com/mansona))\n\n#### :house: Internal\n* `@ember/app-blueprint`\n * [#249](https://github.com/ember-cli/ember-app-blueprint/pull/249) fix publish ([@mansona](https://github.com/mansona))\n\n#### Committers: 1\n- Chris Manson ([@mansona](https://github.com/mansona))\n"
|
|
26
22
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,61 +1,64 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## Release (2026-
|
|
3
|
+
## Release (2026-05-15)
|
|
4
4
|
|
|
5
|
-
* @ember/app-blueprint 7.0.0
|
|
5
|
+
* @ember/app-blueprint 7.0.0 (major)
|
|
6
6
|
|
|
7
|
-
#### :
|
|
7
|
+
#### :boom: Breaking Change
|
|
8
8
|
* `@ember/app-blueprint`
|
|
9
|
-
* [#
|
|
10
|
-
|
|
11
|
-
#### :bug: Bug Fix
|
|
12
|
-
* `@ember/app-blueprint`
|
|
13
|
-
* [#231](https://github.com/ember-cli/ember-app-blueprint/pull/231) update ember-cli dependency to latest ([@mansona](https://github.com/mansona))
|
|
14
|
-
* [#226](https://github.com/ember-cli/ember-app-blueprint/pull/226) fix decorator-transforms runtime path in babel.config.mjs ([@mansona](https://github.com/mansona))
|
|
9
|
+
* [#279](https://github.com/ember-cli/ember-app-blueprint/pull/279) Promote Beta and update all dependencies for 7.0 release ([@mansona](https://github.com/mansona))
|
|
15
10
|
|
|
16
11
|
#### :house: Internal
|
|
17
12
|
* `@ember/app-blueprint`
|
|
18
13
|
* [#249](https://github.com/ember-cli/ember-app-blueprint/pull/249) fix publish ([@mansona](https://github.com/mansona))
|
|
19
|
-
* [#234](https://github.com/ember-cli/ember-app-blueprint/pull/234) Prepare Alpha Release v7.0.0-alpha.1 ([@github-actions[bot]](https://github.com/apps/github-actions))
|
|
20
|
-
* [#228](https://github.com/ember-cli/ember-app-blueprint/pull/228) Enable patch publish ([@mansona](https://github.com/mansona))
|
|
21
14
|
|
|
22
|
-
#### Committers:
|
|
15
|
+
#### Committers: 1
|
|
23
16
|
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
24
|
-
- GitHub Actions [Bot] ([@github-actions](https://github.com/apps/github-actions))
|
|
25
17
|
|
|
26
|
-
## Release (2026-
|
|
18
|
+
## Release (2026-05-05)
|
|
27
19
|
|
|
28
|
-
* @ember/app-blueprint
|
|
20
|
+
* @ember/app-blueprint 6.12.3 (patch)
|
|
29
21
|
|
|
30
|
-
#### :
|
|
22
|
+
#### :bug: Bug Fix
|
|
31
23
|
* `@ember/app-blueprint`
|
|
32
|
-
* [#
|
|
24
|
+
* [#276](https://github.com/ember-cli/ember-app-blueprint/pull/276) [backport release] update vite to v8 and @rollup/plugin-babel to v7 ([@mansona](https://github.com/mansona))
|
|
25
|
+
|
|
26
|
+
#### Committers: 1
|
|
27
|
+
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
28
|
+
|
|
29
|
+
## Release (2026-05-05)
|
|
30
|
+
|
|
31
|
+
* @ember/app-blueprint 6.12.2 (patch)
|
|
33
32
|
|
|
34
33
|
#### :bug: Bug Fix
|
|
35
34
|
* `@ember/app-blueprint`
|
|
36
|
-
* [#
|
|
37
|
-
* [#226](https://github.com/ember-cli/ember-app-blueprint/pull/226) fix decorator-transforms runtime path in babel.config.mjs ([@mansona](https://github.com/mansona))
|
|
35
|
+
* [#274](https://github.com/ember-cli/ember-app-blueprint/pull/274) Fix an issue with the `--no-warp-drive` option ([@Windvis](https://github.com/Windvis))
|
|
38
36
|
|
|
39
|
-
#### :
|
|
37
|
+
#### Committers: 1
|
|
38
|
+
- Sam Van Campenhout ([@Windvis](https://github.com/Windvis))
|
|
39
|
+
|
|
40
|
+
## Release (2026-04-18)
|
|
41
|
+
|
|
42
|
+
* @ember/app-blueprint 6.12.1 (patch)
|
|
43
|
+
|
|
44
|
+
#### :bug: Bug Fix
|
|
40
45
|
* `@ember/app-blueprint`
|
|
41
|
-
* [#
|
|
46
|
+
* [#251](https://github.com/ember-cli/ember-app-blueprint/pull/251) update ember-cli dependency to latest ([@mansona](https://github.com/mansona))
|
|
42
47
|
|
|
43
48
|
#### Committers: 1
|
|
44
49
|
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
45
50
|
|
|
46
|
-
## Release (2026-04-
|
|
51
|
+
## Release (2026-04-09)
|
|
47
52
|
|
|
48
|
-
* @ember/app-blueprint 6.12.0
|
|
53
|
+
* @ember/app-blueprint 6.12.0 (minor)
|
|
49
54
|
|
|
50
55
|
#### :rocket: Enhancement
|
|
51
56
|
* `@ember/app-blueprint`
|
|
52
|
-
* [#
|
|
57
|
+
* [#243](https://github.com/ember-cli/ember-app-blueprint/pull/243) Promote Beta and update all dependencies for 6.12 release ([@mansona](https://github.com/mansona))
|
|
53
58
|
* [#144](https://github.com/ember-cli/ember-app-blueprint/pull/144) feat: move ember-cli-build to `mjs` ([@aklkv](https://github.com/aklkv))
|
|
54
59
|
|
|
55
60
|
#### :bug: Bug Fix
|
|
56
61
|
* `@ember/app-blueprint`
|
|
57
|
-
* [#231](https://github.com/ember-cli/ember-app-blueprint/pull/231) update ember-cli dependency to latest ([@mansona](https://github.com/mansona))
|
|
58
|
-
* [#226](https://github.com/ember-cli/ember-app-blueprint/pull/226) fix decorator-transforms runtime path in babel.config.mjs ([@mansona](https://github.com/mansona))
|
|
59
62
|
* [#215](https://github.com/ember-cli/ember-app-blueprint/pull/215) upgrade ember/optional-features to clear install deprecation warnings ([@void-mAlex](https://github.com/void-mAlex))
|
|
60
63
|
* [#119](https://github.com/ember-cli/ember-app-blueprint/pull/119) fix: align linters with recent changes in classic app blueprint ([@aklkv](https://github.com/aklkv))
|
|
61
64
|
* [#208](https://github.com/ember-cli/ember-app-blueprint/pull/208) [Bugfix release] Add `globals.browser` to eslint config for TS files ([@mkszepp](https://github.com/mkszepp))
|
|
@@ -66,6 +69,8 @@
|
|
|
66
69
|
|
|
67
70
|
#### :house: Internal
|
|
68
71
|
* `@ember/app-blueprint`
|
|
72
|
+
* [#247](https://github.com/ember-cli/ember-app-blueprint/pull/247) update node for Publish CI to a version that doesn't need to update npm ([@mansona](https://github.com/mansona))
|
|
73
|
+
* [#244](https://github.com/ember-cli/ember-app-blueprint/pull/244) split tests into individual matrix jobs ([@mansona](https://github.com/mansona))
|
|
69
74
|
* [#228](https://github.com/ember-cli/ember-app-blueprint/pull/228) Enable patch publish ([@mansona](https://github.com/mansona))
|
|
70
75
|
* [#211](https://github.com/ember-cli/ember-app-blueprint/pull/211) fix release-plan alpha tag ([@mansona](https://github.com/mansona))
|
|
71
76
|
|
package/files/package.json
CHANGED
|
@@ -32,66 +32,66 @@
|
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@babel/core": "^7.29.0",
|
|
35
|
-
"@babel/runtime": "^7.
|
|
35
|
+
"@babel/runtime": "^7.29.2",
|
|
36
36
|
"@babel/plugin-transform-runtime": "^7.29.0<% if (typescript) { %>",
|
|
37
37
|
"@babel/plugin-transform-typescript": "^7.28.6<% } %>",
|
|
38
38
|
"@babel/eslint-parser": "^7.28.6<% if (typescript) { %>",
|
|
39
39
|
"@ember/app-tsconfig": "^1.0.3<% } %>",
|
|
40
40
|
"@ember/optional-features": "^3.0.0",
|
|
41
41
|
"@ember/string": "^4.0.1",
|
|
42
|
-
"@ember/test-helpers": "^5.4.
|
|
42
|
+
"@ember/test-helpers": "^5.4.2",
|
|
43
43
|
"@ember/test-waiters": "^4.1.1",
|
|
44
|
-
"@embroider/macros": "^1.
|
|
45
|
-
"@embroider/core": "^4.4.
|
|
46
|
-
"@embroider/vite": "^1.
|
|
47
|
-
"@embroider/compat": "^4.1.
|
|
44
|
+
"@embroider/macros": "^1.20.2",
|
|
45
|
+
"@embroider/core": "^4.4.7",
|
|
46
|
+
"@embroider/vite": "^1.7.2",
|
|
47
|
+
"@embroider/compat": "^4.1.17",
|
|
48
48
|
"@embroider/router": "^3.0.6",
|
|
49
49
|
"@embroider/config-meta-loader": "^1.0.0",
|
|
50
50
|
"@embroider/legacy-inspector-support": "^0.1.3",
|
|
51
|
-
"@eslint/js": "^9.39.
|
|
52
|
-
"@glimmer/component": "^2.
|
|
53
|
-
"@glint/ember-tsc": "^1.
|
|
54
|
-
"@glint/template": "^1.7.
|
|
55
|
-
"@glint/tsserver-plugin": "^2.
|
|
56
|
-
"@rollup/plugin-babel": "^
|
|
51
|
+
"@eslint/js": "^9.39.4",
|
|
52
|
+
"@glimmer/component": "^2.1.1<% if (typescript) { %>",
|
|
53
|
+
"@glint/ember-tsc": "^1.5.0",
|
|
54
|
+
"@glint/template": "^1.7.7",
|
|
55
|
+
"@glint/tsserver-plugin": "^2.4.0<% } %>",
|
|
56
|
+
"@rollup/plugin-babel": "^7.0.0<% if (typescript) { %>",
|
|
57
57
|
"@types/qunit": "^2.19.13",
|
|
58
58
|
"@types/rsvp": "^4.0.9<% } %><% if (warpDrive) { %>",
|
|
59
|
-
"@warp-drive/core": "~5.8.
|
|
60
|
-
"@warp-drive/ember": "~5.8.
|
|
61
|
-
"@warp-drive/json-api": "~5.8.
|
|
62
|
-
"@warp-drive/legacy": "~5.8.
|
|
63
|
-
"@warp-drive/utilities": "~5.8.
|
|
59
|
+
"@warp-drive/core": "~5.8.2",
|
|
60
|
+
"@warp-drive/ember": "~5.8.2",
|
|
61
|
+
"@warp-drive/json-api": "~5.8.2",
|
|
62
|
+
"@warp-drive/legacy": "~5.8.2",
|
|
63
|
+
"@warp-drive/utilities": "~5.8.2<% } %>",
|
|
64
64
|
"babel-plugin-ember-template-compilation": "^3.1.0",
|
|
65
65
|
"concurrently": "^9.2.1",
|
|
66
|
-
"decorator-transforms": "^2.3.
|
|
67
|
-
"ember-cli": "~6.
|
|
66
|
+
"decorator-transforms": "^2.3.2",
|
|
67
|
+
"ember-cli": "~6.12.0",
|
|
68
68
|
"ember-cli-babel": "^8.3.1",
|
|
69
69
|
"ember-cli-deprecation-workflow": "^3.4.0",
|
|
70
70
|
"ember-load-initializers": "^3.0.1",
|
|
71
71
|
"ember-modifier": "^4.3.0",
|
|
72
72
|
"ember-page-title": "^9.0.3",
|
|
73
73
|
"ember-qunit": "^9.0.4",
|
|
74
|
-
"ember-resolver": "^13.
|
|
75
|
-
"ember-source": "~7.0.0
|
|
74
|
+
"ember-resolver": "^13.2.0",
|
|
75
|
+
"ember-source": "~7.0.0",
|
|
76
76
|
"ember-template-lint": "^7.9.3<% if (welcome) { %>",
|
|
77
77
|
"ember-welcome-page": "^8.0.5<% } %>",
|
|
78
|
-
"eslint": "^9.39.
|
|
78
|
+
"eslint": "^9.39.4",
|
|
79
79
|
"eslint-config-prettier": "^10.1.8",
|
|
80
80
|
"eslint-plugin-ember": "^12.7.5",
|
|
81
81
|
"eslint-plugin-n": "^17.24.0",
|
|
82
82
|
"eslint-plugin-qunit": "^8.2.6<% if (warpDrive) { %>",
|
|
83
|
-
"eslint-plugin-warp-drive": "^5.8.
|
|
83
|
+
"eslint-plugin-warp-drive": "^5.8.2<% } %>",
|
|
84
84
|
"globals": "^16.5.0",
|
|
85
|
-
"prettier": "^3.8.
|
|
86
|
-
"prettier-plugin-ember-template-tag": "^2.1.
|
|
85
|
+
"prettier": "^3.8.3",
|
|
86
|
+
"prettier-plugin-ember-template-tag": "^2.1.5",
|
|
87
87
|
"qunit": "^2.25.0",
|
|
88
|
-
"qunit-dom": "^3.5.
|
|
88
|
+
"qunit-dom": "^3.5.1",
|
|
89
89
|
"stylelint": "^16.26.1",
|
|
90
90
|
"stylelint-config-standard": "^38.0.0",
|
|
91
|
-
"testem": "^3.
|
|
91
|
+
"testem": "^3.20.0<% if (typescript) { %>",
|
|
92
92
|
"typescript": "^5.9.3",
|
|
93
|
-
"typescript-eslint": "^8.
|
|
94
|
-
"vite": "^
|
|
93
|
+
"typescript-eslint": "^8.59.2<% } %>",
|
|
94
|
+
"vite": "^8.0.11"
|
|
95
95
|
},
|
|
96
96
|
"engines": {
|
|
97
97
|
"node": ">= 20.19.0"
|
package/index.js
CHANGED
|
@@ -65,8 +65,13 @@ module.exports = {
|
|
|
65
65
|
let name = stringUtil.dasherize(rawName);
|
|
66
66
|
let namespace = stringUtil.classify(rawName);
|
|
67
67
|
|
|
68
|
+
const warpDrive = options.warpDrive ?? options.emberData;
|
|
69
|
+
|
|
68
70
|
let hasOptions =
|
|
69
|
-
!options.welcome ||
|
|
71
|
+
!options.welcome ||
|
|
72
|
+
options.packageManager ||
|
|
73
|
+
options.ciProvider ||
|
|
74
|
+
!warpDrive;
|
|
70
75
|
let blueprintOptions = '';
|
|
71
76
|
if (hasOptions) {
|
|
72
77
|
let indent = `\n `;
|
|
@@ -80,8 +85,7 @@ module.exports = {
|
|
|
80
85
|
options.packageManager === 'pnpm' && '"--pnpm"',
|
|
81
86
|
options.ciProvider && `"--ci-provider=${options.ciProvider}"`,
|
|
82
87
|
options.typescript && `"--typescript"`,
|
|
83
|
-
|
|
84
|
-
!options.warpDrive && `"--no-warp-drive"`,
|
|
88
|
+
warpDrive === false && `"--no-warp-drive"`,
|
|
85
89
|
]
|
|
86
90
|
.filter(Boolean)
|
|
87
91
|
.join(',\n ') +
|
|
@@ -117,7 +121,7 @@ module.exports = {
|
|
|
117
121
|
blueprint: 'app',
|
|
118
122
|
blueprintOptions,
|
|
119
123
|
lang: options.lang,
|
|
120
|
-
warpDrive
|
|
124
|
+
warpDrive,
|
|
121
125
|
ciProvider: options.ciProvider,
|
|
122
126
|
typescript: options.typescript,
|
|
123
127
|
packageManager: options.packageManager ?? 'npm',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember/app-blueprint",
|
|
3
|
-
"version": "7.0.0
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "Blueprint for next generation of Ember apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-blueprint"
|
|
@@ -12,38 +12,31 @@
|
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"author": "",
|
|
14
14
|
"main": "index.js",
|
|
15
|
-
"release-plan": {
|
|
16
|
-
"semverIncrementAs": {
|
|
17
|
-
"minor": "prerelease",
|
|
18
|
-
"patch": "prerelease"
|
|
19
|
-
},
|
|
20
|
-
"semverIncrementTag": "alpha",
|
|
21
|
-
"publishTag": "alpha"
|
|
22
|
-
},
|
|
23
15
|
"dependencies": {
|
|
24
16
|
"chalk": "^4.1.2",
|
|
25
17
|
"ejs": "^3.1.10",
|
|
26
18
|
"ember-cli-string-utils": "^1.1.0",
|
|
27
|
-
"lodash": "^4.
|
|
28
|
-
"sort-package-json": "^3.6.
|
|
19
|
+
"lodash": "^4.18.1",
|
|
20
|
+
"sort-package-json": "^3.6.1",
|
|
29
21
|
"walk-sync": "^3.0.0"
|
|
30
22
|
},
|
|
31
23
|
"devDependencies": {
|
|
32
|
-
"@eslint/js": "^9.
|
|
33
|
-
"concurrently": "^9.1
|
|
34
|
-
"ember-cli": "^6.
|
|
24
|
+
"@eslint/js": "^9.39.4",
|
|
25
|
+
"concurrently": "^9.2.1",
|
|
26
|
+
"ember-cli": "^6.12.0",
|
|
35
27
|
"eslint": "9.x",
|
|
36
|
-
"eslint-config-prettier": "^9.1.
|
|
37
|
-
"execa": "^9.1
|
|
28
|
+
"eslint-config-prettier": "^9.1.2",
|
|
29
|
+
"execa": "^9.6.1",
|
|
38
30
|
"fixturify": "^3.0.0",
|
|
39
|
-
"globals": "^15.
|
|
31
|
+
"globals": "^15.15.0",
|
|
40
32
|
"jsonc-parser": "^3.3.1",
|
|
41
|
-
"prettier": "^3.
|
|
42
|
-
"prettier-plugin-ember-template-tag": "^2.
|
|
43
|
-
"release-plan": "^0.17.
|
|
44
|
-
"strip-ansi": "^7.
|
|
33
|
+
"prettier": "^3.8.3",
|
|
34
|
+
"prettier-plugin-ember-template-tag": "^2.1.5",
|
|
35
|
+
"release-plan": "^0.17.4",
|
|
36
|
+
"strip-ansi": "^7.2.0",
|
|
45
37
|
"tmp-promise": "^3.0.3",
|
|
46
|
-
"vitest": "^4.
|
|
38
|
+
"vitest": "^4.1.5",
|
|
39
|
+
"vitest-matrix": "^0.2.0"
|
|
47
40
|
},
|
|
48
41
|
"scripts": {
|
|
49
42
|
"lint": "concurrently 'pnpm:lint:*(!fix)'",
|
package/tests/arguments.test.mjs
CHANGED
|
@@ -126,6 +126,12 @@ describe('Blueprint Arguments', function () {
|
|
|
126
126
|
|
|
127
127
|
expect(parse(files['package.json']).devDependencies['@warp-drive/core'])
|
|
128
128
|
.to.not.be.undefined;
|
|
129
|
+
|
|
130
|
+
expect(
|
|
131
|
+
parse(files.config['ember-cli-update.json'])
|
|
132
|
+
.packages.at(0)
|
|
133
|
+
.blueprints.at(0).options,
|
|
134
|
+
).to.not.include('--no-warp-drive');
|
|
129
135
|
});
|
|
130
136
|
|
|
131
137
|
it('does not add warp-drive if you pass --no-warp-drive', async function () {
|
|
@@ -133,6 +139,12 @@ describe('Blueprint Arguments', function () {
|
|
|
133
139
|
|
|
134
140
|
expect(parse(files['package.json']).devDependencies['@warp-drive/core'])
|
|
135
141
|
.to.be.undefined;
|
|
142
|
+
|
|
143
|
+
expect(
|
|
144
|
+
parse(files.config['ember-cli-update.json'])
|
|
145
|
+
.packages.at(0)
|
|
146
|
+
.blueprints.at(0).options,
|
|
147
|
+
).to.include('--no-warp-drive');
|
|
136
148
|
});
|
|
137
149
|
});
|
|
138
150
|
|