@ember/app-blueprint 6.12.1 → 6.12.2
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/.release-plan.json +3 -3
- package/CHANGELOG.md +11 -0
- package/index.js +8 -4
- package/package.json +1 -1
- package/tests/arguments.test.mjs +12 -0
package/.release-plan.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"solution": {
|
|
3
3
|
"@ember/app-blueprint": {
|
|
4
4
|
"impact": "patch",
|
|
5
|
-
"oldVersion": "6.12.
|
|
6
|
-
"newVersion": "6.12.
|
|
5
|
+
"oldVersion": "6.12.1",
|
|
6
|
+
"newVersion": "6.12.2",
|
|
7
7
|
"tagName": "latest",
|
|
8
8
|
"constraints": [
|
|
9
9
|
{
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"pkgJSONPath": "./package.json"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
|
-
"description": "## Release (2026-
|
|
17
|
+
"description": "## Release (2026-05-05)\n\n* @ember/app-blueprint 6.12.2 (patch)\n\n#### :bug: Bug Fix\n* `@ember/app-blueprint`\n * [#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))\n\n#### Committers: 1\n- Sam Van Campenhout ([@Windvis](https://github.com/Windvis))\n"
|
|
18
18
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## Release (2026-05-05)
|
|
4
|
+
|
|
5
|
+
* @ember/app-blueprint 6.12.2 (patch)
|
|
6
|
+
|
|
7
|
+
#### :bug: Bug Fix
|
|
8
|
+
* `@ember/app-blueprint`
|
|
9
|
+
* [#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))
|
|
10
|
+
|
|
11
|
+
#### Committers: 1
|
|
12
|
+
- Sam Van Campenhout ([@Windvis](https://github.com/Windvis))
|
|
13
|
+
|
|
3
14
|
## Release (2026-04-18)
|
|
4
15
|
|
|
5
16
|
* @ember/app-blueprint 6.12.1 (patch)
|
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
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
|
|