@ember/app-blueprint 7.1.0-alpha.2 → 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.
@@ -1,18 +1,22 @@
1
1
  {
2
2
  "solution": {
3
3
  "@ember/app-blueprint": {
4
- "impact": "minor",
5
- "oldVersion": "7.1.0-alpha.1",
6
- "newVersion": "7.1.0-alpha.2",
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": "minor",
11
- "reason": "Appears in changelog section :rocket: Enhancement"
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-20)\n\n* @ember/app-blueprint 7.1.0-alpha.2 (minor)\n\n#### :rocket: Enhancement\n* `@ember/app-blueprint`\n * [#260](https://github.com/ember-cli/ember-app-blueprint/pull/260) update stylelint to v17 ([@mansona](https://github.com/mansona))\n * [#264](https://github.com/ember-cli/ember-app-blueprint/pull/264) update ember-cli-deprecation-workflow to v4 ([@mansona](https://github.com/mansona))\n * [#263](https://github.com/ember-cli/ember-app-blueprint/pull/263) update vite to v8 ([@mansona](https://github.com/mansona))\n * [#262](https://github.com/ember-cli/ember-app-blueprint/pull/262) update babel-plugin-ember-template-compilation to v4 ([@mansona](https://github.com/mansona))\n * [#261](https://github.com/ember-cli/ember-app-blueprint/pull/261) update @rollup/plugin-babel to v7 ([@mansona](https://github.com/mansona))\n * [#258](https://github.com/ember-cli/ember-app-blueprint/pull/258) update typescript to v6 ([@mansona](https://github.com/mansona))\n\n#### Committers: 1\n- Chris Manson ([@mansona](https://github.com/mansona))\n"
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,33 @@
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
+
19
+ ## Release (2026-04-26)
20
+
21
+ * @ember/app-blueprint 7.1.0-alpha.3 (minor)
22
+
23
+ #### :rocket: Enhancement
24
+ * `@ember/app-blueprint`
25
+ * [#266](https://github.com/ember-cli/ember-app-blueprint/pull/266) remove chalk in favour of native styleText ([@mansona](https://github.com/mansona))
26
+ * [#267](https://github.com/ember-cli/ember-app-blueprint/pull/267) update walk-sync to v4 ([@mansona](https://github.com/mansona))
27
+
28
+ #### Committers: 1
29
+ - Chris Manson ([@mansona](https://github.com/mansona))
30
+
3
31
  ## Release (2026-04-20)
4
32
 
5
33
  * @ember/app-blueprint 7.1.0-alpha.2 (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
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const stringUtil = require('ember-cli-string-utils');
4
- const chalk = require('chalk');
4
+ const { styleText } = require('node:util');
5
5
  const directoryForPackageName = require('./lib/directory-for-package-name');
6
6
  const { sortPackageJson } = require('sort-package-json');
7
7
  const { join } = require('path');
@@ -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 || options.packageManager || options.ciProvider;
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
- !options.emberData && `"--no-ember-data"`,
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: options.warpDrive ?? options.emberData,
124
+ warpDrive,
121
125
  ciProvider: options.ciProvider,
122
126
  typescript: options.typescript,
123
127
  packageManager: options.packageManager ?? 'npm',
@@ -170,7 +174,7 @@ module.exports = {
170
174
  this.ui.writeLine(
171
175
  prependEmoji(
172
176
  '✨',
173
- `Creating a new Ember app in ${chalk.yellow(process.cwd())}:`,
177
+ `Creating a new Ember app in ${styleText('yellow', process.cwd())}:`,
174
178
  ),
175
179
  );
176
180
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ember/app-blueprint",
3
- "version": "7.1.0-alpha.2",
3
+ "version": "7.1.0-alpha.4",
4
4
  "description": "Blueprint for next generation of Ember apps",
5
5
  "keywords": [
6
6
  "ember-blueprint"
@@ -21,12 +21,11 @@
21
21
  "publishTag": "alpha"
22
22
  },
23
23
  "dependencies": {
24
- "chalk": "^4.1.2",
25
24
  "ejs": "^3.1.10",
26
25
  "ember-cli-string-utils": "^1.1.0",
27
26
  "lodash": "^4.17.21",
28
27
  "sort-package-json": "^3.6.0",
29
- "walk-sync": "^3.0.0"
28
+ "walk-sync": "^4.0.1"
30
29
  },
31
30
  "devDependencies": {
32
31
  "@eslint/js": "^9.3.0",
@@ -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