@ember/app-blueprint 7.2.0-alpha.1 → 7.2.0-beta.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/.github/workflows/plan-alpha-release.yml +1 -1
- package/.github/workflows/plan-beta-release.yml +1 -1
- package/.github/workflows/plan-stable-release.yml +1 -1
- package/.github/workflows/publish.yml +1 -1
- package/.release-plan.json +16 -4
- package/CHANGELOG.md +36 -6
- package/RELEASE.md +14 -6
- package/conditional-files/_ts_eslint.config.mjs +9 -1
- package/files/package.json +26 -26
- package/package.json +20 -20
- package/tests/fixtures/lint-ts/app/lint-test-gts.gts +15 -0
- package/tests/fixtures/lint-ts/app/lint-test-ts.ts +15 -0
- package/tests/lint.test.mjs +6 -0
|
@@ -48,7 +48,7 @@ jobs:
|
|
|
48
48
|
name: Create Prepare Release PR
|
|
49
49
|
with:
|
|
50
50
|
commit-message: "Prepare Release ${{ steps.explanation.outputs.new-version}} using 'release-plan'"
|
|
51
|
-
labels:
|
|
51
|
+
labels: internal, ignore
|
|
52
52
|
sign-commits: true
|
|
53
53
|
branch: release-preview
|
|
54
54
|
title: Prepare Alpha Release ${{ steps.explanation.outputs.new-version }}
|
|
@@ -48,7 +48,7 @@ jobs:
|
|
|
48
48
|
name: Create Prepare Release PR
|
|
49
49
|
with:
|
|
50
50
|
commit-message: "Prepare Release ${{ steps.explanation.outputs.new-version}} using 'release-plan'"
|
|
51
|
-
labels:
|
|
51
|
+
labels: internal, ignore
|
|
52
52
|
sign-commits: true
|
|
53
53
|
branch: release-preview-beta
|
|
54
54
|
title: Prepare Beta Release ${{ steps.explanation.outputs.new-version }}
|
|
@@ -48,7 +48,7 @@ jobs:
|
|
|
48
48
|
name: Create Prepare Release PR
|
|
49
49
|
with:
|
|
50
50
|
commit-message: "Prepare Release ${{ steps.explanation.outputs.new-version}} using 'release-plan'"
|
|
51
|
-
labels:
|
|
51
|
+
labels: internal, ignore
|
|
52
52
|
sign-commits: true
|
|
53
53
|
branch: release-preview-stable
|
|
54
54
|
title: Prepare Stable Release ${{ steps.explanation.outputs.new-version }}
|
package/.release-plan.json
CHANGED
|
@@ -2,17 +2,29 @@
|
|
|
2
2
|
"solution": {
|
|
3
3
|
"@ember/app-blueprint": {
|
|
4
4
|
"impact": "minor",
|
|
5
|
-
"oldVersion": "7.2.0-
|
|
6
|
-
"newVersion": "7.2.0-
|
|
7
|
-
"tagName": "
|
|
5
|
+
"oldVersion": "7.2.0-beta.0",
|
|
6
|
+
"newVersion": "7.2.0-beta.1",
|
|
7
|
+
"tagName": "beta",
|
|
8
8
|
"constraints": [
|
|
9
9
|
{
|
|
10
10
|
"impact": "minor",
|
|
11
11
|
"reason": "Appears in changelog section :rocket: Enhancement"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"impact": "patch",
|
|
15
|
+
"reason": "Appears in changelog section :bug: Bug Fix"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"impact": "patch",
|
|
19
|
+
"reason": "Appears in changelog section :memo: Documentation"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"impact": "patch",
|
|
23
|
+
"reason": "Appears in changelog section :house: Internal"
|
|
12
24
|
}
|
|
13
25
|
],
|
|
14
26
|
"pkgJSONPath": "./package.json"
|
|
15
27
|
}
|
|
16
28
|
},
|
|
17
|
-
"description": "## Release (2026-
|
|
29
|
+
"description": "## Release (2026-07-03)\n\n* @ember/app-blueprint 7.2.0-beta.1 (minor)\n\n#### :rocket: Enhancement\n* `@ember/app-blueprint`\n * [#303](https://github.com/ember-cli/ember-app-blueprint/pull/303) Prepare 7.2 Beta ([@mansona](https://github.com/mansona))\n * [#147](https://github.com/ember-cli/ember-app-blueprint/pull/147) Apply `typescript-eslint`'s recommended config to gts files ([@bendemboski](https://github.com/bendemboski))\n\n#### :bug: Bug Fix\n* `@ember/app-blueprint`\n * [#299](https://github.com/ember-cli/ember-app-blueprint/pull/299) update ember-cli dependency to latest ([@mansona](https://github.com/mansona))\n\n#### :memo: Documentation\n* `@ember/app-blueprint`\n * [#300](https://github.com/ember-cli/ember-app-blueprint/pull/300) Update RELEASE.md ([@mansona](https://github.com/mansona))\n\n#### :house: Internal\n* `@ember/app-blueprint`\n * [#298](https://github.com/ember-cli/ember-app-blueprint/pull/298) fix plan release for beta and stable ([@mansona](https://github.com/mansona))\n * [#297](https://github.com/ember-cli/ember-app-blueprint/pull/297) fix release-plan plan CI ([@mansona](https://github.com/mansona))\n * [#291](https://github.com/ember-cli/ember-app-blueprint/pull/291) update release-plan ([@mansona](https://github.com/mansona))\n * [#281](https://github.com/ember-cli/ember-app-blueprint/pull/281) Update RELEASE.md ([@mansona](https://github.com/mansona))\n\n#### Committers: 2\n- Ben Demboski ([@bendemboski](https://github.com/bendemboski))\n- Chris Manson ([@mansona](https://github.com/mansona))\n"
|
|
18
30
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,23 +1,51 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## Release (2026-
|
|
3
|
+
## Release (2026-07-03)
|
|
4
4
|
|
|
5
|
-
* @ember/app-blueprint 7.2.0-
|
|
5
|
+
* @ember/app-blueprint 7.2.0-beta.1 (minor)
|
|
6
6
|
|
|
7
7
|
#### :rocket: Enhancement
|
|
8
8
|
* `@ember/app-blueprint`
|
|
9
|
-
* [#
|
|
9
|
+
* [#303](https://github.com/ember-cli/ember-app-blueprint/pull/303) Prepare 7.2 Beta ([@mansona](https://github.com/mansona))
|
|
10
|
+
* [#147](https://github.com/ember-cli/ember-app-blueprint/pull/147) Apply `typescript-eslint`'s recommended config to gts files ([@bendemboski](https://github.com/bendemboski))
|
|
11
|
+
|
|
12
|
+
#### :bug: Bug Fix
|
|
13
|
+
* `@ember/app-blueprint`
|
|
14
|
+
* [#299](https://github.com/ember-cli/ember-app-blueprint/pull/299) update ember-cli dependency to latest ([@mansona](https://github.com/mansona))
|
|
15
|
+
|
|
16
|
+
#### :memo: Documentation
|
|
17
|
+
* `@ember/app-blueprint`
|
|
18
|
+
* [#300](https://github.com/ember-cli/ember-app-blueprint/pull/300) Update RELEASE.md ([@mansona](https://github.com/mansona))
|
|
19
|
+
|
|
20
|
+
#### :house: Internal
|
|
21
|
+
* `@ember/app-blueprint`
|
|
22
|
+
* [#298](https://github.com/ember-cli/ember-app-blueprint/pull/298) fix plan release for beta and stable ([@mansona](https://github.com/mansona))
|
|
23
|
+
* [#297](https://github.com/ember-cli/ember-app-blueprint/pull/297) fix release-plan plan CI ([@mansona](https://github.com/mansona))
|
|
24
|
+
* [#291](https://github.com/ember-cli/ember-app-blueprint/pull/291) update release-plan ([@mansona](https://github.com/mansona))
|
|
25
|
+
* [#281](https://github.com/ember-cli/ember-app-blueprint/pull/281) Update RELEASE.md ([@mansona](https://github.com/mansona))
|
|
26
|
+
|
|
27
|
+
#### Committers: 2
|
|
28
|
+
- Ben Demboski ([@bendemboski](https://github.com/bendemboski))
|
|
29
|
+
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
30
|
+
|
|
31
|
+
## Release (2026-07-02)
|
|
32
|
+
|
|
33
|
+
* @ember/app-blueprint 7.1.1 (patch)
|
|
34
|
+
|
|
35
|
+
#### :bug: Bug Fix
|
|
36
|
+
* `@ember/app-blueprint`
|
|
37
|
+
* [#299](https://github.com/ember-cli/ember-app-blueprint/pull/299) update ember-cli dependency to latest ([@mansona](https://github.com/mansona))
|
|
10
38
|
|
|
11
39
|
#### Committers: 1
|
|
12
40
|
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
13
41
|
|
|
14
|
-
## Release (2026-
|
|
42
|
+
## Release (2026-06-30)
|
|
15
43
|
|
|
16
|
-
* @ember/app-blueprint 7.1.0
|
|
44
|
+
* @ember/app-blueprint 7.1.0 (minor)
|
|
17
45
|
|
|
18
46
|
#### :rocket: Enhancement
|
|
19
47
|
* `@ember/app-blueprint`
|
|
20
|
-
* [#
|
|
48
|
+
* [#295](https://github.com/ember-cli/ember-app-blueprint/pull/295) Promote Beta and update all dependencies for 7.1 release ([@mansona](https://github.com/mansona))
|
|
21
49
|
* [#266](https://github.com/ember-cli/ember-app-blueprint/pull/266) remove chalk in favour of native styleText ([@mansona](https://github.com/mansona))
|
|
22
50
|
* [#267](https://github.com/ember-cli/ember-app-blueprint/pull/267) update walk-sync to v4 ([@mansona](https://github.com/mansona))
|
|
23
51
|
* [#260](https://github.com/ember-cli/ember-app-blueprint/pull/260) update stylelint to v17 ([@mansona](https://github.com/mansona))
|
|
@@ -33,6 +61,8 @@
|
|
|
33
61
|
|
|
34
62
|
#### :house: Internal
|
|
35
63
|
* `@ember/app-blueprint`
|
|
64
|
+
* [#298](https://github.com/ember-cli/ember-app-blueprint/pull/298) fix plan release for beta and stable ([@mansona](https://github.com/mansona))
|
|
65
|
+
* [#297](https://github.com/ember-cli/ember-app-blueprint/pull/297) fix release-plan plan CI ([@mansona](https://github.com/mansona))
|
|
36
66
|
* [#253](https://github.com/ember-cli/ember-app-blueprint/pull/253) Update RELEASE.md with notes from the latest release ([@mansona](https://github.com/mansona))
|
|
37
67
|
|
|
38
68
|
#### Committers: 2
|
package/RELEASE.md
CHANGED
|
@@ -46,21 +46,24 @@ You can use [this saved search](https://github.com/ember-cli/ember-app-blueprint
|
|
|
46
46
|
- **make sure to not update the CHANGELOG.md file** so as not to include the beta or alpha changelogs in the next release
|
|
47
47
|
- make sure to not update the version in the package.json during this step, this will be release-plan's job
|
|
48
48
|
- make sure to not add the `release-plan` config section to the package.json during this step. We are releasing a real release so we don't want to configure release-plan to do a pre-release.
|
|
49
|
+
- commit this merge
|
|
49
50
|
- Update blueprint dependencies to latest
|
|
50
51
|
|
|
51
52
|
```
|
|
52
|
-
pnpm dlx update-blueprint-deps --filter 'ember-source' --tag latest files/package.json
|
|
53
|
+
pnpm dlx update-blueprint-deps --filter 'ember-source' --tag latest package.json files/package.json
|
|
53
54
|
pnpm dlx update-blueprint-deps --filter '.*' package.json files/package.json
|
|
54
55
|
```
|
|
55
56
|
|
|
56
57
|
- commit this update `git commit -am "update blueprint dependencies to latest"`
|
|
57
|
-
- push and open a PR targeting `release` with a PR title like `
|
|
58
|
-
- mark this PR as an `enhancement` if it is a minor release
|
|
58
|
+
- push and open a PR targeting `release` with a PR title like `Promote Beta and update all dependencies for 6.4 release`
|
|
59
|
+
- mark this PR as an `enhancement` if it is a minor release, or `breaking` if it is a major release
|
|
59
60
|
- check that everything is ok (i.e. that CI has run correctly and that you have the changes you expect)
|
|
60
61
|
- merge branch
|
|
61
62
|
- check that the `Prepare Release` PR has been correctly opened by `release-plan`
|
|
63
|
+
- review the included PRs in the changelog and add `ignore` to things that shouldn't be there
|
|
64
|
+
- after adding any `ignore` labels, wait for the `Prepare Release` PR to be updated
|
|
62
65
|
- Merge the `Prepare Release` branch when you are ready to release
|
|
63
|
-
- Check the `
|
|
66
|
+
- Check the `Publish` GitHub action to make sure the release succeeded
|
|
64
67
|
|
|
65
68
|
### Release ember-cli and update that dependency
|
|
66
69
|
|
|
@@ -73,6 +76,7 @@ You can use [this saved search](https://github.com/ember-cli/ember-app-blueprint
|
|
|
73
76
|
```
|
|
74
77
|
pnpm dlx update-blueprint-deps --filter ember-cli --tag latest package.json files/package.json
|
|
75
78
|
```
|
|
79
|
+
- run `pnpm install` to make sure that the pnpm-lock is updated
|
|
76
80
|
- commit this update `git commit -am "update ember-cli dependency to latest"`
|
|
77
81
|
- push and open a PR targeting `release` with a PR title like `Update ember-cli to 6.4`
|
|
78
82
|
- mark this PR as a `bug` to make sure it goes out in a patch release
|
|
@@ -108,9 +112,10 @@ You can use [this saved search](https://github.com/ember-cli/ember-app-blueprint
|
|
|
108
112
|
pnpm dlx update-blueprint-deps --filter '.*' package.json files/package.json
|
|
109
113
|
```
|
|
110
114
|
|
|
115
|
+
- run `pnpm install` to install any updated packages
|
|
111
116
|
- commit this update `git commit -am "update blueprint dependencies to beta"`
|
|
112
117
|
- push and open a PR targeting `beta` with a PR title like `Prepare 6.5-beta`
|
|
113
|
-
- mark this PR as an `enchancement`
|
|
118
|
+
- mark this PR as an `enchancement`
|
|
114
119
|
- check that everything is ok i.e. CI passes
|
|
115
120
|
- merge the `merge-release` branch into `beta` in GitHub
|
|
116
121
|
- check that the `Prepare Beta Release` PR has been correctly opened by `release-plan`
|
|
@@ -141,7 +146,7 @@ You can use [this saved search](https://github.com/ember-cli/ember-app-blueprint
|
|
|
141
146
|
|
|
142
147
|
- commit this update `git commit -am "update blueprint dependencies to alpha"`
|
|
143
148
|
- push and open a PR targeting `main` with a PR title like `Prepare 6.6-alpha`
|
|
144
|
-
- mark this PR as an `enchancement`
|
|
149
|
+
- mark this PR as an `enchancement`
|
|
145
150
|
- check that everything is ok i.e. CI passes
|
|
146
151
|
- merge the `merge-beta` branch into `main` in GitHub
|
|
147
152
|
- check that the `Prepare Alpha Release` PR has been correctly opened by `release-plan`
|
|
@@ -183,3 +188,6 @@ If you want to change the content of the Changelog then you should update the PR
|
|
|
183
188
|
## Patch Releases
|
|
184
189
|
|
|
185
190
|
Now that we're using release-plan for all releases, patch releases have become super easy! Every time you merge a PR to any branch that is being released with `release-plan` a new `Prepare Release` PR will be created. When you merge this `Prepare Release` branch it will automatically release the new Patch version.
|
|
191
|
+
|
|
192
|
+
> [!NOTE]
|
|
193
|
+
> If you merge a patch into any branch other than main, you **must** merge all branches forward i.e. release -> beta -> main so that the change gets applied to all branches correctly. For example: if you update a dependency on the `release` branch, you should then create a branch from `beta` and merge `release` into that branch and open a PR with this change to target `beta`. The same should happen from `beta` to `main`.
|
|
@@ -83,7 +83,15 @@ export default defineConfig([
|
|
|
83
83
|
...globals.browser,
|
|
84
84
|
},
|
|
85
85
|
},
|
|
86
|
-
extends: [
|
|
86
|
+
extends: [
|
|
87
|
+
...ts.configs.recommendedTypeChecked,
|
|
88
|
+
// https://github.com/ember-cli/ember-addon-blueprint/issues/119
|
|
89
|
+
{
|
|
90
|
+
...ts.configs.eslintRecommended,
|
|
91
|
+
files: undefined,
|
|
92
|
+
},
|
|
93
|
+
ember.configs.gts,
|
|
94
|
+
],
|
|
87
95
|
},
|
|
88
96
|
{
|
|
89
97
|
...qunit.configs.recommended,
|
package/files/package.json
CHANGED
|
@@ -31,29 +31,29 @@
|
|
|
31
31
|
"./*": "./app/*"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@babel/core": "^7.29.
|
|
35
|
-
"@babel/runtime": "^7.29.
|
|
36
|
-
"@babel/plugin-transform-runtime": "^7.29.
|
|
37
|
-
"@babel/plugin-transform-typescript": "^7.
|
|
38
|
-
"@babel/eslint-parser": "^7.
|
|
34
|
+
"@babel/core": "^7.29.7",
|
|
35
|
+
"@babel/runtime": "^7.29.7",
|
|
36
|
+
"@babel/plugin-transform-runtime": "^7.29.7<% if (typescript) { %>",
|
|
37
|
+
"@babel/plugin-transform-typescript": "^7.29.7<% } %>",
|
|
38
|
+
"@babel/eslint-parser": "^7.29.7<% if (typescript) { %>",
|
|
39
39
|
"@ember/app-tsconfig": "^2.0.0<% } %>",
|
|
40
40
|
"@ember/optional-features": "^3.0.0",
|
|
41
41
|
"@ember/string": "^4.0.1",
|
|
42
|
-
"@ember/test-helpers": "^5.4.
|
|
43
|
-
"@ember/test-waiters": "^4.1.
|
|
44
|
-
"@embroider/macros": "^1.20.
|
|
45
|
-
"@embroider/core": "^4.
|
|
46
|
-
"@embroider/vite": "^1.7.
|
|
47
|
-
"@embroider/compat": "^4.1.
|
|
42
|
+
"@ember/test-helpers": "^5.4.3",
|
|
43
|
+
"@ember/test-waiters": "^4.1.2",
|
|
44
|
+
"@embroider/macros": "^1.20.5",
|
|
45
|
+
"@embroider/core": "^4.6.2",
|
|
46
|
+
"@embroider/vite": "^1.7.8",
|
|
47
|
+
"@embroider/compat": "^4.1.21",
|
|
48
48
|
"@embroider/router": "^3.0.6",
|
|
49
49
|
"@embroider/config-meta-loader": "^1.0.0",
|
|
50
50
|
"@embroider/legacy-inspector-support": "^0.1.3",
|
|
51
51
|
"@eslint/js": "^9.39.4",
|
|
52
52
|
"@glimmer/component": "^2.1.1<% if (typescript) { %>",
|
|
53
|
-
"@glint/ember-tsc": "^1.
|
|
54
|
-
"@glint/template": "^1.7.
|
|
55
|
-
"@glint/tsserver-plugin": "^2.
|
|
56
|
-
"@rollup/plugin-babel": "^7.
|
|
53
|
+
"@glint/ember-tsc": "^1.8.2",
|
|
54
|
+
"@glint/template": "^1.7.8",
|
|
55
|
+
"@glint/tsserver-plugin": "^2.5.8<% } %>",
|
|
56
|
+
"@rollup/plugin-babel": "^7.1.0<% if (typescript) { %>",
|
|
57
57
|
"@types/qunit": "^2.19.14",
|
|
58
58
|
"@types/rsvp": "^4.0.9<% } %><% if (warpDrive) { %>",
|
|
59
59
|
"@warp-drive/core": "~5.8.2",
|
|
@@ -62,17 +62,17 @@
|
|
|
62
62
|
"@warp-drive/legacy": "~5.8.2",
|
|
63
63
|
"@warp-drive/utilities": "~5.8.2<% } %>",
|
|
64
64
|
"babel-plugin-ember-template-compilation": "^4.0.0",
|
|
65
|
-
"concurrently": "^9.2.
|
|
66
|
-
"decorator-transforms": "^2.
|
|
67
|
-
"ember-cli": "~7.
|
|
65
|
+
"concurrently": "^9.2.3",
|
|
66
|
+
"decorator-transforms": "^2.4.0",
|
|
67
|
+
"ember-cli": "~7.1.0",
|
|
68
68
|
"ember-cli-babel": "^8.3.1",
|
|
69
69
|
"ember-cli-deprecation-workflow": "^4.0.1",
|
|
70
70
|
"ember-load-initializers": "^3.0.1",
|
|
71
71
|
"ember-modifier": "^4.3.0",
|
|
72
72
|
"ember-page-title": "^9.0.3",
|
|
73
|
-
"ember-qunit": "^9.0
|
|
73
|
+
"ember-qunit": "^9.1.0",
|
|
74
74
|
"ember-resolver": "^13.2.0",
|
|
75
|
-
"ember-source": "~7.2.0-
|
|
75
|
+
"ember-source": "~7.2.0-beta.1",
|
|
76
76
|
"ember-template-lint": "^7.9.3<% if (welcome) { %>",
|
|
77
77
|
"ember-welcome-page": "^8.0.5<% } %>",
|
|
78
78
|
"eslint": "^9.39.4",
|
|
@@ -82,16 +82,16 @@
|
|
|
82
82
|
"eslint-plugin-qunit": "^8.2.6<% if (warpDrive) { %>",
|
|
83
83
|
"eslint-plugin-warp-drive": "^5.8.2<% } %>",
|
|
84
84
|
"globals": "^16.5.0",
|
|
85
|
-
"prettier": "^3.8.
|
|
85
|
+
"prettier": "^3.8.4",
|
|
86
86
|
"prettier-plugin-ember-template-tag": "^2.1.6",
|
|
87
|
-
"qunit": "^2.
|
|
87
|
+
"qunit": "^2.26.0",
|
|
88
88
|
"qunit-dom": "^3.5.1",
|
|
89
|
-
"stylelint": "^17.
|
|
89
|
+
"stylelint": "^17.14.0",
|
|
90
90
|
"stylelint-config-standard": "^40.0.0",
|
|
91
|
-
"testem": "^3.20.
|
|
91
|
+
"testem": "^3.20.1<% if (typescript) { %>",
|
|
92
92
|
"typescript": "^6.0.3",
|
|
93
|
-
"typescript-eslint": "^8.
|
|
94
|
-
"vite": "^8.0
|
|
93
|
+
"typescript-eslint": "^8.62.0<% } %>",
|
|
94
|
+
"vite": "^8.1.0"
|
|
95
95
|
},
|
|
96
96
|
"engines": {
|
|
97
97
|
"node": ">= 20.19.0"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember/app-blueprint",
|
|
3
|
-
"version": "7.2.0-
|
|
3
|
+
"version": "7.2.0-beta.1",
|
|
4
4
|
"description": "Blueprint for next generation of Ember apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-blueprint"
|
|
@@ -12,46 +12,46 @@
|
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"author": "",
|
|
14
14
|
"main": "index.js",
|
|
15
|
-
"release-plan": {
|
|
16
|
-
"semverIncrementAs": {
|
|
17
|
-
"minor": "prerelease",
|
|
18
|
-
"patch": "prerelease"
|
|
19
|
-
},
|
|
20
|
-
"semverIncrementTag": "alpha",
|
|
21
|
-
"publishTag": "alpha"
|
|
22
|
-
},
|
|
23
15
|
"dependencies": {
|
|
24
16
|
"ejs": "^3.1.10",
|
|
25
17
|
"ember-cli-string-utils": "^1.1.0",
|
|
26
18
|
"lodash": "^4.18.1",
|
|
27
|
-
"sort-package-json": "^3.
|
|
28
|
-
"walk-sync": "^4.0.
|
|
19
|
+
"sort-package-json": "^3.7.1",
|
|
20
|
+
"walk-sync": "^4.0.2"
|
|
29
21
|
},
|
|
30
22
|
"devDependencies": {
|
|
31
23
|
"@eslint/js": "^9.39.4",
|
|
32
|
-
"concurrently": "^9.2.
|
|
33
|
-
"ember-cli": "^7.
|
|
24
|
+
"concurrently": "^9.2.3",
|
|
25
|
+
"ember-cli": "^7.1.0",
|
|
34
26
|
"eslint": "9.x",
|
|
35
27
|
"eslint-config-prettier": "^9.1.2",
|
|
36
28
|
"execa": "^9.6.1",
|
|
37
29
|
"fixturify": "^3.0.0",
|
|
38
30
|
"globals": "^15.15.0",
|
|
39
31
|
"jsonc-parser": "^3.3.1",
|
|
40
|
-
"prettier": "^3.8.
|
|
32
|
+
"prettier": "^3.8.4",
|
|
41
33
|
"prettier-plugin-ember-template-tag": "^2.1.6",
|
|
42
|
-
"release-plan": "^0.
|
|
34
|
+
"release-plan": "^0.18.0",
|
|
43
35
|
"strip-ansi": "^7.2.0",
|
|
44
36
|
"tmp-promise": "^3.0.3",
|
|
45
|
-
"vitest": "^4.1.
|
|
37
|
+
"vitest": "^4.1.9",
|
|
46
38
|
"vitest-matrix": "^0.2.0"
|
|
47
39
|
},
|
|
40
|
+
"release-plan": {
|
|
41
|
+
"semverIncrementAs": {
|
|
42
|
+
"minor": "prerelease",
|
|
43
|
+
"patch": "prerelease"
|
|
44
|
+
},
|
|
45
|
+
"semverIncrementTag": "beta",
|
|
46
|
+
"publishTag": "beta"
|
|
47
|
+
},
|
|
48
48
|
"scripts": {
|
|
49
|
+
"format": "prettier . --write",
|
|
49
50
|
"lint": "concurrently 'pnpm:lint:*(!fix)'",
|
|
50
|
-
"lint:fix": "pnpm lint:eslint && pnpm format",
|
|
51
51
|
"lint:eslint": "eslint .",
|
|
52
|
+
"lint:fix": "pnpm lint:eslint && pnpm format",
|
|
52
53
|
"lint:prettier": "prettier . --check",
|
|
53
|
-
"
|
|
54
|
-
"test": "vitest"
|
|
55
|
-
"new:app": "pnpm dlx ember-cli@latest new my-app --blueprint ."
|
|
54
|
+
"new:app": "pnpm dlx ember-cli@latest new my-app --blueprint .",
|
|
55
|
+
"test": "vitest"
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is used to ensure that `eslint.config.mjs` is properly configured
|
|
3
|
+
* to apply `typescript-eslint`'s recommended rules to `.gts` files. It ensures
|
|
4
|
+
* that:
|
|
5
|
+
*
|
|
6
|
+
* - `no-undef` is disabled (otherwise the undefined symbol would cause a
|
|
7
|
+
* linting error)
|
|
8
|
+
* - `@typescript-eslint/no-unsafe-return` is enabled (otherwise the
|
|
9
|
+
* `eslint-disable-next-line` comment would cause a linting error)
|
|
10
|
+
*/
|
|
11
|
+
export default function () {
|
|
12
|
+
// @ts-expect-error testing lint
|
|
13
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
14
|
+
return notDefined;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is used to ensure that `eslint.config.mjs` is properly configured
|
|
3
|
+
* to apply `typescript-eslint`'s recommended rules to `.ts` files. It ensures
|
|
4
|
+
* that:
|
|
5
|
+
*
|
|
6
|
+
* - `no-undef` is disabled (otherwise the undefined symbol would cause a
|
|
7
|
+
* linting error)
|
|
8
|
+
* - `@typescript-eslint/no-unsafe-return` is enabled (otherwise the
|
|
9
|
+
* `eslint-disable-next-line` comment would cause a linting error)
|
|
10
|
+
*/
|
|
11
|
+
export default function () {
|
|
12
|
+
// @ts-expect-error testing lint
|
|
13
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
14
|
+
return notDefined;
|
|
15
|
+
}
|
package/tests/lint.test.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { beforeAll, describe, it, expect } from 'vitest';
|
|
2
2
|
|
|
3
3
|
import { generateApp } from './helpers.mjs';
|
|
4
|
+
import fixturify from 'fixturify';
|
|
4
5
|
|
|
5
6
|
describe('linting & formatting', function () {
|
|
6
7
|
describe('JavaScript', function () {
|
|
@@ -39,6 +40,11 @@ describe('linting & formatting', function () {
|
|
|
39
40
|
flags: ['--typescript', '--pnpm'],
|
|
40
41
|
skipNpm: false,
|
|
41
42
|
});
|
|
43
|
+
|
|
44
|
+
fixturify.writeSync(
|
|
45
|
+
app.dir,
|
|
46
|
+
fixturify.readSync('./tests/fixtures/lint-ts'),
|
|
47
|
+
);
|
|
42
48
|
});
|
|
43
49
|
|
|
44
50
|
it('yields output without errors', async function (context) {
|