@ember/app-blueprint 7.1.0-alpha.3 → 7.1.0-alpha.4
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 +10 -6
- package/CHANGELOG.md +16 -0
- package/RELEASE.md +23 -4
- package/index.js +8 -4
- package/package.json +1 -1
- package/tests/arguments.test.mjs +12 -0
package/.release-plan.json
CHANGED
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"solution": {
|
|
3
3
|
"@ember/app-blueprint": {
|
|
4
|
-
"impact": "
|
|
5
|
-
"oldVersion": "7.1.0-alpha.
|
|
6
|
-
"newVersion": "7.1.0-alpha.
|
|
4
|
+
"impact": "patch",
|
|
5
|
+
"oldVersion": "7.1.0-alpha.3",
|
|
6
|
+
"newVersion": "7.1.0-alpha.4",
|
|
7
7
|
"tagName": "alpha",
|
|
8
8
|
"constraints": [
|
|
9
9
|
{
|
|
10
|
-
"impact": "
|
|
11
|
-
"reason": "Appears in changelog section :
|
|
10
|
+
"impact": "patch",
|
|
11
|
+
"reason": "Appears in changelog section :bug: Bug Fix"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"impact": "patch",
|
|
15
|
+
"reason": "Appears in changelog section :house: Internal"
|
|
12
16
|
}
|
|
13
17
|
],
|
|
14
18
|
"pkgJSONPath": "./package.json"
|
|
15
19
|
}
|
|
16
20
|
},
|
|
17
|
-
"description": "## Release (2026-04-
|
|
21
|
+
"description": "## Release (2026-04-28)\n\n* @ember/app-blueprint 7.1.0-alpha.4 (patch)\n\n#### :bug: Bug Fix\n* `@ember/app-blueprint`\n * [#272](https://github.com/ember-cli/ember-app-blueprint/pull/272) Fix an issue with the `--no-warp-drive` option ([@Windvis](https://github.com/Windvis))\n\n#### :house: Internal\n* `@ember/app-blueprint`\n * [#253](https://github.com/ember-cli/ember-app-blueprint/pull/253) Update RELEASE.md with notes from the latest release ([@mansona](https://github.com/mansona))\n\n#### Committers: 2\n- Chris Manson ([@mansona](https://github.com/mansona))\n- Sam Van Campenhout ([@Windvis](https://github.com/Windvis))\n"
|
|
18
22
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## Release (2026-04-28)
|
|
4
|
+
|
|
5
|
+
* @ember/app-blueprint 7.1.0-alpha.4 (patch)
|
|
6
|
+
|
|
7
|
+
#### :bug: Bug Fix
|
|
8
|
+
* `@ember/app-blueprint`
|
|
9
|
+
* [#272](https://github.com/ember-cli/ember-app-blueprint/pull/272) Fix an issue with the `--no-warp-drive` option ([@Windvis](https://github.com/Windvis))
|
|
10
|
+
|
|
11
|
+
#### :house: Internal
|
|
12
|
+
* `@ember/app-blueprint`
|
|
13
|
+
* [#253](https://github.com/ember-cli/ember-app-blueprint/pull/253) Update RELEASE.md with notes from the latest release ([@mansona](https://github.com/mansona))
|
|
14
|
+
|
|
15
|
+
#### Committers: 2
|
|
16
|
+
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
17
|
+
- Sam Van Campenhout ([@Windvis](https://github.com/Windvis))
|
|
18
|
+
|
|
3
19
|
## Release (2026-04-26)
|
|
4
20
|
|
|
5
21
|
* @ember/app-blueprint 7.1.0-alpha.3 (minor)
|
package/RELEASE.md
CHANGED
|
@@ -49,7 +49,8 @@ You can use [this saved search](https://github.com/ember-cli/ember-app-blueprint
|
|
|
49
49
|
- Update blueprint dependencies to latest
|
|
50
50
|
|
|
51
51
|
```
|
|
52
|
-
pnpm dlx update-blueprint-deps --ember-source latest files/package.json
|
|
52
|
+
pnpm dlx update-blueprint-deps --filter 'ember-source' --tag latest files/package.json
|
|
53
|
+
pnpm dlx update-blueprint-deps --filter '.*' package.json files/package.json
|
|
53
54
|
```
|
|
54
55
|
|
|
55
56
|
- commit this update `git commit -am "update blueprint dependencies to latest"`
|
|
@@ -70,7 +71,7 @@ You can use [this saved search](https://github.com/ember-cli/ember-app-blueprint
|
|
|
70
71
|
- Update ember-cli
|
|
71
72
|
|
|
72
73
|
```
|
|
73
|
-
pnpm dlx update-blueprint-deps --filter ember-cli --tag latest files/package.json
|
|
74
|
+
pnpm dlx update-blueprint-deps --filter ember-cli --tag latest package.json files/package.json
|
|
74
75
|
```
|
|
75
76
|
- commit this update `git commit -am "update ember-cli dependency to latest"`
|
|
76
77
|
- push and open a PR targeting `release` with a PR title like `Update ember-cli to 6.4`
|
|
@@ -103,7 +104,8 @@ You can use [this saved search](https://github.com/ember-cli/ember-app-blueprint
|
|
|
103
104
|
- Update blueprint dependencies to beta
|
|
104
105
|
|
|
105
106
|
```
|
|
106
|
-
pnpm dlx update-blueprint-deps --filter ember-source --tag beta files/package.json
|
|
107
|
+
pnpm dlx update-blueprint-deps --filter ember-source --tag beta package.json files/package.json
|
|
108
|
+
pnpm dlx update-blueprint-deps --filter '.*' package.json files/package.json
|
|
107
109
|
```
|
|
108
110
|
|
|
109
111
|
- commit this update `git commit -am "update blueprint dependencies to beta"`
|
|
@@ -133,7 +135,8 @@ You can use [this saved search](https://github.com/ember-cli/ember-app-blueprint
|
|
|
133
135
|
- Update blueprint dependencies to alpha
|
|
134
136
|
|
|
135
137
|
```
|
|
136
|
-
pnpm dlx update-blueprint-deps --filter ember-source --tag alpha files/package.json
|
|
138
|
+
pnpm dlx update-blueprint-deps --filter ember-source --tag alpha package.json files/package.json
|
|
139
|
+
pnpm dlx update-blueprint-deps --filter '.*' package.json files/package.json
|
|
137
140
|
```
|
|
138
141
|
|
|
139
142
|
- commit this update `git commit -am "update blueprint dependencies to alpha"`
|
|
@@ -147,6 +150,22 @@ You can use [this saved search](https://github.com/ember-cli/ember-app-blueprint
|
|
|
147
150
|
- Merge the `Prepare Alpha Release` when you are ready to release the next alpha version
|
|
148
151
|
- Check the `Release Alpha` GitHub action to make sure the release succeeded
|
|
149
152
|
|
|
153
|
+
### Update all packages
|
|
154
|
+
|
|
155
|
+
In the `update-blueprint-deps` steps described above we updated all packages that had in-range updates available. We also need to apply any out-of-range updates as part of the release process.
|
|
156
|
+
|
|
157
|
+
Once the Alpha release has been completed we should run the following command to see if there are any releases that have out-of-range updates available:
|
|
158
|
+
|
|
159
|
+
```
|
|
160
|
+
pnpm dlx update-blueprint-deps --filter '.*' --tag latest package.json files/package.json
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
This is not intended to be committed and opened as a single PR, it is for illustrative purposes only. If your git diff shows that there are any packages that need to have the range updated (i.e. we have a `^` dependency defined but there is a new major release available) then you should run the same command to update that package with a filter on the package name e.g.
|
|
164
|
+
|
|
165
|
+
```
|
|
166
|
+
pnpm dlx update-blueprint-deps --filter 'walk-sync' --tag latest package.json files/package.json
|
|
167
|
+
```
|
|
168
|
+
|
|
150
169
|
|
|
151
170
|
### Release ember-cli and update ember-cli versions
|
|
152
171
|
|
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
|
|