ember-cli 7.1.0 → 7.2.0-alpha.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.
Files changed (43) hide show
  1. package/CHANGELOG.md +91 -25
  2. package/RELEASE.md +6 -5
  3. package/blueprints/http-mock/index.js +1 -1
  4. package/blueprints/http-proxy/index.js +1 -1
  5. package/docs/build/data.json +128 -1598
  6. package/lib/commands/generate.js +1 -1
  7. package/lib/models/command.js +1 -1
  8. package/lib/models/package-info-cache/package-info.js +1 -1
  9. package/lib/models/project.js +13 -5
  10. package/lib/tasks/generate-from-blueprint.js +1 -1
  11. package/lib/tasks/install-blueprint.js +4 -2
  12. package/lib/utilities/merge-blueprint-options.js +1 -1
  13. package/lib/utilities/version-utils.js +6 -1
  14. package/package.json +23 -14
  15. package/packages/addon-blueprint/files/README.md +10 -0
  16. package/packages/addon-blueprint/package.json +10 -2
  17. package/packages/app-blueprint/files/package.json +14 -14
  18. package/packages/app-blueprint/package.json +10 -2
  19. package/packages/blueprint-blueprint/files/blueprints/__name__/files/.gitkeep +0 -0
  20. package/packages/blueprint-blueprint/files/blueprints/__name__/index.js +16 -0
  21. package/packages/blueprint-blueprint/index.js +5 -0
  22. package/packages/blueprint-blueprint/package.json +13 -0
  23. package/{lib/models/blueprint.js → packages/blueprint-model/index.js} +19 -35
  24. package/packages/blueprint-model/node_modules/.bin/markdown-it +21 -0
  25. package/packages/blueprint-model/package.json +31 -0
  26. package/packages/blueprint-model/utilities/directory-for-package-name.js +31 -0
  27. package/packages/blueprint-model/utilities/edit-file-diff.js +64 -0
  28. package/packages/blueprint-model/utilities/experiments.js +63 -0
  29. package/packages/blueprint-model/utilities/file-info.js +170 -0
  30. package/packages/blueprint-model/utilities/open-editor.js +44 -0
  31. package/packages/blueprint-model/utilities/prepend-emoji.js +12 -0
  32. package/packages/blueprint-model/utilities/process-template.js +10 -0
  33. package/patches/ember-cli-blueprint-test-helpers.patch +15 -0
  34. package/tests/helpers/acceptance.js +6 -5
  35. package/tests/helpers/fixturify-project.js +29 -137
  36. package/tests/helpers/per-bundle-addon-cache.js +17 -23
  37. /package/{lib → packages/blueprint-model}/utilities/clean-remove.js +0 -0
  38. /package/{lib → packages/blueprint-model}/utilities/insert-into-file.js +0 -0
  39. /package/{lib → packages/blueprint-model}/utilities/is-addon.js +0 -0
  40. /package/{lib → packages/blueprint-model}/utilities/markdown-color.js +0 -0
  41. /package/{lib → packages/blueprint-model}/utilities/print-command.js +0 -0
  42. /package/{lib → packages/blueprint-model}/utilities/sequence.js +0 -0
  43. /package/{lib → packages/blueprint-model}/utilities/walk-up-path.js +0 -0
package/CHANGELOG.md CHANGED
@@ -1,35 +1,85 @@
1
1
  # ember-cli Changelog
2
2
 
3
- ## Release (2026-07-01)
3
+ ## Release (2026-08-14)
4
4
 
