ember-cli 6.5.0-beta.0 → 6.5.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # ember-cli Changelog
2
2
 
3
+ ## Release (2025-06-11)
4
+
5
+ * ember-cli 6.5.0-beta.2 (minor)
6
+
7
+ #### :rocket: Enhancement
8
+ * `ember-cli`
9
+ * [#10705](https://github.com/ember-cli/ember-cli/pull/10705) add `--strict` flag for new app and addon generation ([@mansona](https://github.com/mansona))
10
+
11
+ #### :house: Internal
12
+ * `ember-cli`
13
+ * [#10717](https://github.com/ember-cli/ember-cli/pull/10717) pass --publish-branch to release-plan publish ([@mansona](https://github.com/mansona))
14
+ * [#10716](https://github.com/ember-cli/ember-cli/pull/10716) Prepare Beta Release v6.5.0-beta.1 ([@github-actions[bot]](https://github.com/apps/github-actions))
15
+ * [#10715](https://github.com/ember-cli/ember-cli/pull/10715) [Backport beta]: Set up release-plan ([@mansona](https://github.com/mansona))
16
+
17
+ #### Committers: 2
18
+ - Chris Manson ([@mansona](https://github.com/mansona))
19
+ - [@github-actions[bot]](https://github.com/apps/github-actions)
20
+
21
+ ## Release (2025-06-11)
22
+
23
+ * ember-cli 6.5.0-beta.1 (minor)
24
+
25
+ #### :rocket: Enhancement
26
+ * `ember-cli`
27
+ * [#10705](https://github.com/ember-cli/ember-cli/pull/10705) add `--strict` flag for new app and addon generation ([@mansona](https://github.com/mansona))
28
+
29
+ #### :house: Internal
30
+ * `ember-cli`
31
+ * [#10715](https://github.com/ember-cli/ember-cli/pull/10715) [Backport beta]: Set up release-plan ([@mansona](https://github.com/mansona))
32
+
33
+ #### Committers: 1
34
+ - Chris Manson ([@mansona](https://github.com/mansona))
35
+
3
36
  ## v6.5.0-beta.0
4
37
 
5
38
  #### Blueprint Changes
package/RELEASE.md CHANGED
@@ -1,221 +1,3 @@
1
1
  # Release Process
2
2
 
3
- ember-cli follows the same channel based release process that Ember does:
4
-
5
- * `release` - This branch represents the `latest` dist-tag on NPM
6
- * `beta` - This branch represents the `beta` dist-tag on NPM
7
- * `master` - The branch is not released to the NPM registry, but (generally speaking) can be used directly
8
-
9
- ## Initial Stable Release
10
-
11
- * Update blueprint dependencies to latest
12
-
13
- ```
14
- node ./dev/update-blueprint-dependencies.js --ember-source=latest --ember-data=latest
15
- ```
16
-
17
- * Commit
18
- * Send pull request to `beta` branch
19
- * Wait for PR (for updating blueprint dependencies) to be merged
20
-
21
- * Checkout the `release` branch
22
-
23
- ```
24
- git fetch origin
25
- git checkout -B release --track origin/release
26
- ```
27
-
28
- * Merge `beta` branch into `release`
29
-
30
- ```
31
- git fetch origin
32
- git merge origin/beta
33
- git push origin release
34
- ```
35
-
36
- * Ensure you have the correct dependencies
37
-
38
- ```
39
- git clean -fdx
40
- pnpm install
41
- ```
42
-
43
- * Update the CHANGELOG.md
44
- * Run `node ./dev/changelog`
45
- * Copy output into `CHANGELOG.md`
46
- * Edit to make clearer for consumers (remove non-consumer facing entries, etc)
47
- * Ensure blueprint change diff URLs are correct
48
- * Merge any prior beta entries together
49
- * Update changelog header for current release
50
- * Commit
51
- * Release: `npx release-it`
52
- * Update GitHub Release with changelog contents
53
- * Merge `release` into `beta` branch
54
-
55
- ```
56
- git checkout -B beta --track origin/beta
57
- git merge origin/release
58
- git push origin beta
59
- ```
60
-
61
- ## Stable Patch Release
62
-
63
- * Checkout the `release` branch
64
-
65
- ```
66
- git fetch origin
67
- git checkout -B release --track origin/release
68
- ```
69
-
70
- * Ensure you have the correct dependencies
71
-
72
- ```
73
- git clean -fdx
74
- pnpm install
75
- ```
76
-
77
- * Update the CHANGELOG.md
78
- * Run `node ./dev/changelog`
79
- * Copy output into `CHANGELOG.md`
80
- * Edit to make clearer for consumers (remove non-consumer facing entries, etc)
81
- * Ensure blueprint change diff URLs are correct
82
- * Update changelog header for current release
83
- * Commit
84
- * Release: `npx release-it`
85
- * Update GitHub Release with changelog contents
86
- * Merge `release` into `beta` branch
87
-
88
- ```
89
- git checkout -B beta --track origin/beta
90
- git merge origin/release
91
- git push origin beta
92
- ```
93
-
94
- ## Initial Beta Release
95
-
96
- * Update `ember-source` and `ember-data` to latest beta
97
-
98
- ```
99
- node ./dev/update-blueprint-dependencies.js --ember-source=beta --ember-data=beta
100
- ```
101
-
102
- * Commit
103
- * Send pull request to `master` branch
104
- * Wait for PR (for updating blueprint dependencies) to be merged
105
- * Checkout the `beta` branch
106
-
107
- ```
108
- git fetch origin
109
- git checkout -B beta --track origin/beta
110
- ```
111
-
112
- * Merge `master` branch into `beta`
113
-
114
- ```
115
- git fetch origin
116
- git merge origin/master
117
- git push origin beta
118
- ```
119
-
120
- * Ensure you have the correct dependencies
121
-
122
- ```
123
- git clean -fdx
124
- pnpm install
125
- ```
126
-
127
- * Update the CHANGELOG.md
128
- * Run `node ./dev/changelog`
129
- * Copy output into `CHANGELOG.md`
130
- * Edit to make clearer for consumers (remove non-consumer facing entries, etc)
131
- * Ensure blueprint change diff URLs are correct
132
- * Update changelog header for current release
133
- * Commit
134
- * Release: `npx release-it`
135
- * Update GitHub Release with changelog contents
136
- * Merge `beta` into `master` branch
137
-
138
- ```
139
- git checkout master
140
- git merge origin/beta
141
- git push origin master
142
- ```
143
-
144
- ## Subsequent Beta Release
145
-
146
- * Checkout the `beta` branch
147
-
148
- ```
149
- git fetch origin
150
- git checkout -B beta --track origin/beta
151
- ```
152
-
153
- * Ensure you have the correct dependencies
154
-
155
- ```
156
- git clean -fdx
157
- pnpm install
158
- ```
159
-
160
- * Update the CHANGELOG.md
161
- * Run `node ./dev/changelog`
162
- * Copy output into `CHANGELOG.md`
163
- * Edit to make clearer for consumers (remove non-consumer facing entries, etc)
164
- * Ensure blueprint change diff URLs are correct
165
- * Update changelog header for current release
166
- * Commit
167
- * Release: `npx release-it`
168
- * Update GitHub Release with changelog contents
169
- * Merge `beta` into `master` branch
170
-
171
- ```
172
- git checkout master
173
- git merge origin/beta
174
- git push origin master
175
- ```
176
-
177
- ## Post-release Automation
178
-
179
- There is a GitHub Actions workflow, https://github.com/ember-cli/ember-cli/actions/workflows/sync-output-repos.yml that pushes various invocations of the blueprint generator to "output repos".
180
- After release, make sure that all the jobs are "green" / succeeded.
181
-
182
- <details><summary>What to check afterwards</summary>
183
-
184
- - Apps: https://github.com/ember-cli/ember-app-output
185
- - Addons: https://github.com/ember-cli/ember-addon-output
186
-
187
- Both of these have a git-tag per release version
188
-
189
- ### Online Editors
190
-
191
- Multiple editors could be supported, but right now, we only "customize" for stackblitz.
192
-
193
- https://github.com/ember-cli/editor-output/
194
- - [a branch for each scenario + release version](https://github.com/ember-cli/editor-output/branches/active)
195
- - `${editorName}-{addon,app}-output{-'typescript'?}{-version}`
196
- - and the "latest release" (non beta) will not have a version at the end
197
- - This includes [app, addon] X [javascript, typescript]
198
-
199
- #### StackBlitz
200
-
201
- To make sure StackBlitz runs in their supported browsers (Chrome and FireFox, as of 2023-08-15)
202
-
203
- - App + JS: https://stackblitz.com/github/ember-cli/editor-output/tree/stackblitz-app-output
204
- - App + TS: https://stackblitz.com/github/ember-cli/editor-output/tree/stackblitz-app-output-typescript
205
- - Addon + JS: https://stackblitz.com/github/ember-cli/editor-output/tree/stackblitz-addon-output
206
- - Addon + TS: https://stackblitz.com/github/ember-cli/editor-output/tree/stackblitz-addon-output-typescript
207
-
208
- The App + JS, and App + TS are linked from Stackblitz's frontend templates UI: https://stackblitz.com/?starters=frontend
209
-
210
- </details>
211
-
212
- <details><summary>if problems arise</summary>
213
-
214
- Script for updating addon/app repos: https://github.com/ember-cli/ember-cli/blob/master/dev/update-output-repos.js
215
- Script for updating editors: https://github.com/ember-cli/ember-cli/blob/master/dev/update-editor-output-repos.js
216
-
217
- Customizations on top of the default blueprint(s) are found here: https://github.com/ember-cli/ember-cli/tree/master/dev/online-editors/stackblitz
218
- The intent for these customizations is to either be very light, or not needed at all.
219
- If an online editor breaks with our default blueprint, then it's most likely that _we_ have a bug (or something _very goofy_).
220
-
221
- </details>
3
+ This document has been updated and is being actively managed on the default branch of this repo. Please refer to the version on the default branch to follow the release process: https://github.com/ember-cli/ember-cli/blob/master/RELEASE.md
@@ -246,6 +246,7 @@ module.exports = {
246
246
  emberData: options.emberData,
247
247
  ciProvider: options.ciProvider,
248
248
  typescript: options.typescript,
249
+ strict: options.strict,
249
250
  packageManager: options.packageManager ?? 'npm',
250
251
  };
251
252
  },
@@ -3,5 +3,17 @@
3
3
  Setting `isTypeScriptProject` to true will force the blueprint generators to generate TypeScript
4
4
  rather than JavaScript by default, when a TypeScript version of a given blueprint is available.
5
5
  */
6
- "isTypeScriptProject": <%= typescript ? 'true' : 'false' %>
6
+ "isTypeScriptProject": <%= typescript ? 'true' : 'false' %>,
7
+
8
+ /**
9
+ Setting `componentAuthoringFormat` to "strict" will force the blueprint generators to generate GJS
10
+ or GTS files for the component and the component rendering test. "loose" is the default.
11
+ */
12
+ "componentAuthoringFormat": <%= strict ? '"strict"' : '"loose"' %>,
13
+
14
+ /**
15
+ Setting `routeAuthoringFormat` to "strict" will force the blueprint generators to generate GJS
16
+ or GTS templates for routes. "loose" is the default
17
+ */
18
+ "routeAuthoringFormat": <%= strict ? '"strict"' : '"loose"' %>
7
19
  }
@@ -0,0 +1,15 @@
1
+ import pageTitle from 'ember-page-title/helpers/page-title';<% if (welcome) { %>
2
+ import WelcomePage from 'ember-welcome-page/components/welcome-page';<% } %>
3
+
4
+ <template>
5
+ {{pageTitle "<%= namespace %>"}}
6
+ <% if (welcome) { %>
7
+ {{outlet}}
8
+
9
+ {{! The following component displays Ember's default welcome message. }}
10
+ <WelcomePage />
11
+ {{! Feel free to remove this! }}<% } else { %>
12
+ <h2 id="title">Welcome to Ember</h2>
13
+
14
+ {{outlet}}<% } %>
15
+ </template>
@@ -0,0 +1,15 @@
1
+ import pageTitle from 'ember-page-title/helpers/page-title';<% if (welcome) { %>
2
+ import WelcomePage from 'ember-welcome-page/components/welcome-page';<% } %>
3
+
4
+ <template>
5
+ {{pageTitle "<%= namespace %>"}}
6
+ <% if (welcome) { %>
7
+ {{outlet}}
8
+
9
+ {{! The following component displays Ember's default welcome message. }}
10
+ <WelcomePage />
11
+ {{! Feel free to remove this! }}<% } else { %>
12
+ <h2 id="title">Welcome to Ember</h2>
13
+
14
+ {{outlet}}<% } %>
15
+ </template>
@@ -80,6 +80,7 @@ module.exports = {
80
80
  emberData: options.emberData,
81
81
  ciProvider: options.ciProvider,
82
82
  typescript: options.typescript,
83
+ strict: options.strict,
83
84
  packageManager: options.packageManager ?? 'npm',
84
85
  };
85
86
  },
@@ -106,6 +107,12 @@ module.exports = {
106
107
  files = files.filter((file) => !file.includes('ember-data/'));
107
108
  }
108
109
 
110
+ if (options.strict) {
111
+ files = files.filter((file) => !file.endsWith('.hbs'));
112
+ } else {
113
+ files = files.filter((file) => !file.endsWith('.gjs') && !file.endsWith('.gts'));
114
+ }
115
+
109
116
  this._files = files;
110
117
 
111
118
  return this._files;
File without changes
File without changes