ember-cli 6.11.0-beta.1 → 6.12.0-alpha.3
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/CHANGELOG.md +287 -126
- package/docs/build/data.json +1 -1
- package/package.json +8 -9
- package/packages/addon-blueprint/index.js +0 -4
- package/packages/addon-blueprint/package.json +4 -4
- package/packages/app-blueprint/files/package.json +4 -5
- package/packages/app-blueprint/package.json +4 -4
- package/packages/blueprint-blueprint/files/blueprints/__name__/files/.gitkeep +0 -0
- package/packages/blueprint-blueprint/files/blueprints/__name__/index.js +16 -0
- package/packages/blueprint-blueprint/index.js +5 -0
- package/packages/blueprint-blueprint/package.json +13 -0
- package/packages/blueprint-model/package.json +19 -0
- package/packages/blueprint-model/utilities/directory-for-package-name.js +31 -0
- package/packages/blueprint-model/utilities/edit-file-diff.js +64 -0
- package/packages/blueprint-model/utilities/experiments.js +63 -0
- package/packages/blueprint-model/utilities/file-info.js +170 -0
- package/packages/blueprint-model/utilities/open-editor.js +44 -0
- package/packages/blueprint-model/utilities/prepend-emoji.js +12 -0
- package/packages/blueprint-model/utilities/process-template.js +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,140 +1,153 @@
|
|
|
1
1
|
# ember-cli Changelog
|
|
2
2
|
|
|
3
|
-
## Release (2026-
|
|
3
|
+
## Release (2026-02-07)
|
|
4
4
|
|
|
5
|
-
* ember-cli 6.
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
* ember-cli 6.12.0-alpha.3 (patch)
|
|
6
|
+
|
|
7
|
+
#### :house: Internal
|
|
8
|
+
* `ember-cli`
|
|
9
|
+
* [#10945](https://github.com/ember-cli/ember-cli/pull/10945) update release-plan for OIDC ([@mansona](https://github.com/mansona))
|
|
10
|
+
|
|
11
|
+
#### Committers: 1
|
|
12
|
+
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
13
|
+
|
|
14
|
+
## Release (2026-02-05)
|
|
15
|
+
|
|
16
|
+
* ember-cli 6.12.0-alpha.2 (patch)
|
|
17
|
+
* @ember-tooling/classic-build-addon-blueprint 6.12.0-alpha.2 (patch)
|
|
18
|
+
* @ember-tooling/classic-build-app-blueprint 6.12.0-alpha.2 (patch)
|
|
19
|
+
* @ember-tooling/blueprint-model 0.6.1 (patch)
|
|
20
|
+
|
|
21
|
+
#### :bug: Bug Fix
|
|
22
|
+
* `ember-cli`, `@ember-tooling/blueprint-model`
|
|
23
|
+
* [#10941](https://github.com/ember-cli/ember-cli/pull/10941) Downgrade isbinaryfile ([@mansona](https://github.com/mansona))
|
|
24
|
+
* `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`, `ember-cli`
|
|
25
|
+
* [#10932](https://github.com/ember-cli/ember-cli/pull/10932) Remove tracked-built-ins (it comes built in with ember-source 6.8+) ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
|
|
26
|
+
|
|
27
|
+
#### Committers: 2
|
|
28
|
+
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
29
|
+
- [@NullVoxPopuli](https://github.com/NullVoxPopuli)
|
|
30
|
+
|
|
31
|
+
## Release (2026-01-26)
|
|
32
|
+
|
|
33
|
+
* ember-cli 6.12.0-alpha.1 (minor)
|
|
34
|
+
* @ember-tooling/classic-build-addon-blueprint 6.12.0-alpha.1 (minor)
|
|
35
|
+
* @ember-tooling/classic-build-app-blueprint 6.12.0-alpha.1 (minor)
|
|
8
36
|
|
|
9
37
|
#### :rocket: Enhancement
|
|
10
38
|
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
|
|
11
39
|
* [#10923](https://github.com/ember-cli/ember-cli/pull/10923) Promote Beta and update all dependencies for 6.10 release ([@mansona](https://github.com/mansona))
|
|
12
|
-
* [#10919](https://github.com/ember-cli/ember-cli/pull/10919) Prepare 6.11-alpha ([@mansona](https://github.com/mansona))
|
|
13
40
|
|
|
14
41
|
#### :house: Internal
|
|
15
42
|
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
|
|
43
|
+
* [#10930](https://github.com/ember-cli/ember-cli/pull/10930) Prepare 6.12-alpha ([@mansona](https://github.com/mansona))
|
|
44
|
+
* [#10926](https://github.com/ember-cli/ember-cli/pull/10926) Prepare Beta Release ([@mansona](https://github.com/mansona))
|
|
16
45
|
* [#10929](https://github.com/ember-cli/ember-cli/pull/10929) Prepare 6.11-beta ([@mansona](https://github.com/mansona))
|
|
17
46
|
* [#10918](https://github.com/ember-cli/ember-cli/pull/10918) Prepare Stable Release ([@mansona](https://github.com/mansona))
|
|
18
|
-
* [#10884](https://github.com/ember-cli/ember-cli/pull/10884) Prepare Alpha Release ([@mansona](https://github.com/mansona))
|
|
19
47
|
|
|
20
48
|
#### Committers: 1
|
|
21
49
|
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
22
50
|
|
|
23
|
-
## Release (2026-01-
|
|
51
|
+
## Release (2026-01-08)
|
|
24
52
|
|
|
25
|
-
* ember-cli 6.
|
|
26
|
-
* @ember-tooling/classic-build-addon-blueprint 6.
|
|
27
|
-
* @ember-tooling/classic-build-app-blueprint 6.
|
|
53
|
+
* ember-cli 6.11.0-alpha.1 (minor)
|
|
54
|
+
* @ember-tooling/classic-build-addon-blueprint 6.11.0-alpha.1 (minor)
|
|
55
|
+
* @ember-tooling/classic-build-app-blueprint 6.11.0-alpha.1 (minor)
|
|
56
|
+
* @ember-tooling/blueprint-model 0.6.0 (minor)
|
|
28
57
|
|
|
29
58
|
#### :rocket: Enhancement
|
|
30
59
|
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
|
|
31
|
-
* [#
|
|
32
|
-
* [#
|
|
60
|
+
* [#10919](https://github.com/ember-cli/ember-cli/pull/10919) Prepare 6.11-alpha ([@mansona](https://github.com/mansona))
|
|
61
|
+
* [#10917](https://github.com/ember-cli/ember-cli/pull/10917) Prepare 6.10-beta ([@mansona](https://github.com/mansona))
|
|
33
62
|
* `ember-cli`
|
|
34
63
|
* [#10906](https://github.com/ember-cli/ember-cli/pull/10906) Even more dependency updates ([@bertdeblock](https://github.com/bertdeblock))
|
|
35
64
|
* [#10892](https://github.com/ember-cli/ember-cli/pull/10892) More dependency updates ([@bertdeblock](https://github.com/bertdeblock))
|
|
65
|
+
* `ember-cli`, `@ember-tooling/blueprint-model`
|
|
36
66
|
* [#10890](https://github.com/ember-cli/ember-cli/pull/10890) Update various dependencies ([@bertdeblock](https://github.com/bertdeblock))
|
|
37
|
-
|
|
67
|
+
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`, `@ember-tooling/blueprint-model`
|
|
68
|
+
* [#10887](https://github.com/ember-cli/ember-cli/pull/10887) Update `chalk` dependency to latest ([@bertdeblock](https://github.com/bertdeblock))
|
|
38
69
|
|
|
39
70
|
#### :bug: Bug Fix
|
|
40
71
|
* `ember-cli`
|
|
72
|
+
* [#10888](https://github.com/ember-cli/ember-cli/pull/10888) Upgrade broccoli ([@kategengler](https://github.com/kategengler))
|
|
41
73
|
* [#10886](https://github.com/ember-cli/ember-cli/pull/10886) Update required Node version to v20.19.0 ([@bertdeblock](https://github.com/bertdeblock))
|
|
42
|
-
*
|
|
43
|
-
* [#10876](https://github.com/ember-cli/ember-cli/pull/10876) bump minimum node version to 20.19 ([@mansona](https://github.com/mansona))
|
|
74
|
+
* [#10860](https://github.com/ember-cli/ember-cli/pull/10860) [BUGFIX release]: Enter the WatchDetector branch of the build command when EMBROIDER_PREBUILD is present ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
|
|
44
75
|
|
|
45
76
|
#### :memo: Documentation
|
|
46
77
|
* `ember-cli`
|
|
47
78
|
* [#10874](https://github.com/ember-cli/ember-cli/pull/10874) Update RELEASE.md ([@mansona](https://github.com/mansona))
|
|
48
79
|
|
|
49
80
|
#### :house: Internal
|
|
81
|
+
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
|
|
82
|
+
* [#10883](https://github.com/ember-cli/ember-cli/pull/10883) Prepare Beta Release ([@mansona](https://github.com/mansona))
|
|
50
83
|
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`
|
|
51
84
|
* [#10891](https://github.com/ember-cli/ember-cli/pull/10891) Update `prettier` + setup ([@bertdeblock](https://github.com/bertdeblock))
|
|
52
|
-
* `ember-cli`
|
|
53
|
-
* [#10878](https://github.com/ember-cli/ember-cli/pull/10878) stop using internal package cache for smoke-test-slow ([@mansona](https://github.com/mansona))
|
|
54
|
-
* [#10863](https://github.com/ember-cli/ember-cli/pull/10863) Missed a script -- fix updating output repos ([@kategengler](https://github.com/kategengler))
|
|
55
|
-
* [#10862](https://github.com/ember-cli/ember-cli/pull/10862) Fix typo in output repo workflow ([@kategengler](https://github.com/kategengler))
|
|
56
|
-
* [#10861](https://github.com/ember-cli/ember-cli/pull/10861) Fix output repo generation with new tag format ([@kategengler](https://github.com/kategengler))
|
|
57
85
|
|
|
58
|
-
#### Committers:
|
|
86
|
+
#### Committers: 4
|
|
59
87
|
- Bert De Block ([@bertdeblock](https://github.com/bertdeblock))
|
|
60
88
|
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
61
89
|
- Katie Gengler ([@kategengler](https://github.com/kategengler))
|
|
62
|
-
|
|
63
|
-
## Release (2025-12-11)
|
|
64
|
-
|
|
65
|
-
* ember-cli 6.9.1 (patch)
|
|
66
|
-
|
|
67
|
-
#### :bug: Bug Fix
|
|
68
|
-
* `ember-cli`
|
|
69
|
-
* [#10888](https://github.com/ember-cli/ember-cli/pull/10888) Upgrade broccoli ([@kategengler](https://github.com/kategengler))
|
|
70
|
-
|
|
71
|
-
#### Committers: 1
|
|
72
|
-
- Katie Gengler ([@kategengler](https://github.com/kategengler))
|
|
90
|
+
- [@NullVoxPopuli](https://github.com/NullVoxPopuli)
|
|
73
91
|
|
|
74
92
|
## Release (2025-12-10)
|
|
75
93
|
|
|
76
|
-
* ember-cli 6.
|
|
77
|
-
* @ember-tooling/classic-build-addon-blueprint 6.
|
|
78
|
-
* @ember-tooling/classic-build-app-blueprint 6.
|
|
94
|
+
* ember-cli 6.10.0-alpha.1 (minor)
|
|
95
|
+
* @ember-tooling/classic-build-addon-blueprint 6.10.0-alpha.1 (minor)
|
|
96
|
+
* @ember-tooling/classic-build-app-blueprint 6.10.0-alpha.1 (minor)
|
|
97
|
+
* @ember-tooling/blueprint-blueprint 0.3.0 (minor)
|
|
98
|
+
* @ember-tooling/blueprint-model 0.5.0 (minor)
|
|
79
99
|
|
|
80
100
|
#### :rocket: Enhancement
|
|
81
|
-
* `ember-cli`, `@ember-tooling/classic-build-app-blueprint`
|
|
82
|
-
* [#10885](https://github.com/ember-cli/ember-cli/pull/10885) Promote Beta and update all dependencies for 6.9 release ([@mansona](https://github.com/mansona))
|
|
83
101
|
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
|
|
84
|
-
* [#
|
|
85
|
-
|
|
86
|
-
#### :house: Internal
|
|
102
|
+
* [#10873](https://github.com/ember-cli/ember-cli/pull/10873) Prepare 6.10 Alpha ([@mansona](https://github.com/mansona))
|
|
103
|
+
* [#10853](https://github.com/ember-cli/ember-cli/pull/10853) Promote Beta and update all dependencies for 6.8 release ([@mansona](https://github.com/mansona))
|
|
87
104
|
* `ember-cli`
|
|
88
|
-
* [#
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
#### Committers: 2
|
|
92
|
-
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
93
|
-
- Edward Faulkner ([@ef4](https://github.com/ef4))
|
|
105
|
+
* [#10870](https://github.com/ember-cli/ember-cli/pull/10870) Upgrade broccoli ([@kategengler](https://github.com/kategengler))
|
|
106
|
+
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`, `@ember-tooling/blueprint-blueprint`, `@ember-tooling/blueprint-model`
|
|
107
|
+
* [#10856](https://github.com/ember-cli/ember-cli/pull/10856) Prepare 6.9 Beta ([@mansona](https://github.com/mansona))
|
|
94
108
|
|
|
95
|
-
|
|
109
|
+
#### :bug: Bug Fix
|
|
110
|
+
* `@ember-tooling/classic-build-app-blueprint`, `ember-cli`
|
|
111
|
+
* [#10876](https://github.com/ember-cli/ember-cli/pull/10876) bump minimum node version to 20.19 ([@mansona](https://github.com/mansona))
|
|
96
112
|
|
|
97
|
-
|
|
113
|
+
#### :memo: Documentation
|
|
114
|
+
* `ember-cli`
|
|
115
|
+
* [#10857](https://github.com/ember-cli/ember-cli/pull/10857) Update RELEASE.md with more notes ([@mansona](https://github.com/mansona))
|
|
98
116
|
|
|
99
|
-
#### :
|
|
117
|
+
#### :house: Internal
|
|
100
118
|
* `ember-cli`
|
|
101
|
-
* [#
|
|
119
|
+
* [#10878](https://github.com/ember-cli/ember-cli/pull/10878) stop using internal package cache for smoke-test-slow ([@mansona](https://github.com/mansona))
|
|
120
|
+
* [#10863](https://github.com/ember-cli/ember-cli/pull/10863) Missed a script -- fix updating output repos ([@kategengler](https://github.com/kategengler))
|
|
121
|
+
* [#10862](https://github.com/ember-cli/ember-cli/pull/10862) Fix typo in output repo workflow ([@kategengler](https://github.com/kategengler))
|
|
122
|
+
* [#10861](https://github.com/ember-cli/ember-cli/pull/10861) Fix output repo generation with new tag format ([@kategengler](https://github.com/kategengler))
|
|
123
|
+
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
|
|
124
|
+
* [#10854](https://github.com/ember-cli/ember-cli/pull/10854) Prepare Beta Release ([@mansona](https://github.com/mansona))
|
|
102
125
|
|
|
103
|
-
#### Committers:
|
|
104
|
-
- [@
|
|
126
|
+
#### Committers: 2
|
|
127
|
+
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
128
|
+
- Katie Gengler ([@kategengler](https://github.com/kategengler))
|
|
105
129
|
|
|
106
130
|
## Release (2025-10-14)
|
|
107
131
|
|
|
108
|
-
* ember-cli 6.
|
|
109
|
-
* @ember-tooling/classic-build-addon-blueprint 6.
|
|
110
|
-
* @ember-tooling/classic-build-app-blueprint 6.
|
|
132
|
+
* ember-cli 6.9.0-alpha.2 (minor)
|
|
133
|
+
* @ember-tooling/classic-build-addon-blueprint 6.9.0-alpha.2 (minor)
|
|
134
|
+
* @ember-tooling/classic-build-app-blueprint 6.9.0-alpha.2 (minor)
|
|
135
|
+
* @ember-tooling/blueprint-blueprint 0.2.1 (patch)
|
|
136
|
+
* @ember-tooling/blueprint-model 0.4.1 (patch)
|
|
111
137
|
|
|
112
138
|
#### :rocket: Enhancement
|
|
113
|
-
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
|
|
114
|
-
* [#10853](https://github.com/ember-cli/ember-cli/pull/10853) Promote Beta and update all dependencies for 6.8 release ([@mansona](https://github.com/mansona))
|
|
115
|
-
* [#10831](https://github.com/ember-cli/ember-cli/pull/10831) [bugfix beta] enable `--strict` by default to match new app blueprint ([@mansona](https://github.com/mansona))
|
|
116
|
-
* [#10808](https://github.com/ember-cli/ember-cli/pull/10808) Prepare 6.8 Beta ([@mansona](https://github.com/mansona))
|
|
117
139
|
* `ember-cli`
|
|
118
140
|
* [#10844](https://github.com/ember-cli/ember-cli/pull/10844) [beta] Error when `ember (generate|destroy) (http-proxy|http-mock|server)` is used in a Vite-based project ([@kategengler](https://github.com/kategengler))
|
|
119
|
-
|
|
120
|
-
* [#
|
|
121
|
-
* [#10781](https://github.com/ember-cli/ember-cli/pull/10781) Add new `VITE` experiment to generate app with new Vite blueprint ([@pichfl](https://github.com/pichfl))
|
|
122
|
-
* [#10785](https://github.com/ember-cli/ember-cli/pull/10785) Depracate passing filenames and globs to `init` ([@pichfl](https://github.com/pichfl))
|
|
123
|
-
* [#10776](https://github.com/ember-cli/ember-cli/pull/10776) Add deprecation warning for the `--embroider` argument ([@pichfl](https://github.com/pichfl))
|
|
124
|
-
* `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`, `ember-cli`
|
|
125
|
-
* [#10791](https://github.com/ember-cli/ember-cli/pull/10791) update the format of the ember-cli-update.json ([@mansona](https://github.com/mansona))
|
|
141
|
+
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
|
|
142
|
+
* [#10831](https://github.com/ember-cli/ember-cli/pull/10831) [bugfix beta] enable `--strict` by default to match new app blueprint ([@mansona](https://github.com/mansona))
|
|
126
143
|
|
|
127
144
|
#### :bug: Bug Fix
|
|
128
145
|
* `ember-cli`
|
|
129
146
|
* [#10846](https://github.com/ember-cli/ember-cli/pull/10846) [beta bugfix] allow build --watch only in EMBROIDER_PREBUILD ([@mansona](https://github.com/mansona))
|
|
147
|
+
* [#10834](https://github.com/ember-cli/ember-cli/pull/10834) [bugfix release] Fix tests using wrong versions ([@mansona](https://github.com/mansona))
|
|
130
148
|
* [#10826](https://github.com/ember-cli/ember-cli/pull/10826) move resolution of @ember/app-blueprint to prevent loading latest ([@mansona](https://github.com/mansona))
|
|
131
|
-
|
|
132
|
-
*
|
|
133
|
-
* [#10803](https://github.com/ember-cli/ember-cli/pull/10803) Add "ember-blueprint" to keywords in `package.json` for the classic blueprints ([@pichfl](https://github.com/pichfl))
|
|
134
|
-
* `@ember-tooling/classic-build-app-blueprint`
|
|
135
|
-
* [#10798](https://github.com/ember-cli/ember-cli/pull/10798) Add import from ember-data breakage/deprecation ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
|
|
136
|
-
* `@ember-tooling/classic-build-app-blueprint`, `ember-cli`
|
|
137
|
-
* [#10707](https://github.com/ember-cli/ember-cli/pull/10707) Enabled recommended configs from eslint-plugin-n and eslint-plugin-qunit ([@ijlee2](https://github.com/ijlee2))
|
|
149
|
+
* `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
|
|
150
|
+
* [#10838](https://github.com/ember-cli/ember-cli/pull/10838) Add package license metadata to match repository ([@davidtaylorhq](https://github.com/davidtaylorhq))
|
|
138
151
|
|
|
139
152
|
#### :memo: Documentation
|
|
140
153
|
* `ember-cli`
|
|
@@ -143,75 +156,233 @@
|
|
|
143
156
|
* [#10835](https://github.com/ember-cli/ember-cli/pull/10835) Update deprecation message for --embroider option ([@kategengler](https://github.com/kategengler))
|
|
144
157
|
|
|
145
158
|
#### :house: Internal
|
|
159
|
+
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`, `@ember-tooling/blueprint-blueprint`, `@ember-tooling/blueprint-model`
|
|
160
|
+
* [#10851](https://github.com/ember-cli/ember-cli/pull/10851) Merge beta into master ([@mansona](https://github.com/mansona))
|
|
161
|
+
* [#10848](https://github.com/ember-cli/ember-cli/pull/10848) merge origin/release into beta ([@mansona](https://github.com/mansona))
|
|
146
162
|
* `ember-cli`, `@ember-tooling/classic-build-app-blueprint`
|
|
147
163
|
* [#10847](https://github.com/ember-cli/ember-cli/pull/10847) Prepare Beta Release ([@mansona](https://github.com/mansona))
|
|
148
164
|
* [#10825](https://github.com/ember-cli/ember-cli/pull/10825) Prepare Beta Release ([@mansona](https://github.com/mansona))
|
|
149
165
|
* [#10820](https://github.com/ember-cli/ember-cli/pull/10820) Prepare Beta Release ([@mansona](https://github.com/mansona))
|
|
166
|
+
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
|
|
167
|
+
* [#10836](https://github.com/ember-cli/ember-cli/pull/10836) Prepare Beta Release ([@mansona](https://github.com/mansona))
|
|
150
168
|
* `ember-cli`
|
|
151
169
|
* [#10845](https://github.com/ember-cli/ember-cli/pull/10845) [beta] update @ember/app-blueprint to latest beta ([@mansona](https://github.com/mansona))
|
|
152
170
|
* [#10833](https://github.com/ember-cli/ember-cli/pull/10833) [bugfix beta] bump the @ember/app-blueprint version ([@mansona](https://github.com/mansona))
|
|
153
171
|
* [#10823](https://github.com/ember-cli/ember-cli/pull/10823) fix incorrect ember-cli-update version in tests ([@mansona](https://github.com/mansona))
|
|
154
172
|
* [#10819](https://github.com/ember-cli/ember-cli/pull/10819) update @ember/app-blueprint beta version ([@mansona](https://github.com/mansona))
|
|
155
|
-
* [#
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
173
|
+
* [#10809](https://github.com/ember-cli/ember-cli/pull/10809) Update RELEASE ([@mansona](https://github.com/mansona))
|
|
174
|
+
|
|
175
|
+
#### Committers: 3
|
|
176
|
+
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
177
|
+
- David Taylor ([@davidtaylorhq](https://github.com/davidtaylorhq))
|
|
178
|
+
- Katie Gengler ([@kategengler](https://github.com/kategengler))
|
|
179
|
+
|
|
180
|
+
## Release (2025-09-17)
|
|
181
|
+
|
|
182
|
+
* ember-cli 6.9.0-alpha.1 (minor)
|
|
183
|
+
* @ember-tooling/classic-build-addon-blueprint 6.9.0-alpha.1 (minor)
|
|
184
|
+
* @ember-tooling/classic-build-app-blueprint 6.9.0-alpha.1 (minor)
|
|
185
|
+
* @ember-tooling/blueprint-blueprint 0.2.0 (minor)
|
|
186
|
+
* @ember-tooling/blueprint-model 0.4.0 (minor)
|
|
187
|
+
|
|
188
|
+
#### :rocket: Enhancement
|
|
189
|
+
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`, `@ember-tooling/blueprint-blueprint`, `@ember-tooling/blueprint-model`
|
|
190
|
+
* [#10808](https://github.com/ember-cli/ember-cli/pull/10808) Prepare 6.8 Beta ([@mansona](https://github.com/mansona))
|
|
160
191
|
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
|
|
161
|
-
* [#
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
192
|
+
* [#10796](https://github.com/ember-cli/ember-cli/pull/10796) Promote Beta and update all dependencies for 6.7 release ([@mansona](https://github.com/mansona))
|
|
193
|
+
|
|
194
|
+
#### :bug: Bug Fix
|
|
195
|
+
* `ember-cli`
|
|
196
|
+
* [#10794](https://github.com/ember-cli/ember-cli/pull/10794) Fix potential NPE ([@boris-petrov](https://github.com/boris-petrov))
|
|
197
|
+
|
|
198
|
+
#### :house: Internal
|
|
199
|
+
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`, `@ember-tooling/blueprint-blueprint`, `@ember-tooling/blueprint-model`
|
|
200
|
+
* [#10815](https://github.com/ember-cli/ember-cli/pull/10815) Merge beta into master and start 6.9 alpha ([@mansona](https://github.com/mansona))
|
|
201
|
+
* [#10810](https://github.com/ember-cli/ember-cli/pull/10810) Prepare Beta Release ([@mansona](https://github.com/mansona))
|
|
202
|
+
* `@ember-tooling/blueprint-model`
|
|
203
|
+
* [#10813](https://github.com/ember-cli/ember-cli/pull/10813) Document need for future vite experiment test cleanup ([@ef4](https://github.com/ef4))
|
|
204
|
+
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
|
|
205
|
+
* [#10797](https://github.com/ember-cli/ember-cli/pull/10797) Prepare Stable Release ([@mansona](https://github.com/mansona))
|
|
206
|
+
* [#10800](https://github.com/ember-cli/ember-cli/pull/10800) fix release-plan for stable release ([@mansona](https://github.com/mansona))
|
|
207
|
+
* `ember-cli`
|
|
208
|
+
* [#10801](https://github.com/ember-cli/ember-cli/pull/10801) update github-changelog ([@mansona](https://github.com/mansona))
|
|
209
|
+
|
|
210
|
+
#### Committers: 3
|
|
211
|
+
- Boris Petrov ([@boris-petrov](https://github.com/boris-petrov))
|
|
212
|
+
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
213
|
+
- Edward Faulkner ([@ef4](https://github.com/ef4))
|
|
214
|
+
|
|
215
|
+
## Release (2025-09-10)
|
|
216
|
+
|
|
217
|
+
* @ember-tooling/classic-build-addon-blueprint 6.8.0-alpha.5 (patch)
|
|
218
|
+
* @ember-tooling/classic-build-app-blueprint 6.8.0-alpha.5 (patch)
|
|
219
|
+
* @ember-tooling/blueprint-model 0.2.0 (minor)
|
|
220
|
+
* ember-cli 6.8.0-alpha.5 (patch)
|
|
165
221
|
|
|
166
|
-
####
|
|
222
|
+
#### :rocket: Enhancement
|
|
223
|
+
* `@ember-tooling/blueprint-model`
|
|
224
|
+
* [#10802](https://github.com/ember-cli/ember-cli/pull/10802) enable Vite by default ([@mansona](https://github.com/mansona))
|
|
225
|
+
* Other
|
|
226
|
+
* [#10804](https://github.com/ember-cli/ember-cli/pull/10804) Support a `--ts` alias for the `addon`, `init` and `new` commands ([@bertdeblock](https://github.com/bertdeblock))
|
|
227
|
+
|
|
228
|
+
#### :house: Internal
|
|
229
|
+
* [#10806](https://github.com/ember-cli/ember-cli/pull/10806) skip build watch tests when vite is enabled ([@mansona](https://github.com/mansona))
|
|
230
|
+
|
|
231
|
+
#### Committers: 2
|
|
167
232
|
- Bert De Block ([@bertdeblock](https://github.com/bertdeblock))
|
|
168
233
|
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
234
|
+
|
|
235
|
+
## Release (2025-09-09)
|
|
236
|
+
|
|
237
|
+
* @ember-tooling/classic-build-addon-blueprint 6.8.0-alpha.4 (patch)
|
|
238
|
+
* @ember-tooling/classic-build-app-blueprint 6.8.0-alpha.4 (patch)
|
|
239
|
+
* @ember-tooling/blueprint-blueprint 0.0.3 (patch)
|
|
240
|
+
* ember-cli 6.8.0-alpha.4 (patch)
|
|
241
|
+
|
|
242
|
+
#### :bug: Bug Fix
|
|
243
|
+
* `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`, `@ember-tooling/blueprint-blueprint`
|
|
244
|
+
* [#10803](https://github.com/ember-cli/ember-cli/pull/10803) Add "ember-blueprint" to keywords in `package.json` for the classic blueprints ([@pichfl](https://github.com/pichfl))
|
|
245
|
+
* `@ember-tooling/classic-build-app-blueprint`
|
|
246
|
+
* [#10798](https://github.com/ember-cli/ember-cli/pull/10798) Add import from ember-data breakage/deprecation ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
|
|
247
|
+
|
|
248
|
+
#### Committers: 2
|
|
169
249
|
- Florian Pichler ([@pichfl](https://github.com/pichfl))
|
|
170
|
-
- Isaac Lee ([@ijlee2](https://github.com/ijlee2))
|
|
171
|
-
- Katie Gengler ([@kategengler](https://github.com/kategengler))
|
|
172
250
|
- [@NullVoxPopuli](https://github.com/NullVoxPopuli)
|
|
173
251
|
|
|
174
|
-
## Release (2025-
|
|
252
|
+
## Release (2025-09-05)
|
|
175
253
|
|
|
176
|
-
* ember-
|
|
177
|
-
* @ember-tooling/classic-build-
|
|
178
|
-
* @ember-tooling/
|
|
254
|
+
* @ember-tooling/classic-build-addon-blueprint 6.8.0-alpha.3 (patch)
|
|
255
|
+
* @ember-tooling/classic-build-app-blueprint 6.8.0-alpha.3 (patch)
|
|
256
|
+
* @ember-tooling/blueprint-model 0.1.0 (minor)
|
|
257
|
+
* ember-cli 6.8.0-alpha.3 (patch)
|
|
179
258
|
|
|
180
|
-
#### :
|
|
181
|
-
* `@ember-tooling/
|
|
182
|
-
* [#
|
|
259
|
+
#### :rocket: Enhancement
|
|
260
|
+
* `@ember-tooling/blueprint-model`
|
|
261
|
+
* [#10781](https://github.com/ember-cli/ember-cli/pull/10781) Add new `VITE` experiment to generate app with new Vite blueprint ([@pichfl](https://github.com/pichfl))
|
|
183
262
|
|
|
184
263
|
#### Committers: 1
|
|
185
|
-
-
|
|
264
|
+
- Florian Pichler ([@pichfl](https://github.com/pichfl))
|
|
186
265
|
|
|
187
|
-
## Release (2025-
|
|
266
|
+
## Release (2025-09-01)
|
|
188
267
|
|
|
189
|
-
* ember-
|
|
190
|
-
* @ember-tooling/classic-build-app-blueprint 6.
|
|
268
|
+
* @ember-tooling/classic-build-addon-blueprint 6.8.0-alpha.2 (minor)
|
|
269
|
+
* @ember-tooling/classic-build-app-blueprint 6.8.0-alpha.2 (minor)
|
|
270
|
+
* ember-cli 6.8.0-alpha.2 (patch)
|
|
271
|
+
|
|
272
|
+
#### :rocket: Enhancement
|
|
273
|
+
* `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
|
|
274
|
+
* [#10791](https://github.com/ember-cli/ember-cli/pull/10791) update the format of the ember-cli-update.json ([@mansona](https://github.com/mansona))
|
|
275
|
+
* Other
|
|
276
|
+
* [#10785](https://github.com/ember-cli/ember-cli/pull/10785) Depracate passing filenames and globs to `init` ([@pichfl](https://github.com/pichfl))
|
|
277
|
+
* [#10776](https://github.com/ember-cli/ember-cli/pull/10776) Add deprecation warning for the `--embroider` argument ([@pichfl](https://github.com/pichfl))
|
|
191
278
|
|
|
192
279
|
#### :bug: Bug Fix
|
|
193
|
-
*
|
|
194
|
-
* [#
|
|
280
|
+
* Other
|
|
281
|
+
* [#10782](https://github.com/ember-cli/ember-cli/pull/10782) update heimdall-fs-monitor ([@mansona](https://github.com/mansona))
|
|
195
282
|
* `@ember-tooling/classic-build-app-blueprint`
|
|
196
|
-
* [#
|
|
283
|
+
* [#10707](https://github.com/ember-cli/ember-cli/pull/10707) Enabled recommended configs from eslint-plugin-n and eslint-plugin-qunit ([@ijlee2](https://github.com/ijlee2))
|
|
197
284
|
|
|
198
|
-
####
|
|
285
|
+
#### :house: Internal
|
|
286
|
+
* [#10790](https://github.com/ember-cli/ember-cli/pull/10790) Reorganize tests for `new` and `addon` commands ([@pichfl](https://github.com/pichfl))
|
|
287
|
+
* [#10783](https://github.com/ember-cli/ember-cli/pull/10783) remove unused changelog script ([@mansona](https://github.com/mansona))
|
|
288
|
+
* [#10764](https://github.com/ember-cli/ember-cli/pull/10764) fix double CI run on release-plan PR ([@mansona](https://github.com/mansona))
|
|
289
|
+
* [#10750](https://github.com/ember-cli/ember-cli/pull/10750) Add more notes to the Release.md ([@mansona](https://github.com/mansona))
|
|
290
|
+
|
|
291
|
+
#### Committers: 3
|
|
199
292
|
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
293
|
+
- Florian Pichler ([@pichfl](https://github.com/pichfl))
|
|
294
|
+
- Isaac Lee ([@ijlee2](https://github.com/ijlee2))
|
|
200
295
|
|
|
201
|
-
## Release (2025-
|
|
296
|
+
## Release (2025-08-02)
|
|
202
297
|
|
|
203
|
-
* ember-
|
|
204
|
-
* @ember-tooling/classic-build-
|
|
205
|
-
*
|
|
298
|
+
* @ember-tooling/classic-build-addon-blueprint 6.8.0-alpha.1 (minor)
|
|
299
|
+
* @ember-tooling/classic-build-app-blueprint 6.8.0-alpha.1 (minor)
|
|
300
|
+
* ember-cli 6.8.0-alpha.1 (patch)
|
|
206
301
|
|
|
207
302
|
#### :rocket: Enhancement
|
|
208
|
-
*
|
|
209
|
-
* [#
|
|
303
|
+
* `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
|
|
304
|
+
* [#10755](https://github.com/ember-cli/ember-cli/pull/10755) Prepare 6.7-beta ([@mansona](https://github.com/mansona))
|
|
305
|
+
* Other
|
|
306
|
+
* [#10751](https://github.com/ember-cli/ember-cli/pull/10751) [BETA BACKPORT] Backport drop node 18 ([@mansona](https://github.com/mansona))
|
|
307
|
+
|
|
308
|
+
#### :house: Internal
|
|
309
|
+
* `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
|
|
310
|
+
* [#10763](https://github.com/ember-cli/ember-cli/pull/10763) Prepare 6.8-alpha ([@mansona](https://github.com/mansona))
|
|
311
|
+
* [#10754](https://github.com/ember-cli/ember-cli/pull/10754) Prepare Beta Release ([@github-actions[bot]](https://github.com/apps/github-actions))
|
|
312
|
+
* Other
|
|
313
|
+
* [#10761](https://github.com/ember-cli/ember-cli/pull/10761) update release-plan ([@mansona](https://github.com/mansona))
|
|
314
|
+
|
|
315
|
+
#### Committers: 2
|
|
316
|
+
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
317
|
+
- [@github-actions[bot]](https://github.com/apps/github-actions)
|
|
318
|
+
|
|
319
|
+
## Release (2025-07-26)
|
|
320
|
+
|
|
321
|
+
* @ember-tooling/classic-build-addon-blueprint 6.7.0-alpha.4 (minor)
|
|
322
|
+
* @ember-tooling/classic-build-app-blueprint 6.7.0-alpha.4 (minor)
|
|
323
|
+
* ember-cli 6.7.0-alpha.4 (patch)
|
|
324
|
+
|
|
325
|
+
#### :rocket: Enhancement
|
|
326
|
+
* `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
|
|
210
327
|
* [#10742](https://github.com/ember-cli/ember-cli/pull/10742) Drop node 18, add node 24 ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
|
|
211
328
|
|
|
212
329
|
#### :bug: Bug Fix
|
|
330
|
+
* `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
|
|
331
|
+
* [#10742](https://github.com/ember-cli/ember-cli/pull/10742) Drop node 18, add node 24 ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
|
|
332
|
+
|
|
333
|
+
#### :memo: Documentation
|
|
334
|
+
* `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
|
|
335
|
+
* [#10742](https://github.com/ember-cli/ember-cli/pull/10742) Drop node 18, add node 24 ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
|
|
336
|
+
|
|
337
|
+
#### :house: Internal
|
|
338
|
+
* [#10748](https://github.com/ember-cli/ember-cli/pull/10748) update blueprint version of ember-cli as part of release plan ([@mansona](https://github.com/mansona))
|
|
339
|
+
* [#10747](https://github.com/ember-cli/ember-cli/pull/10747) only use the PAT for the PR creation in release-plan ([@mansona](https://github.com/mansona))
|
|
340
|
+
* [#10744](https://github.com/ember-cli/ember-cli/pull/10744) run tests on the release-plan PR ([@mansona](https://github.com/mansona))
|
|
341
|
+
|
|
342
|
+
#### Committers: 2
|
|
343
|
+
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
344
|
+
- [@NullVoxPopuli](https://github.com/NullVoxPopuli)
|
|
345
|
+
|
|
346
|
+
## Release (2025-06-30)
|
|
347
|
+
|
|
348
|
+
* @ember-tooling/classic-build-addon-blueprint 6.7.0-alpha.3 (patch)
|
|
349
|
+
* @ember-tooling/classic-build-app-blueprint 6.7.0-alpha.3 (patch)
|
|
350
|
+
* @ember-tooling/blueprint-blueprint 0.0.2 (patch)
|
|
351
|
+
* @ember-tooling/blueprint-model 0.0.2 (patch)
|
|
352
|
+
* ember-cli 6.7.0-alpha.3 (patch)
|
|
353
|
+
|
|
354
|
+
#### :house: Internal
|
|
355
|
+
* `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`, `@ember-tooling/blueprint-blueprint`, `@ember-tooling/blueprint-model`
|
|
356
|
+
* [#10738](https://github.com/ember-cli/ember-cli/pull/10738) add a repository for each of the packages ([@mansona](https://github.com/mansona))
|
|
357
|
+
|
|
358
|
+
#### Committers: 1
|
|
359
|
+
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
360
|
+
|
|
361
|
+
## Release (2025-06-30)
|
|
362
|
+
|
|
363
|
+
* @ember-tooling/classic-build-addon-blueprint 6.7.0-alpha.2 (patch)
|
|
364
|
+
* @ember-tooling/classic-build-app-blueprint 6.7.0-alpha.2 (patch)
|
|
365
|
+
* @ember-tooling/blueprint-blueprint 0.0.1 (patch)
|
|
366
|
+
* @ember-tooling/blueprint-model 0.0.1 (patch)
|
|
367
|
+
* ember-cli 6.7.0-alpha.2 (patch)
|
|
368
|
+
|
|
369
|
+
#### :house: Internal
|
|
370
|
+
* Other
|
|
371
|
+
* [#10735](https://github.com/ember-cli/ember-cli/pull/10735) remove unnecessary project override ([@mansona](https://github.com/mansona))
|
|
372
|
+
* `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`, `@ember-tooling/blueprint-blueprint`, `@ember-tooling/blueprint-model`
|
|
373
|
+
* [#10736](https://github.com/ember-cli/ember-cli/pull/10736) update all sub-packages to have the @ember-tooling prefix ([@mansona](https://github.com/mansona))
|
|
374
|
+
* [#10671](https://github.com/ember-cli/ember-cli/pull/10671) Implement the built in app, addon, and blueprint blueprints by package lookup ([@mansona](https://github.com/mansona))
|
|
375
|
+
|
|
376
|
+
#### Committers: 1
|
|
377
|
+
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
378
|
+
|
|
379
|
+
## Release (2025-06-16)
|
|
380
|
+
|
|
381
|
+
* ember-cli 6.7.0-alpha.1 (minor)
|
|
382
|
+
|
|
383
|
+
#### :rocket: Enhancement
|
|
213
384
|
* `ember-cli`
|
|
214
|
-
* [#
|
|
385
|
+
* [#10705](https://github.com/ember-cli/ember-cli/pull/10705) add `--strict` flag for new app and addon generation ([@mansona](https://github.com/mansona))
|
|
215
386
|
|
|
216
387
|
#### :memo: Documentation
|
|
217
388
|
* `ember-cli`
|
|
@@ -219,32 +390,20 @@
|
|
|
219
390
|
|
|
220
391
|
#### :house: Internal
|
|
221
392
|
* `ember-cli`
|
|
222
|
-
* [#
|
|
223
|
-
* [#
|
|
224
|
-
* [#
|
|
225
|
-
* [#
|
|
226
|
-
* [#10744](https://github.com/ember-cli/ember-cli/pull/10744) run tests on the release-plan PR ([@mansona](https://github.com/mansona))
|
|
227
|
-
* [#10735](https://github.com/ember-cli/ember-cli/pull/10735) remove unnecessary project override ([@mansona](https://github.com/mansona))
|
|
228
|
-
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
|
|
229
|
-
* [#10800](https://github.com/ember-cli/ember-cli/pull/10800) fix release-plan for stable release ([@mansona](https://github.com/mansona))
|
|
230
|
-
* [#10736](https://github.com/ember-cli/ember-cli/pull/10736) update all sub-packages to have the @ember-tooling prefix ([@mansona](https://github.com/mansona))
|
|
231
|
-
* [#10671](https://github.com/ember-cli/ember-cli/pull/10671) Implement the built in app, addon, and blueprint blueprints by package lookup ([@mansona](https://github.com/mansona))
|
|
232
|
-
* `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`, `ember-cli`
|
|
233
|
-
* [#10738](https://github.com/ember-cli/ember-cli/pull/10738) add a repository for each of the packages ([@mansona](https://github.com/mansona))
|
|
393
|
+
* [#10731](https://github.com/ember-cli/ember-cli/pull/10731) Prepare Alpha 6.7.0 ([@mansona](https://github.com/mansona))
|
|
394
|
+
* [#10728](https://github.com/ember-cli/ember-cli/pull/10728) Prepare Beta 6.6.0 ([@mansona](https://github.com/mansona))
|
|
395
|
+
* [#10726](https://github.com/ember-cli/ember-cli/pull/10726) use patched github-changelog for properly rolling up beta changelog ([@mansona](https://github.com/mansona))
|
|
396
|
+
* [#10717](https://github.com/ember-cli/ember-cli/pull/10717) pass --publish-branch to release-plan publish ([@mansona](https://github.com/mansona))
|
|
234
397
|
|
|
235
|
-
#### Committers:
|
|
236
|
-
- Boris Petrov ([@boris-petrov](https://github.com/boris-petrov))
|
|
398
|
+
#### Committers: 1
|
|
237
399
|
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
238
|
-
- [@NullVoxPopuli](https://github.com/NullVoxPopuli)
|
|
239
400
|
|
|
240
|
-
## Release (2025-
|
|
401
|
+
## Release (2025-06-16)
|
|
241
402
|
|
|
242
|
-
* ember-cli 6.6.0 (minor)
|
|
403
|
+
* ember-cli 6.6.0-beta.1 (minor)
|
|
243
404
|
|
|
244
405
|
#### :rocket: Enhancement
|
|
245
406
|
* `ember-cli`
|
|
246
|
-
* [#10749](https://github.com/ember-cli/ember-cli/pull/10749) Update all dependencies for 6.6 release ([@mansona](https://github.com/mansona))
|
|
247
|
-
* [#10751](https://github.com/ember-cli/ember-cli/pull/10751) [BETA BACKPORT] Backport drop node 18 ([@mansona](https://github.com/mansona))
|
|
248
407
|
* [#10701](https://github.com/ember-cli/ember-cli/pull/10701) [ENHANCEMENT] Support Bun ([@hexadecy](https://github.com/hexadecy))
|
|
249
408
|
* [#10664](https://github.com/ember-cli/ember-cli/pull/10664) [ENHANCEMENT] Remove ember-fetch ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
|
|
250
409
|
|
|
@@ -255,6 +414,8 @@
|
|
|
255
414
|
|
|
256
415
|
#### :house: Internal
|
|
257
416
|
* `ember-cli`
|
|
417
|
+
* [#10728](https://github.com/ember-cli/ember-cli/pull/10728) Prepare Beta 6.6.0 ([@mansona](https://github.com/mansona))
|
|
418
|
+
* [#10726](https://github.com/ember-cli/ember-cli/pull/10726) use patched github-changelog for properly rolling up beta changelog ([@mansona](https://github.com/mansona))
|
|
258
419
|
* [#10699](https://github.com/ember-cli/ember-cli/pull/10699) Start using release-plan for releasing ember-cli ([@mansona](https://github.com/mansona))
|
|
259
420
|
* [#10670](https://github.com/ember-cli/ember-cli/pull/10670) testing: don't generate temp directories in the repo ([@mansona](https://github.com/mansona))
|
|
260
421
|
|
package/docs/build/data.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"logo": "https://ember-cli.com/assets/images/ember-cli-logo-small-dark.png",
|
|
4
4
|
"name": "ember-cli",
|
|
5
5
|
"description": "Command line tool for developing ambitious ember.js apps",
|
|
6
|
-
"version": "6.
|
|
6
|
+
"version": "6.12.0-alpha.3-master-5d4316da08"
|
|
7
7
|
},
|
|
8
8
|
"files": {
|
|
9
9
|
"lib/broccoli/default-packager.js": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-cli",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.12.0-alpha.3",
|
|
4
4
|
"description": "Command line tool for developing ambitious ember.js apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -31,13 +31,11 @@
|
|
|
31
31
|
"minor": "prerelease",
|
|
32
32
|
"patch": "prerelease"
|
|
33
33
|
},
|
|
34
|
-
"semverIncrementTag": "
|
|
35
|
-
"publishTag": "
|
|
34
|
+
"semverIncrementTag": "alpha",
|
|
35
|
+
"publishTag": "alpha"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@ember
|
|
39
|
-
"@ember-tooling/blueprint-model": "^0.5.0",
|
|
40
|
-
"@ember/app-blueprint": "~6.11.0-beta.2",
|
|
38
|
+
"@ember/app-blueprint": "~6.12.0-alpha.1",
|
|
41
39
|
"@pnpm/find-workspace-dir": "^1000.1.3",
|
|
42
40
|
"babel-remove-types": "^1.0.2",
|
|
43
41
|
"broccoli": "^4.0.0",
|
|
@@ -90,7 +88,6 @@
|
|
|
90
88
|
"inquirer": "^13.1.0",
|
|
91
89
|
"is-git-url": "^1.0.0",
|
|
92
90
|
"is-language-code": "^5.1.0",
|
|
93
|
-
"isbinaryfile": "^6.0.0",
|
|
94
91
|
"lodash": "^4.17.21",
|
|
95
92
|
"markdown-it": "^14.1.0",
|
|
96
93
|
"markdown-it-terminal": "^0.4.0",
|
|
@@ -120,8 +117,10 @@
|
|
|
120
117
|
"watch-detector": "^1.0.2",
|
|
121
118
|
"workerpool": "^10.0.1",
|
|
122
119
|
"yam": "^1.0.0",
|
|
123
|
-
"@ember-tooling/
|
|
124
|
-
"@ember-tooling/classic-build-
|
|
120
|
+
"@ember-tooling/blueprint-model": "0.6.1",
|
|
121
|
+
"@ember-tooling/classic-build-addon-blueprint": "6.12.0-alpha.2",
|
|
122
|
+
"@ember-tooling/blueprint-blueprint": "0.3.0",
|
|
123
|
+
"@ember-tooling/classic-build-app-blueprint": "6.12.0-alpha.2"
|
|
125
124
|
},
|
|
126
125
|
"devDependencies": {
|
|
127
126
|
"broccoli-plugin": "^4.0.3",
|
|
@@ -90,10 +90,6 @@ module.exports = {
|
|
|
90
90
|
// @see https://github.com/emberjs/rfcs/blob/master/text/0811-element-modifiers.md#detailed-design
|
|
91
91
|
delete contents.devDependencies['ember-modifier'];
|
|
92
92
|
|
|
93
|
-
// Per RFC #812, addons should not have this dependency.
|
|
94
|
-
// @see https://github.com/emberjs/rfcs/blob/master/text/0812-tracked-built-ins.md#detailed-design
|
|
95
|
-
delete contents.devDependencies['tracked-built-ins'];
|
|
96
|
-
|
|
97
93
|
// 100% of addons don't need ember-cli-app-version, make it opt-in instead
|
|
98
94
|
delete contents.devDependencies['ember-cli-app-version'];
|
|
99
95
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember-tooling/classic-build-addon-blueprint",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.12.0-alpha.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/ember-cli/ember-cli.git",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"ember-blueprint"
|
|
12
12
|
],
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@ember-tooling/blueprint-model": "
|
|
14
|
+
"@ember-tooling/blueprint-model": "workspace:*",
|
|
15
15
|
"chalk": "^5.6.2",
|
|
16
16
|
"ember-cli-normalize-entity-name": "^1.0.0",
|
|
17
17
|
"ember-cli-string-utils": "^1.1.0",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"minor": "prerelease",
|
|
27
27
|
"patch": "prerelease"
|
|
28
28
|
},
|
|
29
|
-
"semverIncrementTag": "
|
|
30
|
-
"publishTag": "
|
|
29
|
+
"semverIncrementTag": "alpha",
|
|
30
|
+
"publishTag": "alpha"
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"broccoli-asset-rev": "^3.0.0",
|
|
61
61
|
"concurrently": "^9.2.1",
|
|
62
62
|
"ember-auto-import": "^2.12.0",
|
|
63
|
-
"ember-cli": "~6.
|
|
63
|
+
"ember-cli": "~6.12.0-alpha.3",
|
|
64
64
|
"ember-cli-app-version": "^7.0.0",
|
|
65
65
|
"ember-cli-babel": "^8.2.0",
|
|
66
66
|
"ember-cli-clean-css": "^3.0.0",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"ember-page-title": "^9.0.3",
|
|
77
77
|
"ember-qunit": "^9.0.4",
|
|
78
78
|
"ember-resolver": "^13.1.1",
|
|
79
|
-
"ember-source": "~6.
|
|
79
|
+
"ember-source": "~6.12.0-alpha.1",
|
|
80
80
|
"ember-template-imports": "^4.4.0",
|
|
81
81
|
"ember-template-lint": "^6.1.0<% if (welcome) { %>",
|
|
82
82
|
"ember-welcome-page": "^7.0.2<% } %>",
|
|
@@ -88,12 +88,11 @@
|
|
|
88
88
|
"globals": "^15.15.0",
|
|
89
89
|
"loader.js": "^4.7.0",
|
|
90
90
|
"prettier": "^3.8.1",
|
|
91
|
-
"prettier-plugin-ember-template-tag": "^2.1.
|
|
91
|
+
"prettier-plugin-ember-template-tag": "^2.1.3",
|
|
92
92
|
"qunit": "^2.25.0",
|
|
93
93
|
"qunit-dom": "^3.5.0",
|
|
94
94
|
"stylelint": "^16.26.1",
|
|
95
|
-
"stylelint-config-standard": "^36.0.1",
|
|
96
|
-
"tracked-built-ins": "^3.4.0<% if (typescript) { %>",
|
|
95
|
+
"stylelint-config-standard": "^36.0.1<% if (typescript) { %>",
|
|
97
96
|
"typescript": "^5.9.3",
|
|
98
97
|
"typescript-eslint": "^8.53.1<% } %>",
|
|
99
98
|
"webpack": "^5.104.1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember-tooling/classic-build-app-blueprint",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.12.0-alpha.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/ember-cli/ember-cli.git",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"ember-blueprint"
|
|
12
12
|
],
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@ember-tooling/blueprint-model": "
|
|
14
|
+
"@ember-tooling/blueprint-model": "workspace:*",
|
|
15
15
|
"chalk": "^5.6.2",
|
|
16
16
|
"ember-cli-string-utils": "^1.1.0"
|
|
17
17
|
},
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"minor": "prerelease",
|
|
21
21
|
"patch": "prerelease"
|
|
22
22
|
},
|
|
23
|
-
"semverIncrementTag": "
|
|
24
|
-
"publishTag": "
|
|
23
|
+
"semverIncrementTag": "alpha",
|
|
24
|
+
"publishTag": "alpha"
|
|
25
25
|
}
|
|
26
26
|
}
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
description: ''
|
|
5
|
+
|
|
6
|
+
// locals(options) {
|
|
7
|
+
// // Return custom template variables here.
|
|
8
|
+
// return {
|
|
9
|
+
// foo: options.entity.options.foo
|
|
10
|
+
// };
|
|
11
|
+
// }
|
|
12
|
+
|
|
13
|
+
// afterInstall(options) {
|
|
14
|
+
// // Perform extra work here.
|
|
15
|
+
// }
|
|
16
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ember-tooling/blueprint-blueprint",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "https://github.com/ember-cli/ember-cli.git",
|
|
7
|
+
"directory": "packages/blueprint-blueprint"
|
|
8
|
+
},
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"keywords": [
|
|
11
|
+
"ember-blueprint"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ember-tooling/blueprint-model",
|
|
3
|
+
"version": "0.6.1",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "https://github.com/ember-cli/ember-cli.git",
|
|
7
|
+
"directory": "packages/blueprint-model"
|
|
8
|
+
},
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"chalk": "^5.6.2",
|
|
12
|
+
"diff": "^7.0.0",
|
|
13
|
+
"isbinaryfile": "^5.0.4",
|
|
14
|
+
"lodash": "^4.17.21",
|
|
15
|
+
"promise.hash.helper": "^1.0.8",
|
|
16
|
+
"quick-temp": "^0.1.8",
|
|
17
|
+
"silent-error": "^1.1.1"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const path = require('path');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Derive a directory name from a package name.
|
|
7
|
+
* Takes scoped packages into account.
|
|
8
|
+
*
|
|
9
|
+
* @method directoryForPackageName
|
|
10
|
+
* @param {String} packageName
|
|
11
|
+
* @return {String} Derived directory name.
|
|
12
|
+
*/
|
|
13
|
+
module.exports = function directoryForPackageName(packageName) {
|
|
14
|
+
let isScoped = packageName[0] === '@' && packageName.includes('/');
|
|
15
|
+
|
|
16
|
+
if (isScoped) {
|
|
17
|
+
let slashIndex = packageName.indexOf('/');
|
|
18
|
+
let scopeName = packageName.substring(1, slashIndex);
|
|
19
|
+
let packageNameWithoutScope = packageName.substring(slashIndex + 1);
|
|
20
|
+
let pathParts = process.cwd().split(path.sep);
|
|
21
|
+
let parentDirectoryContainsScopeName = pathParts.includes(scopeName);
|
|
22
|
+
|
|
23
|
+
if (parentDirectoryContainsScopeName) {
|
|
24
|
+
return packageNameWithoutScope;
|
|
25
|
+
} else {
|
|
26
|
+
return `${scopeName}-${packageNameWithoutScope}`;
|
|
27
|
+
}
|
|
28
|
+
} else {
|
|
29
|
+
return packageName;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const fs = require('fs');
|
|
4
|
+
const util = require('util');
|
|
5
|
+
const { applyPatch, createPatch } = require('diff');
|
|
6
|
+
const quickTemp = require('quick-temp');
|
|
7
|
+
const path = require('path');
|
|
8
|
+
const SilentError = require('silent-error');
|
|
9
|
+
const openEditor = require('./open-editor');
|
|
10
|
+
const hash = require('promise.hash.helper');
|
|
11
|
+
|
|
12
|
+
const readFile = util.promisify(fs.readFile);
|
|
13
|
+
const writeFile = util.promisify(fs.writeFile);
|
|
14
|
+
|
|
15
|
+
class EditFileDiff {
|
|
16
|
+
constructor(options) {
|
|
17
|
+
this.info = options.info;
|
|
18
|
+
|
|
19
|
+
quickTemp.makeOrRemake(this, 'tmpDifferenceDir');
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
edit() {
|
|
23
|
+
return hash({
|
|
24
|
+
input: this.info.render(),
|
|
25
|
+
output: readFile(this.info.outputPath),
|
|
26
|
+
})
|
|
27
|
+
.then(this.invokeEditor.bind(this))
|
|
28
|
+
.then(this.applyPatch.bind(this))
|
|
29
|
+
.finally(this.cleanUp.bind(this));
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
cleanUp() {
|
|
33
|
+
quickTemp.remove(this, 'tmpDifferenceDir');
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
applyPatch(resultHash) {
|
|
37
|
+
return hash({
|
|
38
|
+
diffString: readFile(resultHash.diffPath),
|
|
39
|
+
currentString: readFile(resultHash.outputPath),
|
|
40
|
+
}).then((result) => {
|
|
41
|
+
let appliedDiff = applyPatch(result.currentString.toString(), result.diffString.toString());
|
|
42
|
+
|
|
43
|
+
if (!appliedDiff) {
|
|
44
|
+
let message = 'Patch was not cleanly applied.';
|
|
45
|
+
this.info.ui.writeLine(`${message} Please choose another action.`);
|
|
46
|
+
throw new SilentError(message);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
return writeFile(resultHash.outputPath, appliedDiff);
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
invokeEditor(result) {
|
|
54
|
+
let info = this.info;
|
|
55
|
+
let diff = createPatch(info.outputPath, result.output.toString(), result.input);
|
|
56
|
+
let diffPath = path.join(this.tmpDifferenceDir, 'currentDiff.diff');
|
|
57
|
+
|
|
58
|
+
return writeFile(diffPath, diff)
|
|
59
|
+
.then(() => openEditor(diffPath))
|
|
60
|
+
.then(() => ({ outputPath: info.outputPath, diffPath }));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
module.exports = EditFileDiff;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const { default: chalk } = require('chalk');
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
If you're here to remove the VITE experiment flag in favor of it being
|
|
7
|
+
permanently on, you can't do that until addressing
|
|
8
|
+
https://github.com/ember-cli/ember-cli/pull/10781#pullrequestreview-3230644293
|
|
9
|
+
|
|
10
|
+
A lot of test coverage would otherwise be lost, because valid tests are being
|
|
11
|
+
run only when the VITE experiment is off.
|
|
12
|
+
*/
|
|
13
|
+
const availableExperiments = Object.freeze(['EMBROIDER', 'CLASSIC', 'VITE']);
|
|
14
|
+
|
|
15
|
+
const deprecatedExperiments = Object.freeze([]);
|
|
16
|
+
const enabledExperiments = Object.freeze(['VITE']);
|
|
17
|
+
const deprecatedExperimentsDeprecationsIssued = [];
|
|
18
|
+
|
|
19
|
+
function isExperimentEnabled(experimentName) {
|
|
20
|
+
if (!availableExperiments.includes(experimentName)) {
|
|
21
|
+
return false;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
if (process.env.EMBER_CLI_ENABLE_ALL_EXPERIMENTS && deprecatedExperiments.includes(experimentName)) {
|
|
25
|
+
return false;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
if (process.env.EMBER_CLI_ENABLE_ALL_EXPERIMENTS) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
if (process.env.EMBER_CLI_CLASSIC && experimentName === 'EMBROIDER') {
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
let experimentEnvironmentVariable = `EMBER_CLI_${experimentName}`;
|
|
37
|
+
let experimentValue = process.env[experimentEnvironmentVariable];
|
|
38
|
+
|
|
39
|
+
if (deprecatedExperiments.includes(experimentName)) {
|
|
40
|
+
let deprecationPreviouslyIssued = deprecatedExperimentsDeprecationsIssued.includes(experimentName);
|
|
41
|
+
let isSpecifiedByUser = experimentValue !== undefined;
|
|
42
|
+
|
|
43
|
+
if (!deprecationPreviouslyIssued && isSpecifiedByUser) {
|
|
44
|
+
console.warn(
|
|
45
|
+
chalk.yellow(`The ${experimentName} experiment in ember-cli has been deprecated and will be removed.`)
|
|
46
|
+
);
|
|
47
|
+
deprecatedExperimentsDeprecationsIssued.push(experimentName);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
if (enabledExperiments.includes(experimentName)) {
|
|
52
|
+
return experimentValue !== 'false';
|
|
53
|
+
} else {
|
|
54
|
+
return experimentValue !== undefined && experimentValue !== 'false';
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
module.exports = {
|
|
59
|
+
isExperimentEnabled,
|
|
60
|
+
|
|
61
|
+
// exported for testing purposes
|
|
62
|
+
_deprecatedExperimentsDeprecationsIssued: deprecatedExperimentsDeprecationsIssued,
|
|
63
|
+
};
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const fs = require('fs');
|
|
4
|
+
const util = require('util');
|
|
5
|
+
const { default: chalk } = require('chalk');
|
|
6
|
+
const EditFileDiff = require('./edit-file-diff');
|
|
7
|
+
const EOL = require('os').EOL;
|
|
8
|
+
const rxEOL = new RegExp(EOL, 'g');
|
|
9
|
+
const isBinaryFile = require('isbinaryfile').isBinaryFileSync;
|
|
10
|
+
const hash = require('promise.hash.helper');
|
|
11
|
+
const canEdit = require('./open-editor').canEdit;
|
|
12
|
+
const processTemplate = require('./process-template');
|
|
13
|
+
|
|
14
|
+
const readFile = util.promisify(fs.readFile);
|
|
15
|
+
const lstat = util.promisify(fs.stat);
|
|
16
|
+
|
|
17
|
+
function diffHighlight(line) {
|
|
18
|
+
if (line[0] === '+') {
|
|
19
|
+
return chalk.green(line);
|
|
20
|
+
} else if (line[0] === '-') {
|
|
21
|
+
return chalk.red(line);
|
|
22
|
+
} else if (/^@@/.test(line)) {
|
|
23
|
+
return chalk.cyan(line);
|
|
24
|
+
} else {
|
|
25
|
+
return line;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
const NOOP = (_) => _;
|
|
30
|
+
class FileInfo {
|
|
31
|
+
constructor(options) {
|
|
32
|
+
this.action = options.action;
|
|
33
|
+
this.outputBasePath = options.outputBasePath;
|
|
34
|
+
this.outputPath = options.outputPath;
|
|
35
|
+
this.displayPath = options.displayPath;
|
|
36
|
+
this.inputPath = options.inputPath;
|
|
37
|
+
this.templateVariables = options.templateVariables;
|
|
38
|
+
this.replacer = options.replacer || NOOP;
|
|
39
|
+
this.ui = options.ui;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
confirmOverwrite(path) {
|
|
43
|
+
let promptOptions = {
|
|
44
|
+
type: 'expand',
|
|
45
|
+
name: 'answer',
|
|
46
|
+
default: false,
|
|
47
|
+
message: `${chalk.red('Overwrite')} ${path}?`,
|
|
48
|
+
choices: [
|
|
49
|
+
{ key: 'y', name: 'Yes, overwrite', value: 'overwrite' },
|
|
50
|
+
{ key: 'n', name: 'No, skip', value: 'skip' },
|
|
51
|
+
],
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
let outputPathIsFile = false;
|
|
55
|
+
try {
|
|
56
|
+
outputPathIsFile = fs.statSync(this.outputPath).isFile();
|
|
57
|
+
} catch (err) {
|
|
58
|
+
/* ignore */
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
let canDiff = !isBinaryFile(this.inputPath) && (!outputPathIsFile || !isBinaryFile(this.outputPath));
|
|
62
|
+
|
|
63
|
+
if (canDiff) {
|
|
64
|
+
promptOptions.choices.push({ key: 'd', name: 'Diff', value: 'diff' });
|
|
65
|
+
|
|
66
|
+
if (canEdit()) {
|
|
67
|
+
promptOptions.choices.push({ key: 'e', name: 'Edit', value: 'edit' });
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
return this.ui.prompt(promptOptions).then((response) => response.answer);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
displayDiff() {
|
|
75
|
+
let info = this,
|
|
76
|
+
{ createPatch } = require('diff');
|
|
77
|
+
return hash({
|
|
78
|
+
input: this.render(),
|
|
79
|
+
output: readFile(info.outputPath),
|
|
80
|
+
}).then((result) => {
|
|
81
|
+
let diff = createPatch(
|
|
82
|
+
info.outputPath,
|
|
83
|
+
result.output.toString().replace(rxEOL, '\n'),
|
|
84
|
+
result.input.replace(rxEOL, '\n')
|
|
85
|
+
);
|
|
86
|
+
let lines = diff.split('\n');
|
|
87
|
+
|
|
88
|
+
for (let i = 0; i < lines.length; i++) {
|
|
89
|
+
info.ui.write(diffHighlight(lines[i] + EOL));
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
async render() {
|
|
95
|
+
if (!this.rendered) {
|
|
96
|
+
let result = await this._render();
|
|
97
|
+
this.rendered = this.replacer(result, this);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
return this.rendered;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
_render() {
|
|
104
|
+
let path = this.inputPath;
|
|
105
|
+
let context = this.templateVariables;
|
|
106
|
+
|
|
107
|
+
return readFile(path).then((content) =>
|
|
108
|
+
lstat(path).then((fileStat) => {
|
|
109
|
+
if (isBinaryFile(content, fileStat.size)) {
|
|
110
|
+
return content;
|
|
111
|
+
} else {
|
|
112
|
+
try {
|
|
113
|
+
return processTemplate(content.toString(), context);
|
|
114
|
+
} catch (err) {
|
|
115
|
+
err.message += ` (Error in blueprint template: ${path})`;
|
|
116
|
+
throw err;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
})
|
|
120
|
+
);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
checkForConflict() {
|
|
124
|
+
return this.render().then((input) => {
|
|
125
|
+
input = input.toString().replace(rxEOL, '\n');
|
|
126
|
+
|
|
127
|
+
return readFile(this.outputPath)
|
|
128
|
+
.then((output) => {
|
|
129
|
+
output = output.toString().replace(rxEOL, '\n');
|
|
130
|
+
|
|
131
|
+
return input === output ? 'identical' : 'confirm';
|
|
132
|
+
})
|
|
133
|
+
.catch((e) => {
|
|
134
|
+
if (e.code === 'ENOENT') {
|
|
135
|
+
return 'none';
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
throw e;
|
|
139
|
+
});
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
confirmOverwriteTask() {
|
|
144
|
+
let info = this;
|
|
145
|
+
|
|
146
|
+
return function () {
|
|
147
|
+
function doConfirm() {
|
|
148
|
+
return info.confirmOverwrite(info.displayPath).then((action) => {
|
|
149
|
+
if (action === 'diff') {
|
|
150
|
+
return info.displayDiff().then(doConfirm);
|
|
151
|
+
} else if (action === 'edit') {
|
|
152
|
+
let editFileDiff = new EditFileDiff({ info });
|
|
153
|
+
return editFileDiff
|
|
154
|
+
.edit()
|
|
155
|
+
.then(() => (info.action = action))
|
|
156
|
+
.catch(() => doConfirm())
|
|
157
|
+
.then(() => info);
|
|
158
|
+
} else {
|
|
159
|
+
info.action = action;
|
|
160
|
+
return info;
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
return doConfirm();
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
module.exports = FileInfo;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const spawn = require('child_process').spawn;
|
|
4
|
+
|
|
5
|
+
function openEditor(file) {
|
|
6
|
+
if (!openEditor.canEdit()) {
|
|
7
|
+
throw new Error('EDITOR environment variable is not set');
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
if (!file) {
|
|
11
|
+
throw new Error('No `file` option provided');
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
let editorArgs = openEditor._env().EDITOR.split(' ');
|
|
15
|
+
let editor = editorArgs.shift();
|
|
16
|
+
const args = [file].concat(editorArgs);
|
|
17
|
+
let editProcess = openEditor._spawn(editor, args, { stdio: 'inherit' });
|
|
18
|
+
|
|
19
|
+
return new Promise((resolve, reject) => {
|
|
20
|
+
editProcess.on('close', (code) => {
|
|
21
|
+
if (code === 0) {
|
|
22
|
+
resolve();
|
|
23
|
+
} else {
|
|
24
|
+
reject(
|
|
25
|
+
new Error(`Spawn('${editor}', [${args.join(',')}]) exited with a non zero error status code: '${code}'`)
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
openEditor.canEdit = function () {
|
|
33
|
+
return openEditor._env().EDITOR !== undefined;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
openEditor._env = function () {
|
|
37
|
+
return process.env;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
openEditor._spawn = function () {
|
|
41
|
+
return spawn.apply(this, arguments);
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
module.exports = openEditor;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function supportEmoji() {
|
|
4
|
+
const hasEmojiTurnedOff = process.argv.indexOf('--no-emoji') > -1;
|
|
5
|
+
return process.stdout.isTTY && process.platform !== 'win32' && !hasEmojiTurnedOff;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
const areEmojiSupported = supportEmoji();
|
|
9
|
+
|
|
10
|
+
module.exports = function prependEmoji(emoji, msg) {
|
|
11
|
+
return areEmojiSupported ? `${emoji} ${msg}` : msg;
|
|
12
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = function processTemplate(content, context) {
|
|
4
|
+
let options = {
|
|
5
|
+
evaluate: /<%([\s\S]+?)%>/g,
|
|
6
|
+
interpolate: /<%=([\s\S]+?)%>/g,
|
|
7
|
+
escape: /<%-([\s\S]+?)%>/g,
|
|
8
|
+
};
|
|
9
|
+
return require('lodash/template')(content, options)(context);
|
|
10
|
+
};
|