@ember/app-blueprint 6.9.0-alpha.1 → 6.9.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/ci.yml +15 -3
- package/.github/workflows/plan-alpha-release.yml +2 -0
- package/.github/workflows/plan-beta-release.yml +95 -0
- package/.github/workflows/plan-stable-release.yml +95 -0
- package/.github/workflows/publish-beta.yml +42 -0
- package/.github/workflows/publish-stable.yml +42 -0
- package/.release-plan.json +16 -4
- package/CHANGELOG.md +40 -9
- package/README.md +4 -3
- package/RELEASE.md +120 -16
- package/files/README.md +3 -5
- package/files/_js_babel.config.cjs +2 -0
- package/files/_ts_babel.config.cjs +2 -0
- package/files/app/app.ts +2 -0
- package/files/app/config/environment.ts +1 -0
- package/files/app/services/.gitkeep +0 -0
- package/files/package.json +26 -25
- package/files/testem.cjs +0 -1
- package/package.json +5 -5
- package/tests/lint.test.mjs +14 -2
- package/vitest.config.mjs +13 -0
- package/vitest.config.ts +0 -10
package/.github/workflows/ci.yml
CHANGED
|
@@ -16,20 +16,32 @@ jobs:
|
|
|
16
16
|
- uses: pnpm/action-setup@v4
|
|
17
17
|
- uses: actions/setup-node@v4
|
|
18
18
|
with:
|
|
19
|
-
node-version:
|
|
19
|
+
node-version: 22
|
|
20
20
|
cache: pnpm
|
|
21
21
|
- run: pnpm install --frozen-lockfile
|
|
22
22
|
- run: pnpm lint
|
|
23
23
|
|
|
24
24
|
test:
|
|
25
25
|
name: Test
|
|
26
|
-
runs-on:
|
|
26
|
+
runs-on: ${{ matrix.os }}
|
|
27
|
+
strategy:
|
|
28
|
+
fail-fast: false
|
|
29
|
+
matrix:
|
|
30
|
+
os:
|
|
31
|
+
- ubuntu-latest
|
|
32
|
+
- windows-latest
|
|
33
|
+
|
|
27
34
|
steps:
|
|
28
35
|
- uses: actions/checkout@v4
|
|
29
36
|
- uses: pnpm/action-setup@v4
|
|
30
37
|
- uses: actions/setup-node@v4
|
|
31
38
|
with:
|
|
32
|
-
node-version:
|
|
39
|
+
node-version: 20
|
|
33
40
|
cache: pnpm
|
|
41
|
+
- name: Set TEMP to D:/Temp on windows
|
|
42
|
+
if: ${{matrix.os}} == windows-latest
|
|
43
|
+
run: |
|
|
44
|
+
mkdir "D:\\Temp"
|
|
45
|
+
echo "TEMP=D:\\Temp" >> $env:GITHUB_ENV
|
|
34
46
|
- run: pnpm install --frozen-lockfile
|
|
35
47
|
- run: pnpm test
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
name: Plan Beta Release
|
|
2
|
+
on:
|
|
3
|
+
workflow_dispatch:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- beta
|
|
7
|
+
pull_request_target: # This workflow has permissions on the repo, do NOT run code from PRs in this workflow. See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
|
|
8
|
+
types:
|
|
9
|
+
- labeled
|
|
10
|
+
- unlabeled
|
|
11
|
+
branches:
|
|
12
|
+
- beta
|
|
13
|
+
|
|
14
|
+
concurrency:
|
|
15
|
+
group: plan-release-beta # only the latest one of these should ever be running
|
|
16
|
+
cancel-in-progress: true
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
is-this-a-release:
|
|
20
|
+
name: "Is this a release?"
|
|
21
|
+
runs-on: ubuntu-latest
|
|
22
|
+
outputs:
|
|
23
|
+
command: ${{ steps.check-release.outputs.command }}
|
|
24
|
+
|
|
25
|
+
steps:
|
|
26
|
+
- uses: actions/checkout@v4
|
|
27
|
+
with:
|
|
28
|
+
fetch-depth: 2
|
|
29
|
+
ref: 'beta'
|
|
30
|
+
# This will only cause the `is-this-a-release` job to have a "command" of `release`
|
|
31
|
+
# when the .release-plan.json file was changed on the last commit.
|
|
32
|
+
- id: check-release
|
|
33
|
+
run: if git diff --name-only HEAD HEAD~1 | grep -w -q ".release-plan.json"; then echo "command=release"; fi >> $GITHUB_OUTPUT
|
|
34
|
+
|
|
35
|
+
create-prepare-release-pr:
|
|
36
|
+
name: Create Prepare Release PR
|
|
37
|
+
runs-on: ubuntu-latest
|
|
38
|
+
timeout-minutes: 5
|
|
39
|
+
needs: is-this-a-release
|
|
40
|
+
permissions:
|
|
41
|
+
contents: write
|
|
42
|
+
issues: read
|
|
43
|
+
pull-requests: write
|
|
44
|
+
# only run on push event or workflow dispatch if plan wasn't updated (don't create a release plan when we're releasing)
|
|
45
|
+
# only run on labeled event if the PR has already been merged
|
|
46
|
+
if: ((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && needs.is-this-a-release.outputs.command != 'release') || (github.event_name == 'pull_request_target' && github.event.pull_request.merged == true)
|
|
47
|
+
|
|
48
|
+
steps:
|
|
49
|
+
- uses: actions/checkout@v4
|
|
50
|
+
# We need to download lots of history so that
|
|
51
|
+
# github-changelog can discover what's changed since the last release
|
|
52
|
+
with:
|
|
53
|
+
fetch-depth: 0
|
|
54
|
+
ref: 'beta'
|
|
55
|
+
- uses: pnpm/action-setup@v4
|
|
56
|
+
- uses: actions/setup-node@v4
|
|
57
|
+
with:
|
|
58
|
+
node-version: 18
|
|
59
|
+
cache: pnpm
|
|
60
|
+
- run: pnpm install --frozen-lockfile
|
|
61
|
+
- name: "Generate Explanation and Prep Changelogs"
|
|
62
|
+
id: explanation
|
|
63
|
+
run: |
|
|
64
|
+
set +e
|
|
65
|
+
pnpm release-plan prepare 2> >(tee -a release-plan-stderr.txt >&2)
|
|
66
|
+
|
|
67
|
+
if [ $? -ne 0 ]; then
|
|
68
|
+
release_plan_output=$(cat release-plan-stderr.txt)
|
|
69
|
+
else
|
|
70
|
+
release_plan_output=$(jq .description .release-plan.json -r)
|
|
71
|
+
rm release-plan-stderr.txt
|
|
72
|
+
|
|
73
|
+
if [ $(jq '.solution | length' .release-plan.json) -eq 1 ]; then
|
|
74
|
+
new_version=$(jq -r '.solution[].newVersion' .release-plan.json)
|
|
75
|
+
echo "new_version=v$new_version" >> $GITHUB_OUTPUT
|
|
76
|
+
fi
|
|
77
|
+
fi
|
|
78
|
+
echo 'text<<EOF' >> $GITHUB_OUTPUT
|
|
79
|
+
echo "$release_plan_output" >> $GITHUB_OUTPUT
|
|
80
|
+
echo 'EOF' >> $GITHUB_OUTPUT
|
|
81
|
+
env:
|
|
82
|
+
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
|
|
83
|
+
|
|
84
|
+
- uses: peter-evans/create-pull-request@v7
|
|
85
|
+
with:
|
|
86
|
+
commit-message: "Prepare Release ${{ steps.explanation.outputs.new_version}} using 'release-plan'"
|
|
87
|
+
labels: "internal"
|
|
88
|
+
branch: release-preview
|
|
89
|
+
title: Prepare Beta Release ${{ steps.explanation.outputs.new_version }}
|
|
90
|
+
body: |
|
|
91
|
+
This PR is a preview of the release that [release-plan](https://github.com/embroider-build/release-plan) has prepared. To release you should just merge this PR 👍
|
|
92
|
+
|
|
93
|
+
-----------------------------------------
|
|
94
|
+
|
|
95
|
+
${{ steps.explanation.outputs.text }}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
name: Plan Stable Release
|
|
2
|
+
on:
|
|
3
|
+
workflow_dispatch:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- release
|
|
7
|
+
pull_request_target: # This workflow has permissions on the repo, do NOT run code from PRs in this workflow. See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
|
|
8
|
+
types:
|
|
9
|
+
- labeled
|
|
10
|
+
- unlabeled
|
|
11
|
+
branches:
|
|
12
|
+
- release
|
|
13
|
+
|
|
14
|
+
concurrency:
|
|
15
|
+
group: plan-release # only the latest one of these should ever be running
|
|
16
|
+
cancel-in-progress: true
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
is-this-a-release:
|
|
20
|
+
name: "Is this a release?"
|
|
21
|
+
runs-on: ubuntu-latest
|
|
22
|
+
outputs:
|
|
23
|
+
command: ${{ steps.check-release.outputs.command }}
|
|
24
|
+
|
|
25
|
+
steps:
|
|
26
|
+
- uses: actions/checkout@v4
|
|
27
|
+
with:
|
|
28
|
+
fetch-depth: 2
|
|
29
|
+
ref: 'release'
|
|
30
|
+
# This will only cause the `is-this-a-release` job to have a "command" of `release`
|
|
31
|
+
# when the .release-plan.json file was changed on the last commit.
|
|
32
|
+
- id: check-release
|
|
33
|
+
run: if git diff --name-only HEAD HEAD~1 | grep -w -q ".release-plan.json"; then echo "command=release"; fi >> $GITHUB_OUTPUT
|
|
34
|
+
|
|
35
|
+
create-prepare-release-pr:
|
|
36
|
+
name: Create Prepare Release PR
|
|
37
|
+
runs-on: ubuntu-latest
|
|
38
|
+
timeout-minutes: 5
|
|
39
|
+
needs: is-this-a-release
|
|
40
|
+
permissions:
|
|
41
|
+
contents: write
|
|
42
|
+
issues: read
|
|
43
|
+
pull-requests: write
|
|
44
|
+
# only run on push event or workflow dispatch if plan wasn't updated (don't create a release plan when we're releasing)
|
|
45
|
+
# only run on labeled event if the PR has already been merged
|
|
46
|
+
if: ((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && needs.is-this-a-release.outputs.command != 'release') || (github.event_name == 'pull_request_target' && github.event.pull_request.merged == true)
|
|
47
|
+
|
|
48
|
+
steps:
|
|
49
|
+
- uses: actions/checkout@v4
|
|
50
|
+
# We need to download lots of history so that
|
|
51
|
+
# github-changelog can discover what's changed since the last release
|
|
52
|
+
with:
|
|
53
|
+
fetch-depth: 0
|
|
54
|
+
ref: 'release'
|
|
55
|
+
- uses: pnpm/action-setup@v4
|
|
56
|
+
- uses: actions/setup-node@v4
|
|
57
|
+
with:
|
|
58
|
+
node-version: 18
|
|
59
|
+
cache: pnpm
|
|
60
|
+
- run: pnpm install --frozen-lockfile
|
|
61
|
+
- name: "Generate Explanation and Prep Changelogs"
|
|
62
|
+
id: explanation
|
|
63
|
+
run: |
|
|
64
|
+
set +e
|
|
65
|
+
pnpm release-plan prepare 2> >(tee -a release-plan-stderr.txt >&2)
|
|
66
|
+
|
|
67
|
+
if [ $? -ne 0 ]; then
|
|
68
|
+
release_plan_output=$(cat release-plan-stderr.txt)
|
|
69
|
+
else
|
|
70
|
+
release_plan_output=$(jq .description .release-plan.json -r)
|
|
71
|
+
rm release-plan-stderr.txt
|
|
72
|
+
|
|
73
|
+
if [ $(jq '.solution | length' .release-plan.json) -eq 1 ]; then
|
|
74
|
+
new_version=$(jq -r '.solution[].newVersion' .release-plan.json)
|
|
75
|
+
echo "new_version=v$new_version" >> $GITHUB_OUTPUT
|
|
76
|
+
fi
|
|
77
|
+
fi
|
|
78
|
+
echo 'text<<EOF' >> $GITHUB_OUTPUT
|
|
79
|
+
echo "$release_plan_output" >> $GITHUB_OUTPUT
|
|
80
|
+
echo 'EOF' >> $GITHUB_OUTPUT
|
|
81
|
+
env:
|
|
82
|
+
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
|
|
83
|
+
|
|
84
|
+
- uses: peter-evans/create-pull-request@v7
|
|
85
|
+
with:
|
|
86
|
+
commit-message: "Prepare Release ${{ steps.explanation.outputs.new_version}} using 'release-plan'"
|
|
87
|
+
labels: "internal"
|
|
88
|
+
branch: release-preview
|
|
89
|
+
title: Prepare Stable Release ${{ steps.explanation.outputs.new_version }}
|
|
90
|
+
body: |
|
|
91
|
+
This PR is a preview of the release that [release-plan](https://github.com/embroider-build/release-plan) has prepared. To release you should just merge this PR 👍
|
|
92
|
+
|
|
93
|
+
-----------------------------------------
|
|
94
|
+
|
|
95
|
+
${{ steps.explanation.outputs.text }}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# For every push to the primary branch with .release-plan.json modified,
|
|
2
|
+
# runs release-plan.
|
|
3
|
+
|
|
4
|
+
name: Publish Beta
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
push:
|
|
9
|
+
branches:
|
|
10
|
+
- beta
|
|
11
|
+
paths:
|
|
12
|
+
- '.release-plan.json'
|
|
13
|
+
|
|
14
|
+
concurrency:
|
|
15
|
+
group: publish-${{ github.head_ref || github.ref }}
|
|
16
|
+
cancel-in-progress: true
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
publish:
|
|
20
|
+
name: "NPM Publish"
|
|
21
|
+
runs-on: ubuntu-latest
|
|
22
|
+
permissions:
|
|
23
|
+
contents: write
|
|
24
|
+
pull-requests: write
|
|
25
|
+
id-token: write
|
|
26
|
+
attestations: write
|
|
27
|
+
|
|
28
|
+
steps:
|
|
29
|
+
- uses: actions/checkout@v4
|
|
30
|
+
- uses: pnpm/action-setup@v4
|
|
31
|
+
- uses: actions/setup-node@v4
|
|
32
|
+
with:
|
|
33
|
+
node-version: 18
|
|
34
|
+
# This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable
|
|
35
|
+
registry-url: 'https://registry.npmjs.org'
|
|
36
|
+
cache: pnpm
|
|
37
|
+
- run: pnpm install --frozen-lockfile
|
|
38
|
+
- name: Publish to NPM
|
|
39
|
+
run: NPM_CONFIG_PROVENANCE=true pnpm release-plan publish --publish-branch=beta --github-prerelease
|
|
40
|
+
env:
|
|
41
|
+
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
|
|
42
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# For every push to the primary branch with .release-plan.json modified,
|
|
2
|
+
# runs release-plan.
|
|
3
|
+
|
|
4
|
+
name: Publish Stable
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
push:
|
|
9
|
+
branches:
|
|
10
|
+
- release
|
|
11
|
+
paths:
|
|
12
|
+
- '.release-plan.json'
|
|
13
|
+
|
|
14
|
+
concurrency:
|
|
15
|
+
group: publish-${{ github.head_ref || github.ref }}
|
|
16
|
+
cancel-in-progress: true
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
publish:
|
|
20
|
+
name: "NPM Publish"
|
|
21
|
+
runs-on: ubuntu-latest
|
|
22
|
+
permissions:
|
|
23
|
+
contents: write
|
|
24
|
+
pull-requests: write
|
|
25
|
+
id-token: write
|
|
26
|
+
attestations: write
|
|
27
|
+
|
|
28
|
+
steps:
|
|
29
|
+
- uses: actions/checkout@v4
|
|
30
|
+
- uses: pnpm/action-setup@v4
|
|
31
|
+
- uses: actions/setup-node@v4
|
|
32
|
+
with:
|
|
33
|
+
node-version: 18
|
|
34
|
+
# This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable
|
|
35
|
+
registry-url: 'https://registry.npmjs.org'
|
|
36
|
+
cache: pnpm
|
|
37
|
+
- run: pnpm install --frozen-lockfile
|
|
38
|
+
- name: Publish to NPM
|
|
39
|
+
run: NPM_CONFIG_PROVENANCE=true pnpm release-plan publish --publish-branch=release
|
|
40
|
+
env:
|
|
41
|
+
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
|
|
42
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/.release-plan.json
CHANGED
|
@@ -2,17 +2,29 @@
|
|
|
2
2
|
"solution": {
|
|
3
3
|
"@ember/app-blueprint": {
|
|
4
4
|
"impact": "minor",
|
|
5
|
-
"oldVersion": "6.9.0-
|
|
6
|
-
"newVersion": "6.9.0-
|
|
7
|
-
"tagName": "
|
|
5
|
+
"oldVersion": "6.9.0-beta.0",
|
|
6
|
+
"newVersion": "6.9.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 (2025-
|
|
29
|
+
"description": "## Release (2025-10-14)\n\n* @ember/app-blueprint 6.9.0-beta.1 (minor)\n\n#### :rocket: Enhancement\n* `@ember/app-blueprint`\n * [#111](https://github.com/ember-cli/ember-app-blueprint/pull/111) Prepare 6.9 Beta ([@mansona](https://github.com/mansona))\n * [#109](https://github.com/ember-cli/ember-app-blueprint/pull/109) Release 6.8 ([@mansona](https://github.com/mansona))\n * [#76](https://github.com/ember-cli/ember-app-blueprint/pull/76) Prepare 6.9-alpha ([@mansona](https://github.com/mansona))\n\n#### :bug: Bug Fix\n* `@ember/app-blueprint`\n * [#78](https://github.com/ember-cli/ember-app-blueprint/pull/78) Use strict mode for all CJS files ([@simonihmig](https://github.com/simonihmig))\n\n#### :memo: Documentation\n* `@ember/app-blueprint`\n * [#64](https://github.com/ember-cli/ember-app-blueprint/pull/64) Update the release document to match the ember-cli process ([@mansona](https://github.com/mansona))\n * [#81](https://github.com/ember-cli/ember-app-blueprint/pull/81) Correct example usage command in README ([@abeforgit](https://github.com/abeforgit))\n * [#80](https://github.com/ember-cli/ember-app-blueprint/pull/80) Fix formatting of README file ([@bertdeblock](https://github.com/bertdeblock))\n\n#### :house: Internal\n* `@ember/app-blueprint`\n * [#110](https://github.com/ember-cli/ember-app-blueprint/pull/110) Prepare Stable Release v6.8.0 ([@github-actions[bot]](https://github.com/apps/github-actions))\n * [#107](https://github.com/ember-cli/ember-app-blueprint/pull/107) Prepare Alpha Release v6.9.0-alpha.2 ([@github-actions[bot]](https://github.com/apps/github-actions))\n * [#108](https://github.com/ember-cli/ember-app-blueprint/pull/108) update release-plan ([@mansona](https://github.com/mansona))\n * [#106](https://github.com/ember-cli/ember-app-blueprint/pull/106) Merge beta into main ([@mansona](https://github.com/mansona))\n * [#77](https://github.com/ember-cli/ember-app-blueprint/pull/77) Prepare Alpha Release v6.9.0-alpha.1 ([@github-actions[bot]](https://github.com/apps/github-actions))\n\n#### Committers: 5\n- Arne Bertrand ([@abeforgit](https://github.com/abeforgit))\n- Bert De Block ([@bertdeblock](https://github.com/bertdeblock))\n- Chris Manson ([@mansona](https://github.com/mansona))\n- Simon Ihmig ([@simonihmig](https://github.com/simonihmig))\n- [@github-actions[bot]](https://github.com/apps/github-actions)\n"
|
|
18
30
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,30 +1,61 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## Release (2025-
|
|
3
|
+
## Release (2025-10-14)
|
|
4
4
|
|
|
5
|
-
* @ember/app-blueprint 6.9.0-
|
|
5
|
+
* @ember/app-blueprint 6.9.0-beta.1 (minor)
|
|
6
6
|
|
|
7
7
|
#### :rocket: Enhancement
|
|
8
8
|
* `@ember/app-blueprint`
|
|
9
|
+
* [#111](https://github.com/ember-cli/ember-app-blueprint/pull/111) Prepare 6.9 Beta ([@mansona](https://github.com/mansona))
|
|
10
|
+
* [#109](https://github.com/ember-cli/ember-app-blueprint/pull/109) Release 6.8 ([@mansona](https://github.com/mansona))
|
|
9
11
|
* [#76](https://github.com/ember-cli/ember-app-blueprint/pull/76) Prepare 6.9-alpha ([@mansona](https://github.com/mansona))
|
|
10
12
|
|
|
11
|
-
####
|
|
13
|
+
#### :bug: Bug Fix
|
|
14
|
+
* `@ember/app-blueprint`
|
|
15
|
+
* [#78](https://github.com/ember-cli/ember-app-blueprint/pull/78) Use strict mode for all CJS files ([@simonihmig](https://github.com/simonihmig))
|
|
16
|
+
|
|
17
|
+
#### :memo: Documentation
|
|
18
|
+
* `@ember/app-blueprint`
|
|
19
|
+
* [#64](https://github.com/ember-cli/ember-app-blueprint/pull/64) Update the release document to match the ember-cli process ([@mansona](https://github.com/mansona))
|
|
20
|
+
* [#81](https://github.com/ember-cli/ember-app-blueprint/pull/81) Correct example usage command in README ([@abeforgit](https://github.com/abeforgit))
|
|
21
|
+
* [#80](https://github.com/ember-cli/ember-app-blueprint/pull/80) Fix formatting of README file ([@bertdeblock](https://github.com/bertdeblock))
|
|
22
|
+
|
|
23
|
+
#### :house: Internal
|
|
24
|
+
* `@ember/app-blueprint`
|
|
25
|
+
* [#110](https://github.com/ember-cli/ember-app-blueprint/pull/110) Prepare Stable Release v6.8.0 ([@github-actions[bot]](https://github.com/apps/github-actions))
|
|
26
|
+
* [#107](https://github.com/ember-cli/ember-app-blueprint/pull/107) Prepare Alpha Release v6.9.0-alpha.2 ([@github-actions[bot]](https://github.com/apps/github-actions))
|
|
27
|
+
* [#108](https://github.com/ember-cli/ember-app-blueprint/pull/108) update release-plan ([@mansona](https://github.com/mansona))
|
|
28
|
+
* [#106](https://github.com/ember-cli/ember-app-blueprint/pull/106) Merge beta into main ([@mansona](https://github.com/mansona))
|
|
29
|
+
* [#77](https://github.com/ember-cli/ember-app-blueprint/pull/77) Prepare Alpha Release v6.9.0-alpha.1 ([@github-actions[bot]](https://github.com/apps/github-actions))
|
|
30
|
+
|
|
31
|
+
#### Committers: 5
|
|
32
|
+
- Arne Bertrand ([@abeforgit](https://github.com/abeforgit))
|
|
33
|
+
- Bert De Block ([@bertdeblock](https://github.com/bertdeblock))
|
|
12
34
|
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
35
|
+
- Simon Ihmig ([@simonihmig](https://github.com/simonihmig))
|
|
36
|
+
- [@github-actions[bot]](https://github.com/apps/github-actions)
|
|
13
37
|
|
|
14
|
-
## Release (2025-
|
|
38
|
+
## Release (2025-10-14)
|
|
15
39
|
|
|
16
|
-
* @ember/app-blueprint 6.8.0
|
|
40
|
+
* @ember/app-blueprint 6.8.0 (minor)
|
|
17
41
|
|
|
18
42
|
#### :rocket: Enhancement
|
|
19
43
|
* `@ember/app-blueprint`
|
|
20
|
-
* [#
|
|
44
|
+
* [#109](https://github.com/ember-cli/ember-app-blueprint/pull/109) Release 6.8 ([@mansona](https://github.com/mansona))
|
|
21
45
|
|
|
22
|
-
#### :
|
|
46
|
+
#### Committers: 1
|
|
47
|
+
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
48
|
+
|
|
49
|
+
## Release (2025-10-02)
|
|
50
|
+
|
|
51
|
+
* @ember/app-blueprint 6.7.2 (patch)
|
|
52
|
+
|
|
53
|
+
#### :bug: Bug Fix
|
|
23
54
|
* `@ember/app-blueprint`
|
|
24
|
-
* [#
|
|
55
|
+
* [#82](https://github.com/ember-cli/ember-app-blueprint/pull/82) Use TypeScript way of accessing potentially undefined `podModulePrefix` ([@pichfl](https://github.com/pichfl))
|
|
25
56
|
|
|
26
57
|
#### Committers: 1
|
|
27
|
-
-
|
|
58
|
+
- Florian Pichler ([@pichfl](https://github.com/pichfl))
|
|
28
59
|
|
|
29
60
|
## Release (2025-09-04)
|
|
30
61
|
|
package/README.md
CHANGED
|
@@ -4,7 +4,8 @@ This is the blueprint that is used to generate a **new** Ember app using [Vite](
|
|
|
4
4
|
|
|
5
5
|
If you have an existing app that you would like to upgrade to use Vite consider using the [ember-vite-codemod](https://github.com/mainmatter/ember-vite-codemod)
|
|
6
6
|
|
|
7
|
-
##
|
|
8
|
-
|
|
9
|
-
pnpm dlx ember-cli@latest app my-app-name -b @ember/app-blueprint --pnpm
|
|
7
|
+
## Usage
|
|
10
8
|
|
|
9
|
+
```
|
|
10
|
+
pnpm dlx ember-cli@latest new my-app-name -b @ember/app-blueprint --pnpm
|
|
11
|
+
```
|
package/RELEASE.md
CHANGED
|
@@ -1,27 +1,131 @@
|
|
|
1
1
|
# Release Process
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This blueprint follows the same channel-based release process as [`ember-cli`](https://github.com/ember-cli/ember-cli/):
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
* `release` - This branch represents the `latest` dist-tag on NPM
|
|
6
|
+
* `beta` - This branch represents the `beta` dist-tag on NPM
|
|
7
|
+
* `main` - The branch represents the `alpha` dist-tag on NPM
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
Most changes to this repo should be made as a PR that targets the `main` 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.
|
|
8
10
|
|
|
9
|
-
-
|
|
10
|
-
- updating pull request titles so they make sense to our users
|
|
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.
|
|
11
12
|
|
|
12
|
-
|
|
13
|
-
guiding principle here is that changelogs are for humans, not machines.
|
|
13
|
+
## Release process overview
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
During the release week each of the versions are effectively "promoted" i.e. the current `beta` version is released as `latest`, the current `alpha` version is released as `beta` and a **new** `alpha` version is created. This requires PRs to each of the active branches to update the `ember-source` version. Each of those PRs that update dependencies should be marked as `enhancement` if we are releasing a minor version.
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
- enhancement - Used when the PR adds a new feature or enhancement.
|
|
19
|
-
- bug - Used when the PR fixes a bug included in a previous release.
|
|
20
|
-
- documentation - Used when the PR adds or updates documentation.
|
|
21
|
-
- internal - Internal changes or things that don't fit in any other category.
|
|
17
|
+
The release process during release week should look like this:
|
|
22
18
|
|
|
23
|
-
|
|
19
|
+
- Wait for `ember-source` to be released first
|
|
20
|
+
- Merge any outstanding `Prepare Alpha Release` branches
|
|
21
|
+
- Do an intial stable release from the `release` branch
|
|
22
|
+
- update the dependency on `ember-cli` to point at this release and go through the release process there
|
|
23
|
+
- Merge `release` into `beta`
|
|
24
|
+
- Do a `beta` release
|
|
25
|
+
- Merge `beta` into `main`
|
|
26
|
+
- Do an `alpha` release
|
|
24
27
|
|
|
25
|
-
|
|
28
|
+
### Merge any outstanding `Prepare Alpha Release` branches
|
|
26
29
|
|
|
27
|
-
|
|
30
|
+
This makes sure that you are starting from a "clean slate" before doing any other releases. This will make each of the following steps easier to follow.
|
|
31
|
+
|
|
32
|
+
You can use [this saved search](https://github.com/ember-cli/ember-app-blueprint/pulls?q=is%3Apr+is%3Aopen+Prepare) to find any outstanding `Prepare Release` branches.
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Initial Stable Release from the `release` branch
|
|
36
|
+
|
|
37
|
+
- fetch latest from origin `git fetch`
|
|
38
|
+
- create a new branch to do the release e.g. `git checkout --no-track -b release-plan-6-4 origin/release`
|
|
39
|
+
- 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
|
|
40
|
+
- Merge `origin/beta` into the release branch
|
|
41
|
+
- `git merge origin/beta --no-ff`
|
|
42
|
+
- **make sure to not update the .release-plan file** this should only ever be changed by the release-plan github scripts
|
|
43
|
+
- **make sure to not update the .github/workflows/plan-stable-release.yml file** this should still plan a stable release
|
|
44
|
+
- **make sure to not update the .github/workflows/publish-stable.yml file** this should still publish a stable release
|
|
45
|
+
- **make sure to not update the CHANGELOG.md file** so as not to include the beta or alpha changelogs in the next release
|
|
46
|
+
- make sure to not update the version in the package.json during this step, this will be release-plan's job
|
|
47
|
+
- 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.
|
|
48
|
+
- Update blueprint dependencies to latest
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
pnpm dlx update-blueprint-deps --filter ember-source --tag latest files/package.json
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
- commit this update `git commit -am "update blueprint dependencies to latest"`
|
|
55
|
+
- push and open a PR targeting `release` with a PR title like `Update all dependencies for 6.4 release`
|
|
56
|
+
- mark this PR as an `enhancement` if it is a minor release
|
|
57
|
+
- check that everything is ok (i.e. that CI has run correctly and that you have the changes you expect)
|
|
58
|
+
- merge branch
|
|
59
|
+
- check that the `Prepare Release` PR has been correctly opened by `release-plan`
|
|
60
|
+
- Merge the `Prepare Release` branch when you are ready to release
|
|
61
|
+
- Check the `Release Stable` GitHub action to make sure the release succeeded
|
|
62
|
+
|
|
63
|
+
### Beta release from the `beta` branch
|
|
64
|
+
|
|
65
|
+
- fetch latest from origin `git fetch`
|
|
66
|
+
- create a new branch to merge `release` into `beta` e.g. `git checkout --no-track -b merge-release origin/beta`
|
|
67
|
+
- merge release into this new branch e.g. `git merge origin/release --no-ff`
|
|
68
|
+
- **make sure to not update the .release-plan file** this should only ever be changed by the release-plan github scripts
|
|
69
|
+
- **make sure to not update any .github/workflows/plan-release.yml file** this should still plan a beta release
|
|
70
|
+
- **make sure to not update any .github/workflows/publish.yml file** this should still publish a beta release
|
|
71
|
+
- make sure to not update the version in the package.json during this step, that step comes later
|
|
72
|
+
- make sure to not remove the `release-plan` config section of the the `package.json` during this step.
|
|
73
|
+
- merge master into this new branch too e.g. `git merge origin/main --no-ff`
|
|
74
|
+
- **make sure to not update the .release-plan file** this should only ever be changed by the release-plan github scripts
|
|
75
|
+
- **make sure to not update the CHANGELOG.md file** in this step. It should match the changelog on `origin/release` at this stage.
|
|
76
|
+
- 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",`
|
|
77
|
+
- make sure not to update the `release-plan` config in `package.json`
|
|
78
|
+
- Update blueprint dependencies to beta
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
pnpm dlx update-blueprint-deps --filter ember-source --tag beta files/package.json
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
- commit this update `git commit -am "update blueprint dependencies to beta"`
|
|
85
|
+
- push and open a PR targeting `beta` with a PR title like `Prepare 6.5-beta`
|
|
86
|
+
- mark this PR as an `enchancement` if the next beta is a minor release
|
|
87
|
+
- check that everything is ok i.e. CI passes
|
|
88
|
+
- merge the `merge-release` branch into `beta` in GitHub
|
|
89
|
+
- check that the `Prepare Beta Release` PR has been correctly opened by `release-plan`
|
|
90
|
+
- note: the release-plan config will automatically make this version a pre-release
|
|
91
|
+
- Merge the `Prepare Beta Release` when you are ready to release the next beta version
|
|
92
|
+
- Check the `Release Beta` GitHub action to make sure the release succeeded
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
### Alpha release from the `main` branch
|
|
96
|
+
|
|
97
|
+
- fetch latest from origin `git fetch`
|
|
98
|
+
- create a new branch to merge `beta` into `main` e.g. `git checkout --no-track -b merge-beta origin/main`
|
|
99
|
+
- merge beta into this new branch e.g. `git merge origin/beta --no-ff`
|
|
100
|
+
- **make sure to not update the .release-plan file** this should only ever be changed by the release-plan github scripts
|
|
101
|
+
- make sure to not update the `release-plan` config section to the `package.json` during this step.
|
|
102
|
+
- **make sure to not update any .github/workflows/plan-alpha-release.yml file** this should still plan an alpha release
|
|
103
|
+
- **make sure to not update any .github/workflows/publish-alpha.yml file** this should still publish an alpha release
|
|
104
|
+
- manually update the version in package.json to be the next alpha.
|
|
105
|
+
- e.g. if the current alpha is `"version": "6.6.0-alpha.3",` update it to be `"version": "6.7.0-alpha.0",`
|
|
106
|
+
- commit this change to the version in package.json: `git commit -am "update to the next alpha version"`
|
|
107
|
+
- Update blueprint dependencies to alpha
|
|
108
|
+
|
|
109
|
+
```
|
|
110
|
+
pnpm dlx update-blueprint-deps --filter ember-source --tag alpha files/package.json
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
- commit this update `git commit -am "update blueprint dependencies to alpha"`
|
|
114
|
+
- push and open a PR targeting `main` with a PR title like `Prepare 6.6-alpha`
|
|
115
|
+
- mark this PR as an `enchancement` if the next alpha is a minor release
|
|
116
|
+
- check that everything is ok i.e. CI passes
|
|
117
|
+
- merge the `merge-beta` branch into `main` in GitHub
|
|
118
|
+
- check that the `Prepare Alpha Release` PR has been correctly opened by `release-plan`
|
|
119
|
+
- Merge the `Prepare Alpha Release` when you are ready to release the next alpha version
|
|
120
|
+
- Check the `Release Alpha` GitHub action to make sure the release succeeded
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
## Changelog updates
|
|
124
|
+
|
|
125
|
+
`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.
|
|
126
|
+
|
|
127
|
+
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.
|
|
128
|
+
|
|
129
|
+
## Patch Releases
|
|
130
|
+
|
|
131
|
+
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.
|
package/files/README.md
CHANGED
|
@@ -11,7 +11,6 @@ You will need the following things properly installed on your computer.
|
|
|
11
11
|
- [Node.js](https://nodejs.org/)<% if (pnpm) { %>
|
|
12
12
|
- [pnpm](https://pnpm.io/)<% } else if (yarn) { %>
|
|
13
13
|
- [Yarn](https://yarnpkg.com/)<% } else { %> (with npm)<% } %>
|
|
14
|
-
- [Ember CLI](https://cli.emberjs.com/release/)
|
|
15
14
|
- [Google Chrome](https://google.com/chrome/)
|
|
16
15
|
|
|
17
16
|
## Installation
|
|
@@ -28,12 +27,11 @@ You will need the following things properly installed on your computer.
|
|
|
28
27
|
|
|
29
28
|
### Code Generators
|
|
30
29
|
|
|
31
|
-
Make use of the many generators for code, try
|
|
30
|
+
Make use of the many generators for code, try `<%= execBinPrefix %> ember help generate` for more details
|
|
32
31
|
|
|
33
32
|
### Running Tests
|
|
34
33
|
|
|
35
34
|
- `<%= invokeScriptPrefix %> test`
|
|
36
|
-
- `<%= invokeScriptPrefix %> test <% if (npm) { %>-- <% } %>--server`
|
|
37
35
|
|
|
38
36
|
### Linting
|
|
39
37
|
|
|
@@ -42,7 +40,7 @@ Make use of the many generators for code, try `ember help generate` for more det
|
|
|
42
40
|
|
|
43
41
|
### Building
|
|
44
42
|
|
|
45
|
-
- `<%= execBinPrefix %>
|
|
43
|
+
- `<%= execBinPrefix %> vite build --mode development` (development)
|
|
46
44
|
- `<%= invokeScriptPrefix %> build` (production)
|
|
47
45
|
|
|
48
46
|
### Deploying
|
|
@@ -52,7 +50,7 @@ Specify what it takes to deploy your app.
|
|
|
52
50
|
## Further Reading / Useful Links
|
|
53
51
|
|
|
54
52
|
- [ember.js](https://emberjs.com/)
|
|
55
|
-
- [
|
|
53
|
+
- [Vite](https://vite.dev)
|
|
56
54
|
- Development Browser Extensions
|
|
57
55
|
- [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi)
|
|
58
56
|
- [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/)
|
package/files/app/app.ts
CHANGED
|
@@ -4,6 +4,7 @@ import Resolver from 'ember-resolver';
|
|
|
4
4
|
import loadInitializers from 'ember-load-initializers';
|
|
5
5
|
import config from '<%= modulePrefix %>/config/environment';
|
|
6
6
|
import { importSync, isDevelopingApp, macroCondition } from '@embroider/macros';
|
|
7
|
+
import setupInspector from '@embroider/legacy-inspector-support/ember-source-4.12';
|
|
7
8
|
|
|
8
9
|
if (macroCondition(isDevelopingApp())) {
|
|
9
10
|
importSync('./deprecation-workflow');
|
|
@@ -13,6 +14,7 @@ export default class App extends Application {
|
|
|
13
14
|
modulePrefix = config.modulePrefix;
|
|
14
15
|
podModulePrefix = config.podModulePrefix;
|
|
15
16
|
Resolver = Resolver.withModules(compatModules);
|
|
17
|
+
inspector = setupInspector(this);
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
loadInitializers(App, config.modulePrefix, compatModules);
|
|
File without changes
|
package/files/package.json
CHANGED
|
@@ -24,18 +24,18 @@
|
|
|
24
24
|
"lint:js:fix": "eslint . --fix<% if (typescript) { %>",
|
|
25
25
|
"lint:types": "glint<% } %>",
|
|
26
26
|
"start": "vite",
|
|
27
|
-
"test": "vite build --mode development &&
|
|
27
|
+
"test": "vite build --mode development && ember test --path dist"
|
|
28
28
|
},
|
|
29
29
|
"exports": {
|
|
30
30
|
"./tests/*": "./tests/*",
|
|
31
31
|
"./*": "./app/*"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@babel/core": "^7.28.
|
|
35
|
-
"@babel/runtime": "^7.28.
|
|
34
|
+
"@babel/core": "^7.28.4",
|
|
35
|
+
"@babel/runtime": "^7.28.4",
|
|
36
36
|
"@babel/plugin-transform-runtime": "^7.28.3<% if (typescript) { %>",
|
|
37
37
|
"@babel/plugin-transform-typescript": "^7.28.0<% } %>",
|
|
38
|
-
"@babel/eslint-parser": "^7.28.
|
|
38
|
+
"@babel/eslint-parser": "^7.28.4<% if (typescript && emberData) { %>",
|
|
39
39
|
"@ember-data/adapter": "~5.6.0",
|
|
40
40
|
"@ember-data/graph": "~5.6.0",
|
|
41
41
|
"@ember-data/json-api": "~5.6.0",
|
|
@@ -48,20 +48,21 @@
|
|
|
48
48
|
"@ember/app-tsconfig": "^1.0.3<% } %>",
|
|
49
49
|
"@ember/optional-features": "^2.2.0",
|
|
50
50
|
"@ember/string": "^4.0.1",
|
|
51
|
-
"@ember/test-helpers": "^5.
|
|
51
|
+
"@ember/test-helpers": "^5.3.0",
|
|
52
52
|
"@ember/test-waiters": "^4.1.1",
|
|
53
|
-
"@embroider/macros": "^1.
|
|
54
|
-
"@embroider/core": "^4.
|
|
55
|
-
"@embroider/vite": "^1.2
|
|
56
|
-
"@embroider/compat": "^4.1.
|
|
57
|
-
"@embroider/router": "^3.0.
|
|
53
|
+
"@embroider/macros": "^1.19.1",
|
|
54
|
+
"@embroider/core": "^4.2.4",
|
|
55
|
+
"@embroider/vite": "^1.3.2",
|
|
56
|
+
"@embroider/compat": "^4.1.7",
|
|
57
|
+
"@embroider/router": "^3.0.4",
|
|
58
58
|
"@embroider/config-meta-loader": "^1.0.0",
|
|
59
|
-
"@
|
|
59
|
+
"@embroider/legacy-inspector-support": "^0.1.3",
|
|
60
|
+
"@eslint/js": "^9.37.0",
|
|
60
61
|
"@glimmer/component": "^2.0.0<% if (typescript) { %>",
|
|
61
62
|
"@glint/core": "^1.5.2",
|
|
62
63
|
"@glint/environment-ember-loose": "^1.5.2",
|
|
63
64
|
"@glint/environment-ember-template-imports": "^1.5.2",
|
|
64
|
-
"@glint/template": "^1.
|
|
65
|
+
"@glint/template": "^1.6.1<% } %>",
|
|
65
66
|
"@rollup/plugin-babel": "^6.0.4<% if (typescript) { %>",
|
|
66
67
|
"@types/qunit": "^2.19.13",
|
|
67
68
|
"@types/rsvp": "^4.0.9<% if (emberData) {%>",
|
|
@@ -70,36 +71,36 @@
|
|
|
70
71
|
"babel-plugin-ember-template-compilation": "^2.4.1",
|
|
71
72
|
"concurrently": "^9.2.1",
|
|
72
73
|
"decorator-transforms": "^2.3.0",
|
|
73
|
-
"ember-auto-import": "^2.
|
|
74
|
-
"ember-cli": "
|
|
74
|
+
"ember-auto-import": "^2.11.1",
|
|
75
|
+
"ember-cli": "~6.9.0-alpha.1",
|
|
75
76
|
"ember-cli-babel": "^8.2.0",
|
|
76
77
|
"ember-cli-deprecation-workflow": "^3.4.0<% if (emberData) { %>",
|
|
77
78
|
"ember-data": "~5.6.0<% } %>",
|
|
78
79
|
"ember-load-initializers": "^3.0.1",
|
|
79
80
|
"ember-modifier": "^4.2.2",
|
|
80
81
|
"ember-page-title": "^9.0.3",
|
|
81
|
-
"ember-qunit": "^9.0.
|
|
82
|
+
"ember-qunit": "^9.0.4",
|
|
82
83
|
"ember-resolver": "^13.1.1",
|
|
83
|
-
"ember-source": "~6.
|
|
84
|
+
"ember-source": "~6.9.0-beta.1",
|
|
84
85
|
"ember-template-lint": "^7.9.3<% if (welcome) { %>",
|
|
85
86
|
"ember-welcome-page": "^7.0.2<% } %>",
|
|
86
|
-
"eslint": "^9.
|
|
87
|
+
"eslint": "^9.37.0",
|
|
87
88
|
"eslint-config-prettier": "^10.1.8",
|
|
88
|
-
"eslint-plugin-ember": "^12.7.
|
|
89
|
-
"eslint-plugin-n": "^17.
|
|
89
|
+
"eslint-plugin-ember": "^12.7.4",
|
|
90
|
+
"eslint-plugin-n": "^17.23.1",
|
|
90
91
|
"eslint-plugin-qunit": "^8.2.5",
|
|
91
|
-
"globals": "^16.
|
|
92
|
+
"globals": "^16.4.0",
|
|
92
93
|
"prettier": "^3.6.2",
|
|
93
94
|
"prettier-plugin-ember-template-tag": "^2.1.0",
|
|
94
|
-
"qunit": "^2.24.
|
|
95
|
+
"qunit": "^2.24.2",
|
|
95
96
|
"qunit-dom": "^3.5.0",
|
|
96
|
-
"stylelint": "^16.
|
|
97
|
+
"stylelint": "^16.25.0",
|
|
97
98
|
"stylelint-config-standard": "^38.0.0",
|
|
98
99
|
"testem": "^3.16.0",
|
|
99
100
|
"tracked-built-ins": "^4.0.0<% if (typescript) { %>",
|
|
100
|
-
"typescript": "^5.9.
|
|
101
|
-
"typescript-eslint": "^8.
|
|
102
|
-
"vite": "^
|
|
101
|
+
"typescript": "^5.9.3",
|
|
102
|
+
"typescript-eslint": "^8.46.0<% } %>",
|
|
103
|
+
"vite": "^7.1.9"
|
|
103
104
|
},
|
|
104
105
|
"engines": {
|
|
105
106
|
"node": ">= 18"
|
package/files/testem.cjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember/app-blueprint",
|
|
3
|
-
"version": "6.9.0-
|
|
3
|
+
"version": "6.9.0-beta.1",
|
|
4
4
|
"description": "Blueprint for next generation of Ember apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-blueprint"
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"minor": "prerelease",
|
|
18
18
|
"patch": "prerelease"
|
|
19
19
|
},
|
|
20
|
-
"semverIncrementTag": "
|
|
21
|
-
"publishTag": "
|
|
20
|
+
"semverIncrementTag": "beta",
|
|
21
|
+
"publishTag": "beta"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"chalk": "^4.1.2",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"jsonc-parser": "^3.3.1",
|
|
39
39
|
"prettier": "^3.2.5",
|
|
40
40
|
"prettier-plugin-ember-template-tag": "^2.0.2",
|
|
41
|
-
"release-plan": "^0.
|
|
41
|
+
"release-plan": "^0.17.2",
|
|
42
42
|
"strip-ansi": "^7.1.0",
|
|
43
43
|
"tmp-promise": "^3.0.3",
|
|
44
|
-
"vitest": "^
|
|
44
|
+
"vitest": "^4.0.0-beta.17"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"lint": "concurrently 'pnpm:lint:*(!fix)'",
|
package/tests/lint.test.mjs
CHANGED
|
@@ -14,7 +14,13 @@ describe('linting & formatting', function () {
|
|
|
14
14
|
app = await generateApp({ flags: ['--pnpm'], skipNpm: false });
|
|
15
15
|
});
|
|
16
16
|
|
|
17
|
-
it('yields output without errors', async function () {
|
|
17
|
+
it('yields output without errors', async function (context) {
|
|
18
|
+
// Lint errors on windows machines - probably because of line-endings.
|
|
19
|
+
// TODO fix the config so that a newly generated app doens't fail lint on windows
|
|
20
|
+
if (process.platform === 'win32') {
|
|
21
|
+
context.skip();
|
|
22
|
+
}
|
|
23
|
+
|
|
18
24
|
let { exitCode } = await app.execa('pnpm', ['lint']);
|
|
19
25
|
|
|
20
26
|
expect(exitCode).to.equal(0);
|
|
@@ -35,7 +41,13 @@ describe('linting & formatting', function () {
|
|
|
35
41
|
});
|
|
36
42
|
});
|
|
37
43
|
|
|
38
|
-
it('yields output without errors', async function () {
|
|
44
|
+
it('yields output without errors', async function (context) {
|
|
45
|
+
// Lint errors on windows machines - probably because of line-endings.
|
|
46
|
+
// TODO fix the config so that a newly generated app doens't fail lint on windows
|
|
47
|
+
if (process.platform === 'win32') {
|
|
48
|
+
context.skip();
|
|
49
|
+
}
|
|
50
|
+
|
|
39
51
|
let { exitCode } = await app.execa('pnpm', ['lint']);
|
|
40
52
|
|
|
41
53
|
expect(exitCode).to.equal(0);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { defineConfig } from 'vitest/config';
|
|
2
|
+
|
|
3
|
+
const ONE_SECOND = 1_000;
|
|
4
|
+
|
|
5
|
+
export default defineConfig({
|
|
6
|
+
/**
|
|
7
|
+
* add a 3x factor for windows tests... because windows 😭
|
|
8
|
+
*/
|
|
9
|
+
test: {
|
|
10
|
+
testTimeout: 240 * ONE_SECOND * (process.platform === 'win32' ? 3 : 1),
|
|
11
|
+
hookTimeout: 240 * ONE_SECOND * (process.platform === 'win32' ? 3 : 1),
|
|
12
|
+
},
|
|
13
|
+
});
|