5
- * ember-cli 7.1.0 (minor)
6
- * @ember-tooling/classic-build-addon-blueprint 7.1.0 (minor)
7
- * @ember-tooling/classic-build-app-blueprint 7.1.0 (minor)
5
+ * ember-cli 7.2.0-alpha.2 (patch)
6
+ * @ember-tooling/classic-build-addon-blueprint 7.2.0-alpha.2 (patch)
7
+ * @ember-tooling/classic-build-app-blueprint 7.2.0-alpha.2 (patch)
8
+ * @ember-tooling/blueprint-model 0.7.1 (patch)
9
+
10
+ #### :bug: Bug Fix
11
+ * `ember-cli`, `@ember-tooling/blueprint-model`
12
+ * [#11050](https://github.com/ember-cli/ember-cli/pull/11050) fix default blueprint lookup ([@mansona](https://github.com/mansona))
13
+
14
+ #### :house: Internal
15
+ * `ember-cli`
16
+ * [#11051](https://github.com/ember-cli/ember-cli/pull/11051) fix release-plan ([@mansona](https://github.com/mansona))
17
+ * [#11052](https://github.com/ember-cli/ember-cli/pull/11052) speed up windows CI ([@mansona](https://github.com/mansona))
18
+ * [#11049](https://github.com/ember-cli/ember-cli/pull/11049) fix help tests to stop relying on private APIs ([@mansona](https://github.com/mansona))
19
+ * [#11048](https://github.com/ember-cli/ember-cli/pull/11048) update fixturify-project from v2 to v7 ([@mansona](https://github.com/mansona))
20
+ * [#11044](https://github.com/ember-cli/ember-cli/pull/11044) add a notify discord webhook action for CI ([@mansona](https://github.com/mansona))
21
+ * [#11023](https://github.com/ember-cli/ember-cli/pull/11023) Update RELEASE.md ([@mansona](https://github.com/mansona))
22
+
23
+ #### Committers: 1
24
+ - Chris Manson ([@mansona](https://github.com/mansona))
25
+
26
+ ## Release (2026-06-30)
27
+
28
+ * ember-cli 7.2.0-alpha.1 (minor)
29
+ * @ember-tooling/classic-build-addon-blueprint 7.2.0-alpha.1 (minor)
30
+ * @ember-tooling/classic-build-app-blueprint 7.2.0-alpha.1 (minor)
31
+ * @ember-tooling/blueprint-model 0.7.0 (minor)
8
32
 
9
33
  #### :rocket: Enhancement
34
+ * `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`, `@ember-tooling/blueprint-model`
35
+ * [#11032](https://github.com/ember-cli/ember-cli/pull/11032) Prepare 7.2 alpha ([@mansona](https://github.com/mansona))
36
+ * `@ember-tooling/classic-build-addon-blueprint`
37
+ * [#11035](https://github.com/ember-cli/ember-cli/pull/11035) Add placeholder for documenting exports from an addon ([@kategengler](https://github.com/kategengler))
38
+ * `ember-cli`, `@ember-tooling/blueprint-model`
39
+ * [#10672](https://github.com/ember-cli/ember-cli/pull/10672) Separate blueprint model so it can be used outside of ember-cli ([@mansona](https://github.com/mansona))
40
+
41
+ #### :bug: Bug Fix
42
+ * `ember-cli`
43
+ * [#11027](https://github.com/ember-cli/ember-cli/pull/11027) Fix error when blueprint is missing keyword ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
44
+ * [#11028](https://github.com/ember-cli/ember-cli/pull/11028) [BUGFIX release] fix require(esm) of blueprint indexes ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
45
+
46
+ #### :house: Internal
47
+ * `ember-cli`
48
+ * [#11037](https://github.com/ember-cli/ember-cli/pull/11037) bring test fixtures in line with updates from addon readme ([@void-mAlex](https://github.com/void-mAlex))
49
+ * [#11038](https://github.com/ember-cli/ember-cli/pull/11038) fix running tests on blueprint markdown changes ([@mansona](https://github.com/mansona))
50
+ * [#10880](https://github.com/ember-cli/ember-cli/pull/10880) stop using internal package cache in the addon smoke test and rely on pnpm caching ([@mansona](https://github.com/mansona))
51
+ * [#11033](https://github.com/ember-cli/ember-cli/pull/11033) Merge release into beta ([@mansona](https://github.com/mansona))
10
52
  * `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
11
- * [#11040](https://github.com/ember-cli/ember-cli/pull/11040) Promote Beta and update all dependencies for 7.1 release ([@mansona](https://github.com/mansona))
53
+ * [#11029](https://github.com/ember-cli/ember-cli/pull/11029) Prepare Beta Release ([@mansona](https://github.com/mansona))
54
+
55
+ #### Committers: 4
56
+ - Alex ([@void-mAlex](https://github.com/void-mAlex))
57
+ - Chris Manson ([@mansona](https://github.com/mansona))
58
+ - Katie Gengler ([@kategengler](https://github.com/kategengler))
59
+ - [@NullVoxPopuli](https://github.com/NullVoxPopuli)
60
+
61
+ ## Release (2026-05-13)
62
+
63
+ * ember-cli 7.1.0-alpha.3 (minor)
64
+ * @ember-tooling/classic-build-addon-blueprint 7.1.0-alpha.2 (patch)
65
+ * @ember-tooling/classic-build-app-blueprint 7.1.0-alpha.3 (patch)
66
+ * @ember-tooling/blueprint-model 0.6.3 (patch)
67
+
68
+ #### :rocket: Enhancement
12
69
  * `ember-cli`
13
70
  * [#10610](https://github.com/ember-cli/ember-cli/pull/10610) use semver-deprecate instead of internal code ([@mansona](https://github.com/mansona))
14
71
  * [#11008](https://github.com/ember-cli/ember-cli/pull/11008) update babel-remove-types to v2 ([@mansona](https://github.com/mansona))
15
72
  * [#11009](https://github.com/ember-cli/ember-cli/pull/11009) update configstore to v8 ([@mansona](https://github.com/mansona))
16
- * `@ember-tooling/classic-build-app-blueprint`, `ember-cli`
17
- * [#11006](https://github.com/ember-cli/ember-cli/pull/11006) update ember-welcome-page to v8 in app blueprint ([@mansona](https://github.com/mansona))
18
- * [#11005](https://github.com/ember-cli/ember-cli/pull/11005) update ember-cli-deprecation-workflow to v4 ([@mansona](https://github.com/mansona))
19
- * [#11003](https://github.com/ember-cli/ember-cli/pull/11003) update @ember/optional-features to v3 ([@mansona](https://github.com/mansona))
20
73
 
21
74
  #### :bug: Bug Fix
22
- * `ember-cli`
75
+ * `ember-cli`, `@ember-tooling/blueprint-model`
23
76
  * [#11020](https://github.com/ember-cli/ember-cli/pull/11020) Update diff to latest v8.x ([@mkszepp](https://github.com/mkszepp))
24
77
 
25
78
  #### :house: Internal
26
79
  * `ember-cli`
27
- * [#11033](https://github.com/ember-cli/ember-cli/pull/11033) Merge release into beta ([@mansona](https://github.com/mansona))
28
80
  * [#11017](https://github.com/ember-cli/ember-cli/pull/11017) Add Sync Output Repos check to release instructions ([@kategengler](https://github.com/kategengler))
29
81
  * [#11016](https://github.com/ember-cli/ember-cli/pull/11016) fix: sync-output-repos workflow failing on tag pushes ([@Copilot](https://github.com/apps/copilot-swe-agent))
30
82
  * [#10999](https://github.com/ember-cli/ember-cli/pull/10999) update RELEASE with update-blueprint-deps commands ([@mansona](https://github.com/mansona))
31
- * `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
32
- * [#11029](https://github.com/ember-cli/ember-cli/pull/11029) Prepare Beta Release ([@mansona](https://github.com/mansona))
33
83
 
34
84
  #### Committers: 4
35
85
  - Chris Manson ([@mansona](https://github.com/mansona))
@@ -37,26 +87,42 @@
37
87
  - Katie Gengler ([@kategengler](https://github.com/kategengler))
38
88
  - Markus Sanin ([@mkszepp](https://github.com/mkszepp))
39
89
 
40
- ## Release (2026-05-22)
90
+ ## Release (2026-04-26)
41
91
 
42
- * ember-cli 7.0.1 (patch)
92
+ * ember-cli 7.1.0-alpha.2 (minor)
93
+ * @ember-tooling/classic-build-app-blueprint 7.1.0-alpha.2 (minor)
43
94
 
44
- #### :bug: Bug Fix
45
- * `ember-cli`
46
- * [#11028](https://github.com/ember-cli/ember-cli/pull/11028) [BUGFIX release] fix require(esm) of blueprint indexes ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
95
+ #### :rocket: Enhancement
96
+ * `@ember-tooling/classic-build-app-blueprint`, `ember-cli`
97
+ * [#11006](https://github.com/ember-cli/ember-cli/pull/11006) update ember-welcome-page to v8 in app blueprint ([@mansona](https://github.com/mansona))
98
+ * [#11005](https://github.com/ember-cli/ember-cli/pull/11005) update ember-cli-deprecation-workflow to v4 ([@mansona](https://github.com/mansona))
99
+ * [#11003](https://github.com/ember-cli/ember-cli/pull/11003) update @ember/optional-features to v3 ([@mansona](https://github.com/mansona))
47
100
 
48
101
  #### Committers: 1
49
- - [@NullVoxPopuli](https://github.com/NullVoxPopuli)
102
+ - Chris Manson ([@mansona](https://github.com/mansona))
50
103
 
51
- ## Release (2026-05-15)
104
+ ## Release (2026-04-24)
52
105
 
53
- * ember-cli 7.0.0 (major)
54
- * @ember-tooling/classic-build-addon-blueprint 7.0.0 (major)
55
- * @ember-tooling/classic-build-app-blueprint 7.0.0 (major)
106
+ * ember-cli 7.1.0-alpha.1 (minor)
107
+ * @ember-tooling/classic-build-addon-blueprint 7.1.0-alpha.1 (minor)
108
+ * @ember-tooling/classic-build-app-blueprint 7.1.0-alpha.1 (minor)
109
+
110
+ #### :rocket: Enhancement
111
+ * `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
112
+ * [#11001](https://github.com/ember-cli/ember-cli/pull/11001) Prepare 7.1 Alpha ([@mansona](https://github.com/mansona))
56
113
 
57
- #### :boom: Breaking Change
114
+ #### Committers: 1
115
+ - Chris Manson ([@mansona](https://github.com/mansona))
116
+
117
+ ## Release (2026-04-21)
118
+
119
+ * ember-cli 7.0.0-beta.1 (minor)
120
+ * @ember-tooling/classic-build-addon-blueprint 7.0.0-beta.1 (minor)
121
+ * @ember-tooling/classic-build-app-blueprint 7.0.0-beta.1 (minor)
122
+
123
+ #### :rocket: Enhancement
58
124
  * `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
59
- * [#11022](https://github.com/ember-cli/ember-cli/pull/11022) Promote Beta and update all dependencies for 7.0 release ([@mansona](https://github.com/mansona))
125
+ * [#10997](https://github.com/ember-cli/ember-cli/pull/10997) Prepare 7.0 Beta ([@mansona](https://github.com/mansona))
60
126
 
61
127
  #### Committers: 1
62
128
  - Chris Manson ([@mansona](https://github.com/mansona))
package/RELEASE.md CHANGED
@@ -41,11 +41,11 @@ You can use [this saved search](https://github.com/ember-cli/ember-cli/pulls?q=i
41
41
  - **make sure to not update the .github/workflows/plan-stable-release.yml file** this should still plan a stable release
42
42
  - **make sure to not update the .github/workflows/publish-stable.yml file** this should still publish a stable release
43
43
  - **make sure to not update the CHANGELOG.md file** so as not to include the beta or alpha changelogs in the next release
44
- - make sure to not update the version in the package.json during this step, this will be release-plan's job
45
- - make sure to not update the version in the `packages/app-blueprint/package.json`, or `packages/addon-blueprint/package.json` files during this step, this will be release-plan's job
46
- - make sure to not add the `release-plan` config section to the package.json during this step. We are releasing a real release so we don't want to configure release-plan to do a pre-release.
44
+ - make sure to not update the version in the `package.json`, `packages/app-blueprint/package.json`, or `packages/addon-blueprint/package.json` files during this step, this will be release-plan's job
45
+ - make sure to not update update the `ember-cli` reference in `packages/app-blueprint/files/package.json`, this has been automated in the release-plan process
46
+ - make sure to not add the `release-plan` config section to the `package.json`, `packages/app-blueprint/package.json`, or `packages/addon-blueprint/package.json` files during this step. We are releasing a real release so we don't want to configure release-plan to do a pre-release.
47
47
  - commit the merge `git commit -am "promote beta to release"`
48
- - Update blueprint dependencies to latest. Note: ember-data needs to be updated only in the alpha version from now on, make sure to only update to the release version of what was in the beta.
48
+ - Update blueprint dependencies to latest.
49
49
 
50
50
  ```
51
51
  pnpm dlx update-blueprint-deps --filter 'ember-source$' --tag latest ./packages/*-blueprint/**/*ackage.json ./tests/fixtures/**/package.json
@@ -53,13 +53,14 @@ You can use [this saved search](https://github.com/ember-cli/ember-cli/pulls?q=i
53
53
  pnpm dlx update-blueprint-deps --filter '.*' ./package.json ./packages/*-blueprint/**/*ackage.json ./tests/fixtures/*/package.json ./tests/fixtures/*/*/package.json
54
54
  ```
55
55
 
56
+ - run `pnpm install` to update your pacakge.lock and download any new dependencies
56
57
  - run `pnpm lint:fix`
57
58
  - update the @ember/app-blueprint dependency `pnpm i -w @ember/app-blueprint@latest`
58
59
  - manually add a `~` back into the `@ember/app-blueprint` dependency in the root package.json
59
60
  - run `pnpm install` to make sure the lock file is up to date
60
61
  - commit this update `git commit -am "update blueprint dependencies to latest"`
61
62
  - push and open a PR targeting `release` with a PR title like `Promote Beta and update all dependencies for 6.4 release`
62
- - mark this PR as an `enhancement` if it is a minor release
63
+ - mark this PR as an `enhancement` if it is a minor release, or `breaking` if it is a major
63
64
  - check that everything is ok (i.e. that CI has run correctly and that you have the changes you expect)
64
65
  - merge branch
65
66
  - check that the `Prepare Release` PR has been correctly opened by `release-plan`
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const Blueprint = require('../../lib/models/blueprint');
3
+ const Blueprint = require('@ember-tooling/blueprint-model');
4
4
  const isPackageMissing = require('ember-cli-is-package-missing');
5
5
  const SilentError = require('silent-error');
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const Blueprint = require('../../lib/models/blueprint');
3
+ const Blueprint = require('@ember-tooling/blueprint-model');
4
4
  const SilentError = require('silent-error');
5
5
 
6
6
  module.exports = {