ember-cli 6.6.0-alpha.3 → 6.7.0-alpha.1

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,19 +1,30 @@
1
1
  # ember-cli Changelog
2
2
 
3
- ## Release (2025-06-11)
3
+ ## Release (2025-06-16)
4
4
 
5
- * ember-cli 6.6.0-alpha.3 (patch)
5
+ * ember-cli 6.7.0-alpha.1 (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
+ #### :memo: Documentation
12
+ * `ember-cli`
13
+ * [#10724](https://github.com/ember-cli/ember-cli/pull/10724) Update RELEASE.md to fully document new release-plan setup ([@mansona](https://github.com/mansona))
6
14
 
7
15
  #### :house: Internal
8
16
  * `ember-cli`
9
- * [#10713](https://github.com/ember-cli/ember-cli/pull/10713) make sure alphas releases are set as prerelease ([@mansona](https://github.com/mansona))
17
+ * [#10731](https://github.com/ember-cli/ember-cli/pull/10731) Prepare Alpha 6.7.0 ([@mansona](https://github.com/mansona))
18
+ * [#10728](https://github.com/ember-cli/ember-cli/pull/10728) Prepare Beta 6.6.0 ([@mansona](https://github.com/mansona))
19
+ * [#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))
20
+ * [#10717](https://github.com/ember-cli/ember-cli/pull/10717) pass --publish-branch to release-plan publish ([@mansona](https://github.com/mansona))
10
21
 
11
22
  #### Committers: 1
12
23
  - Chris Manson ([@mansona](https://github.com/mansona))
13
24
 
14
- ## Release (2025-06-11)
25
+ ## Release (2025-06-16)
15
26
 
16
- * ember-cli 6.6.0-alpha.2 (minor)
27
+ * ember-cli 6.6.0-beta.1 (minor)
17
28
 
18
29
  #### :rocket: Enhancement
19
30
  * `ember-cli`
@@ -23,57 +34,47 @@
23
34
  #### :bug: Bug Fix
24
35
  * `ember-cli`
25
36
  * [#10711](https://github.com/ember-cli/ember-cli/pull/10711) fix yuidoc generation on publish ([@mansona](https://github.com/mansona))
26
- * [#10710](https://github.com/ember-cli/ember-cli/pull/10710) make sure we release alpha with release-plan ([@mansona](https://github.com/mansona))
27
37
  * [#10702](https://github.com/ember-cli/ember-cli/pull/10702) [Bugfix]: Update ember-data and unify the versions between @ and non-@ ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
28
38
 
29
39
  #### :house: Internal
30
40
  * `ember-cli`
31
- * [#10709](https://github.com/ember-cli/ember-cli/pull/10709) Prepare Alpha Release v6.6.0-alpha.1 ([@github-actions[bot]](https://github.com/apps/github-actions))
41
+ * [#10728](https://github.com/ember-cli/ember-cli/pull/10728) Prepare Beta 6.6.0 ([@mansona](https://github.com/mansona))
42
+ * [#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))
32
43
  * [#10699](https://github.com/ember-cli/ember-cli/pull/10699) Start using release-plan for releasing ember-cli ([@mansona](https://github.com/mansona))
33
44
  * [#10670](https://github.com/ember-cli/ember-cli/pull/10670) testing: don't generate temp directories in the repo ([@mansona](https://github.com/mansona))
34
45
 
35
- #### Committers: 4
46
+ #### Committers: 3
36
47
  - Chris Manson ([@mansona](https://github.com/mansona))
37
48
  - Michel Couillard ([@hexadecy](https://github.com/hexadecy))
38
49
  - [@NullVoxPopuli](https://github.com/NullVoxPopuli)
39
- - [@github-actions[bot]](https://github.com/apps/github-actions)
40
50
 
41
- ## Release (2025-06-11)
51
+ ## Release (2025-06-16)
42
52
 
43
- * ember-cli 6.6.0-alpha.1 (minor)
53
+ * ember-cli 6.5.0 (minor)
44
54
 
45
55
  #### :rocket: Enhancement
46
56
  * `ember-cli`
47
- * [#10701](https://github.com/ember-cli/ember-cli/pull/10701) [ENHANCEMENT] Support Bun ([@hexadecy](https://github.com/hexadecy))
48
- * [#10664](https://github.com/ember-cli/ember-cli/pull/10664) [ENHANCEMENT] Remove ember-fetch ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
57
+ * [#10721](https://github.com/ember-cli/ember-cli/pull/10721) Prepare 6.5.0 release ([@mansona](https://github.com/mansona))
58
+ * [#10705](https://github.com/ember-cli/ember-cli/pull/10705) add `--strict` flag for new app and addon generation ([@mansona](https://github.com/mansona))
49
59
 
50
60
  #### :bug: Bug Fix
51
61
  * `ember-cli`
52
- * [#10710](https://github.com/ember-cli/ember-cli/pull/10710) make sure we release alpha with release-plan ([@mansona](https://github.com/mansona))
53
- * [#10702](https://github.com/ember-cli/ember-cli/pull/10702) [Bugfix]: Update ember-data and unify the versions between @ and non-@ ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
62
+ * [#10684](https://github.com/ember-cli/ember-cli/pull/10684) [BUGFIX] Remove deprecated `@types/eslint__js` dependency from `app` blueprint ([@gvdp](https://github.com/gvdp))
54
63
 
55
64
  #### :house: Internal
56
65
  * `ember-cli`
57
- * [#10699](https://github.com/ember-cli/ember-cli/pull/10699) Start using release-plan for releasing ember-cli ([@mansona](https://github.com/mansona))
58
- * [#10670](https://github.com/ember-cli/ember-cli/pull/10670) testing: don't generate temp directories in the repo ([@mansona](https://github.com/mansona))
66
+ * [#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))
67
+ * [#10722](https://github.com/ember-cli/ember-cli/pull/10722) prevent clashes between release-plan branches ([@mansona](https://github.com/mansona))
68
+ * [#10719](https://github.com/ember-cli/ember-cli/pull/10719) [Backport release]: start using release-plan to release ember-cli ([@mansona](https://github.com/mansona))
69
+ * [#10718](https://github.com/ember-cli/ember-cli/pull/10718) Prepare Beta Release v6.5.0-beta.2 ([@github-actions[bot]](https://github.com/apps/github-actions))
70
+ * [#10717](https://github.com/ember-cli/ember-cli/pull/10717) pass --publish-branch to release-plan publish ([@mansona](https://github.com/mansona))
71
+ * [#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))
72
+ * [#10715](https://github.com/ember-cli/ember-cli/pull/10715) [Backport beta]: Set up release-plan ([@mansona](https://github.com/mansona))
59
73
 
60
74
  #### Committers: 3
61
75
  - Chris Manson ([@mansona](https://github.com/mansona))
62
- - Michel Couillard ([@hexadecy](https://github.com/hexadecy))
63
- - [@NullVoxPopuli](https://github.com/NullVoxPopuli)
64
-
65
- ## v6.5.0-beta.0
66
-
67
- #### Blueprint Changes
68
-
69
- - [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v6.4.0...v6.5.0-beta.0)
70
- - [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v6.4.0...v6.5.0-beta.0)
71
-
72
- #### Changelog
73
-
74
- - [#10684](https://github.com/ember-cli/ember-cli/pull/10684) [BUGFIX] Remove deprecated `@types/eslint__js` dependency from `app` blueprint [@gvdp](https://github.com/gvdp)
75
-
76
- Thank you to all who took the time to contribute!
76
+ - [@github-actions[bot]](https://github.com/apps/github-actions)
77
+ - [@gvdp](https://github.com/gvdp)
77
78
 
78
79
  ## v6.4.0
79
80
 
package/RELEASE.md CHANGED
@@ -1,16 +1,12 @@
1
1
  # Release Process
2
2
 
3
- > [!WARNING]
4
- > This release process is currently changing and is making its way from the `master` branch to `beta` and `release` as part of the normal release train. Be careful following this document over the next 12 weeks.
5
- > As of time of writing release-plan is only being used for the master branch and the instructions below are for illustrative purposes only
6
-
7
3
  `ember-cli` follows the same channel based release process that Ember does:
8
4
 
9
5
  * `release` - This branch represents the `latest` dist-tag on NPM
10
6
  * `beta` - This branch represents the `beta` dist-tag on NPM
11
7
  * `master` - The branch represents the `alpha` dist-tag on NPM
12
8
 
13
- Most changes should be made as a PR that targets the `master` branch and make their way through `beta` and `release` over the course of 12 weeks as part of the Ember release train. Generally speaking we do not backport functional changes to `beta` or `release` but we can if needs be.
9
+ Most changes should be made as a PR that targets the `master` branch and then makes their way through `beta` and `release` over the course of 12 weeks as part of the Ember release train. Generally speaking we do not backport functional changes to `beta` or `release` but we can if needs be.
14
10
 
15
11
  This release process is managed by [release-plan](https://github.com/embroider-build/release-plan) which means that all changes should be made as a pull request to make sure it is captured in the changelog.
16
12
 
@@ -27,18 +23,22 @@ The release process during release week should look like this:
27
23
  - Do an `alpha` release
28
24
 
29
25
 
30
-
31
26
  ### Initial Stable Release from the `release` branch
32
27
 
33
28
  - fetch latest from origin `git fetch`
34
- - create a new branch to do the release e.g. `git checkout -B release-plan-6-4 origin/release`
29
+ - create a new branch to do the release e.g. `git checkout --no-track -b release-plan-6-4 origin/release`
35
30
  - note: branches named like `release-6-4` are used to manage LTS patch releases so we don't want to create a branch with that name at this time
31
+ - Merge `origin/beta` into the release branch
32
+ - `git merge origin/beta --no-ff`
33
+ - **make sure to not update the .release-plan file** this should only ever be changed by the release-plan github scripts
34
+ - make sure to not update the version in the package.json during this step, this will be release-plan's job
36
35
  - Update blueprint dependencies to latest
37
36
 
38
37
  ```
39
38
  node ./dev/update-blueprint-dependencies.js --ember-source=latest --ember-data=latest
40
39
  ```
41
40
 
41
+ - commit this update `git commit -am "update blueprint dependencies to latest"`
42
42
  - push and open a PR targeting `release`
43
43
  - mark this PR as an `enhancement` if it is a minor release
44
44
  - check that everything is ok
@@ -50,14 +50,19 @@ node ./dev/update-blueprint-dependencies.js --ember-source=latest --ember-data=l
50
50
  ### Beta release from the `beta` branch
51
51
 
52
52
  - fetch latest from origin `git fetch`
53
- - create a new branch to merge `release` into `beta` e.g. `git checkout -B merge-release origin/beta`
53
+ - create a new branch to merge `release` into `beta` e.g. `git checkout --no-track -b merge-release origin/beta`
54
54
  - merge release into this new branch e.g. `git merge origin/release --no-ff`
55
+ - **make sure to not update the .release-plan file** this should only ever be changed by the release-plan github scripts
56
+ - merge master into this new branch too e.g. `git merge origin/master --no-ff`
57
+ - **make sure to not update the .release-plan file** this should only ever be changed by the release-plan github scripts
58
+ - update the alpha version in package.json to be a beta i.e. if the incoming merge is `"version": "6.6.0-alpha.3",` update it to `"version": "6.6.0-beta.0",`
55
59
  - Update blueprint dependencies to beta
56
60
 
57
61
  ```
58
62
  node ./dev/update-blueprint-dependencies.js --ember-source=beta --ember-data=beta
59
63
  ```
60
64
 
65
+ - commit this update `git commit -am "update blueprint dependencies to beta"`
61
66
  - push and open a PR targeting `beta`
62
67
  - mark this PR as an `enchancement` if the next beta is a minor release
63
68
  - check that everything is ok i.e. CI passes
@@ -71,20 +76,24 @@ node ./dev/update-blueprint-dependencies.js --ember-source=beta --ember-data=bet
71
76
  ### Alpha release from the `master` branch
72
77
 
73
78
  - fetch latest from origin `git fetch`
74
- - create a new branch to merge `beta` into `master` e.g. `git checkout -B merge-beta origin/master`
75
- - merge release into this new branch e.g. `git merge origin/beta --no-ff`
79
+ - create a new branch to merge `beta` into `master` e.g. `git checkout --no-track -b merge-beta origin/master`
80
+ - merge beta into this new branch e.g. `git merge origin/beta --no-ff`
81
+ - **make sure to not update the .release-plan file** this should only ever be changed by the release-plan github scripts
82
+ - manually update the version in pacakge.json to be the next alpha.
83
+ - e.g. if the current alpha is `"version": "6.6.0-alpha.3",` update it to be `"version": "6.7.0-alpha.0",`
84
+ - commit this change to the version in package.json: `git commit -am "update to the next alpha version"`
76
85
  - Update blueprint dependencies to alpha
77
86
 
78
87
  ```
79
88
  node ./dev/update-blueprint-dependencies.js --ember-source=alpha --ember-data=canary
80
89
  ```
81
90
 
91
+ - commit this update `git commit -am "update blueprint dependencies to alpha"`
82
92
  - push and open a PR targeting `master`
83
93
  - mark this PR as an `enchancement` if the next alpha is a minor release
84
94
  - check that everything is ok i.e. CI passes
85
95
  - merge the `merge-beta` branch into `master` in GitHub
86
96
  - check that the `Prepare Alpha Release` PR has been correctly opened by `release-plan`
87
- - note: the release-plan config will automatically make this version a pre-release
88
97
  - Merge the `Prepare Alpha Release` when you are ready to release the next alpha version
89
98
  - Check the `Release Alpha` GitHub action to make sure the release succeeded
90
99
 
@@ -93,7 +102,7 @@ node ./dev/update-blueprint-dependencies.js --ember-source=alpha --ember-data=ca
93
102
 
94
103
  `release-plan` is designed to automatically generate a Changelog that includes the titles of every PR that was merged since the last release. As we would like to make use of this auto-generated Changelog we need to make sure that PRs are named correctly and the Changelog included in the "Prepare Release" PRs are what we were expecting.
95
104
 
96
- If you want to change the content of the Changelog then you should update the PR titles you want to update and re-run the `Prepare Release` CI job for that branch
105
+ If you want to change the content of the Changelog then you should update the PR titles you want to update and re-run the `Prepare Release` CI job for that branch. If there are PRs that you would prefer to exclude from the changelog (such as the `merge-beta` or `merge-release` PRs) then you can add the `ignore` label to the PR and they will be removed from the changelog.
97
106
 
98
107
  ## Patch Releases
99
108
 
@@ -93,7 +93,7 @@ module.exports = {
93
93
 
94
94
  // add scripts to build type declarations for TypeScript addons
95
95
  if (this.options.typescript) {
96
- contents.devDependencies.rimraf = '^5.0.1';
96
+ contents.devDependencies.rimraf = '^5.0.10';
97
97
 
98
98
  contents.scripts.prepack = 'tsc --project tsconfig.declarations.json';
99
99
  contents.scripts.postpack = 'rimraf declarations';
@@ -245,6 +245,7 @@ module.exports = {
245
245
  emberData: options.emberData,
246
246
  ciProvider: options.ciProvider,
247
247
  typescript: options.typescript,
248
+ strict: options.strict,
248
249
  packageManager: options.packageManager ?? 'npm',
249
250
  };
250
251
  },
@@ -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>
@@ -28,26 +28,26 @@
28
28
  "test:ember": "ember test"
29
29
  },
30
30
  "devDependencies": {
31
- "@babel/core": "^7.27.1",
32
- "@babel/eslint-parser": "^7.27.1",
31
+ "@babel/core": "^7.27.4",
32
+ "@babel/eslint-parser": "^7.27.5",
33
33
  "@babel/plugin-proposal-decorators": "^7.27.1<% if (typescript && emberData) { %>",
34
- "@ember-data/adapter": "~5.5.0",
35
- "@ember-data/graph": "~5.5.0",
36
- "@ember-data/json-api": "~5.5.0",
37
- "@ember-data/legacy-compat": "~5.5.0",
38
- "@ember-data/model": "~5.5.0",
39
- "@ember-data/request": "~5.5.0",
40
- "@ember-data/request-utils": "~5.5.0",
41
- "@ember-data/serializer": "~5.5.0",
42
- "@ember-data/store": "~5.5.0",
43
- "@warp-drive/ember": "~5.5.0<% } %>",
34
+ "@ember-data/adapter": "~5.6.0-alpha.12",
35
+ "@ember-data/graph": "~5.6.0-alpha.12",
36
+ "@ember-data/json-api": "~5.6.0-alpha.12",
37
+ "@ember-data/legacy-compat": "~5.6.0-alpha.12",
38
+ "@ember-data/model": "~5.6.0-alpha.12",
39
+ "@ember-data/request": "~5.6.0-alpha.12",
40
+ "@ember-data/request-utils": "~5.6.0-alpha.12",
41
+ "@ember-data/serializer": "~5.6.0-alpha.12",
42
+ "@ember-data/store": "~5.6.0-alpha.12",
43
+ "@warp-drive/ember": "~5.6.0-alpha.12<% } %>",
44
44
  "@ember/optional-features": "^2.2.0",
45
- "@ember/test-helpers": "^5.2.1<% if (embroider) { %>",
45
+ "@ember/test-helpers": "^5.2.2<% if (embroider) { %>",
46
46
  "@embroider/compat": "^3.9.0",
47
47
  "@embroider/core": "^3.5.6<% } %>",
48
- "@embroider/macros": "^1.17.2<% if (embroider) { %>",
48
+ "@embroider/macros": "^1.18.0<% if (embroider) { %>",
49
49
  "@embroider/webpack": "^4.1.0<% } %>",
50
- "@eslint/js": "^9.25.1",
50
+ "@eslint/js": "^9.29.0",
51
51
  "@glimmer/component": "^2.0.0",
52
52
  "@glimmer/tracking": "^1.1.2<% if (typescript) { %>",
53
53
  "@glint/environment-ember-loose": "^1.5.2",
@@ -56,7 +56,7 @@
56
56
  "@tsconfig/ember": "^3.0.10",
57
57
  "@types/qunit": "^2.19.12",
58
58
  "@types/rsvp": "^4.0.9<% if (emberData) {%>",
59
- "@warp-drive/core-types": "~0.0.3<% }} %>",
59
+ "@warp-drive/core-types": "~5.6.0-alpha.12<% }} %>",
60
60
  "broccoli-asset-rev": "^3.0.0",
61
61
  "concurrently": "^9.1.2",
62
62
  "ember-auto-import": "^2.10.0",
@@ -70,33 +70,33 @@
70
70
  "ember-cli-inject-live-reload": "^2.1.0<% if (!embroider) { %>",
71
71
  "ember-cli-sri": "^2.1.1",
72
72
  "ember-cli-terser": "^4.0.2<% } %><% if (emberData) { %>",
73
- "ember-data": "~5.5.0<% } %>",
73
+ "ember-data": "~5.6.0-alpha.12<% } %>",
74
74
  "ember-load-initializers": "^3.0.1",
75
- "ember-modifier": "^4.2.0",
76
- "ember-page-title": "^9.0.1",
77
- "ember-qunit": "^9.0.2",
78
- "ember-resolver": "^13.1.0",
79
- "ember-source": "~6.5.0-beta.1",
75
+ "ember-modifier": "^4.2.2",
76
+ "ember-page-title": "^9.0.2",
77
+ "ember-qunit": "^9.0.3",
78
+ "ember-resolver": "^13.1.1",
79
+ "ember-source": "~6.7.0-alpha.1",
80
80
  "ember-template-imports": "^4.3.0",
81
81
  "ember-template-lint": "^6.1.0<% if (welcome) { %>",
82
82
  "ember-welcome-page": "^7.0.2<% } %>",
83
- "eslint": "^9.25.1",
83
+ "eslint": "^9.29.0",
84
84
  "eslint-config-prettier": "^9.1.0",
85
85
  "eslint-plugin-ember": "^12.5.0",
86
- "eslint-plugin-n": "^17.17.0",
86
+ "eslint-plugin-n": "^17.20.0",
87
87
  "eslint-plugin-qunit": "^8.1.2",
88
88
  "globals": "^15.15.0",
89
89
  "loader.js": "^4.7.0",
90
90
  "prettier": "^3.5.3",
91
- "prettier-plugin-ember-template-tag": "^2.0.5",
91
+ "prettier-plugin-ember-template-tag": "^2.0.6",
92
92
  "qunit": "^2.24.1",
93
93
  "qunit-dom": "^3.4.0",
94
- "stylelint": "^16.19.1",
94
+ "stylelint": "^16.20.0",
95
95
  "stylelint-config-standard": "^36.0.1",
96
96
  "tracked-built-ins": "^3.4.0<% if (typescript) { %>",
97
97
  "typescript": "^5.8.3",
98
- "typescript-eslint": "^8.31.1<% } %>",
99
- "webpack": "^5.99.7"
98
+ "typescript-eslint": "^8.34.1<% } %>",
99
+ "webpack": "^5.99.9"
100
100
  },
101
101
  "engines": {
102
102
  "node": ">= 18"
@@ -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;
@@ -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.0-alpha.3-master-72c14457ae"
6
+ "version": "6.7.0-alpha.1-master-3682b6e619"
7
7
  },
8
8
  "files": {
9
9
  "lib/broccoli/default-packager.js": {
@@ -32,6 +32,12 @@ module.exports = NewCommand.extend({
32
32
  description: 'Installs the optional default CI blueprint. Only Github Actions is supported at the moment.',
33
33
  },
34
34
  { name: 'typescript', type: Boolean, default: false, description: 'Set up the addon to use TypeScript' },
35
+ {
36
+ name: 'strict',
37
+ type: Boolean,
38
+ default: false,
39
+ description: 'Use GJS/GTS templates by default for generated components, tests, and route templates',
40
+ },
35
41
  ],
36
42
 
37
43
  anonymousOptions: ['<addon-name>'],
@@ -53,6 +53,12 @@ module.exports = Command.extend({
53
53
  description: 'Include ember-data dependencies and configuration',
54
54
  },
55
55
  { name: 'typescript', type: Boolean, default: false, description: 'Set up the app to use TypeScript' },
56
+ {
57
+ name: 'strict',
58
+ type: Boolean,
59
+ default: false,
60
+ description: 'Use GJS/GTS templates by default for generated components, tests, and route templates',
61
+ },
56
62
  ],
57
63
 
58
64
  anonymousOptions: ['<glob-pattern>'],
@@ -57,6 +57,12 @@ module.exports = Command.extend({
57
57
  description: 'Create a new Ember app/addon in an interactive way.',
58
58
  },
59
59
  { name: 'typescript', type: Boolean, default: false, description: 'Set up the app to use TypeScript' },
60
+ {
61
+ name: 'strict',
62
+ type: Boolean,
63
+ default: false,
64
+ description: 'Use GJS/GTS templates by default for generated components, tests, and route templates',
65
+ },
60
66
  ],
61
67
 
62
68
  anonymousOptions: ['<app-name>'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-cli",
3
- "version": "6.6.0-alpha.3",
3
+ "version": "6.7.0-alpha.1",
4
4
  "description": "Command line tool for developing ambitious ember.js apps",
5
5
  "keywords": [
6
6
  "app",