@ember/app-blueprint 6.10.3 → 6.10.4
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 +15 -50
- package/.github/workflows/plan-beta-release.yml +16 -51
- package/.github/workflows/plan-stable-release.yml +16 -51
- package/.github/workflows/publish.yml +52 -0
- package/.release-plan.json +7 -3
- package/CHANGELOG.md +16 -0
- package/conditional-files/_js_eslint.config.mjs +4 -4
- package/conditional-files/_ts_eslint.config.mjs +4 -4
- package/files/app/app.ts +2 -2
- package/files/tests/test-helper.ts +2 -2
- package/package.json +1 -1
- package/.github/workflows/publish-alpha.yml +0 -42
- package/.github/workflows/publish-beta.yml +0 -42
- package/.github/workflows/publish-stable.yml +0 -42
|
@@ -8,85 +8,50 @@ on:
|
|
|
8
8
|
types:
|
|
9
9
|
- labeled
|
|
10
10
|
- unlabeled
|
|
11
|
-
branches:
|
|
12
|
-
- main
|
|
13
11
|
|
|
14
12
|
concurrency:
|
|
15
13
|
group: plan-release-alpha # only the latest one of these should ever be running
|
|
16
14
|
cancel-in-progress: true
|
|
17
15
|
|
|
18
16
|
jobs:
|
|
19
|
-
|
|
20
|
-
name:
|
|
17
|
+
should-run-release-plan-prepare:
|
|
18
|
+
name: Should we run release-plan prepare?
|
|
21
19
|
runs-on: ubuntu-latest
|
|
22
20
|
outputs:
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
should-prepare: ${{ steps.should-prepare.outputs.should-prepare }}
|
|
25
22
|
steps:
|
|
26
|
-
- uses: actions/
|
|
23
|
+
- uses: release-plan/actions/should-prepare-release@v1
|
|
27
24
|
with:
|
|
28
|
-
fetch-depth: 2
|
|
29
25
|
ref: 'main'
|
|
30
|
-
|
|
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
|
|
26
|
+
id: should-prepare
|
|
34
27
|
|
|
35
28
|
create-prepare-release-pr:
|
|
36
29
|
name: Create Prepare Release PR
|
|
37
30
|
runs-on: ubuntu-latest
|
|
38
31
|
timeout-minutes: 5
|
|
39
|
-
needs:
|
|
32
|
+
needs: should-run-release-plan-prepare
|
|
40
33
|
permissions:
|
|
41
34
|
contents: write
|
|
42
35
|
issues: read
|
|
43
36
|
pull-requests: write
|
|
44
|
-
|
|
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
|
-
|
|
37
|
+
if: needs.should-run-release-plan-prepare.outputs.should-prepare == 'true'
|
|
48
38
|
steps:
|
|
49
|
-
- uses: actions/
|
|
50
|
-
|
|
51
|
-
# github-changelog can discover what's changed since the last release
|
|
39
|
+
- uses: release-plan/actions/prepare@v1
|
|
40
|
+
name: Run release-plan prepare
|
|
52
41
|
with:
|
|
53
|
-
fetch-depth: 0
|
|
54
42
|
ref: 'main'
|
|
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
43
|
env:
|
|
82
44
|
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
|
|
45
|
+
id: explanation
|
|
83
46
|
|
|
84
|
-
- uses: peter-evans/create-pull-request@
|
|
47
|
+
- uses: peter-evans/create-pull-request@v8
|
|
48
|
+
name: Create Prepare Release PR
|
|
85
49
|
with:
|
|
86
|
-
commit-message: "Prepare Release ${{ steps.explanation.outputs.
|
|
50
|
+
commit-message: "Prepare Release ${{ steps.explanation.outputs.new-version}} using 'release-plan'"
|
|
87
51
|
labels: "internal"
|
|
52
|
+
sign-commits: true
|
|
88
53
|
branch: release-preview
|
|
89
|
-
title: Prepare Alpha Release ${{ steps.explanation.outputs.
|
|
54
|
+
title: Prepare Alpha Release ${{ steps.explanation.outputs.new-version }}
|
|
90
55
|
body: |
|
|
91
56
|
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
57
|
|
|
@@ -8,85 +8,50 @@ on:
|
|
|
8
8
|
types:
|
|
9
9
|
- labeled
|
|
10
10
|
- unlabeled
|
|
11
|
-
branches:
|
|
12
|
-
- beta
|
|
13
11
|
|
|
14
12
|
concurrency:
|
|
15
13
|
group: plan-release-beta # only the latest one of these should ever be running
|
|
16
14
|
cancel-in-progress: true
|
|
17
15
|
|
|
18
16
|
jobs:
|
|
19
|
-
|
|
20
|
-
name:
|
|
17
|
+
should-run-release-plan-prepare:
|
|
18
|
+
name: Should we run release-plan prepare?
|
|
21
19
|
runs-on: ubuntu-latest
|
|
22
20
|
outputs:
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
should-prepare: ${{ steps.should-prepare.outputs.should-prepare }}
|
|
25
22
|
steps:
|
|
26
|
-
- uses: actions/
|
|
23
|
+
- uses: release-plan/actions/should-prepare-release@v1
|
|
27
24
|
with:
|
|
28
|
-
fetch-depth: 2
|
|
29
25
|
ref: 'beta'
|
|
30
|
-
|
|
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
|
|
26
|
+
id: should-prepare
|
|
34
27
|
|
|
35
28
|
create-prepare-release-pr:
|
|
36
29
|
name: Create Prepare Release PR
|
|
37
30
|
runs-on: ubuntu-latest
|
|
38
31
|
timeout-minutes: 5
|
|
39
|
-
needs:
|
|
32
|
+
needs: should-run-release-plan-prepare
|
|
40
33
|
permissions:
|
|
41
34
|
contents: write
|
|
42
35
|
issues: read
|
|
43
36
|
pull-requests: write
|
|
44
|
-
|
|
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
|
-
|
|
37
|
+
if: needs.should-run-release-plan-prepare.outputs.should-prepare == 'true'
|
|
48
38
|
steps:
|
|
49
|
-
- uses: actions/
|
|
50
|
-
|
|
51
|
-
# github-changelog can discover what's changed since the last release
|
|
39
|
+
- uses: release-plan/actions/prepare@v1
|
|
40
|
+
name: Run release-plan prepare
|
|
52
41
|
with:
|
|
53
|
-
fetch-depth: 0
|
|
54
42
|
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
43
|
env:
|
|
82
44
|
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
|
|
45
|
+
id: explanation
|
|
83
46
|
|
|
84
|
-
- uses: peter-evans/create-pull-request@
|
|
47
|
+
- uses: peter-evans/create-pull-request@v8
|
|
48
|
+
name: Create Prepare Release PR
|
|
85
49
|
with:
|
|
86
|
-
commit-message: "Prepare Release ${{ steps.explanation.outputs.
|
|
50
|
+
commit-message: "Prepare Release ${{ steps.explanation.outputs.new-version}} using 'release-plan'"
|
|
87
51
|
labels: "internal"
|
|
88
|
-
|
|
89
|
-
|
|
52
|
+
sign-commits: true
|
|
53
|
+
branch: release-preview-beta
|
|
54
|
+
title: Prepare Beta Release ${{ steps.explanation.outputs.new-version }}
|
|
90
55
|
body: |
|
|
91
56
|
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
57
|
|
|
@@ -8,85 +8,50 @@ on:
|
|
|
8
8
|
types:
|
|
9
9
|
- labeled
|
|
10
10
|
- unlabeled
|
|
11
|
-
branches:
|
|
12
|
-
- release
|
|
13
11
|
|
|
14
12
|
concurrency:
|
|
15
13
|
group: plan-release # only the latest one of these should ever be running
|
|
16
14
|
cancel-in-progress: true
|
|
17
15
|
|
|
18
16
|
jobs:
|
|
19
|
-
|
|
20
|
-
name:
|
|
17
|
+
should-run-release-plan-prepare:
|
|
18
|
+
name: Should we run release-plan prepare?
|
|
21
19
|
runs-on: ubuntu-latest
|
|
22
20
|
outputs:
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
should-prepare: ${{ steps.should-prepare.outputs.should-prepare }}
|
|
25
22
|
steps:
|
|
26
|
-
- uses: actions/
|
|
23
|
+
- uses: release-plan/actions/should-prepare-release@v1
|
|
27
24
|
with:
|
|
28
|
-
fetch-depth: 2
|
|
29
25
|
ref: 'release'
|
|
30
|
-
|
|
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
|
|
26
|
+
id: should-prepare
|
|
34
27
|
|
|
35
28
|
create-prepare-release-pr:
|
|
36
29
|
name: Create Prepare Release PR
|
|
37
30
|
runs-on: ubuntu-latest
|
|
38
31
|
timeout-minutes: 5
|
|
39
|
-
needs:
|
|
32
|
+
needs: should-run-release-plan-prepare
|
|
40
33
|
permissions:
|
|
41
34
|
contents: write
|
|
42
35
|
issues: read
|
|
43
36
|
pull-requests: write
|
|
44
|
-
|
|
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
|
-
|
|
37
|
+
if: needs.should-run-release-plan-prepare.outputs.should-prepare == 'true'
|
|
48
38
|
steps:
|
|
49
|
-
- uses: actions/
|
|
50
|
-
|
|
51
|
-
# github-changelog can discover what's changed since the last release
|
|
39
|
+
- uses: release-plan/actions/prepare@v1
|
|
40
|
+
name: Run release-plan prepare
|
|
52
41
|
with:
|
|
53
|
-
fetch-depth: 0
|
|
54
42
|
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
43
|
env:
|
|
82
44
|
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
|
|
45
|
+
id: explanation
|
|
83
46
|
|
|
84
|
-
- uses: peter-evans/create-pull-request@
|
|
47
|
+
- uses: peter-evans/create-pull-request@v8
|
|
48
|
+
name: Create Prepare Release PR
|
|
85
49
|
with:
|
|
86
|
-
commit-message: "Prepare Release ${{ steps.explanation.outputs.
|
|
50
|
+
commit-message: "Prepare Release ${{ steps.explanation.outputs.new-version}} using 'release-plan'"
|
|
87
51
|
labels: "internal"
|
|
88
|
-
|
|
89
|
-
|
|
52
|
+
sign-commits: true
|
|
53
|
+
branch: release-preview-stable
|
|
54
|
+
title: Prepare Stable Release ${{ steps.explanation.outputs.new-version }}
|
|
90
55
|
body: |
|
|
91
56
|
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
57
|
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Every push to any of the primary branches (master, beta, release) with .release-plan.json modified,
|
|
2
|
+
# runs release-plan publish.
|
|
3
|
+
|
|
4
|
+
name: Publish
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
push:
|
|
9
|
+
branches:
|
|
10
|
+
- main
|
|
11
|
+
- master
|
|
12
|
+
- release
|
|
13
|
+
- beta
|
|
14
|
+
paths:
|
|
15
|
+
- '.release-plan.json'
|
|
16
|
+
|
|
17
|
+
concurrency:
|
|
18
|
+
group: publish-${{ github.head_ref || github.ref }}
|
|
19
|
+
cancel-in-progress: true
|
|
20
|
+
|
|
21
|
+
jobs:
|
|
22
|
+
publish:
|
|
23
|
+
name: "NPM Publish"
|
|
24
|
+
runs-on: ubuntu-latest
|
|
25
|
+
permissions:
|
|
26
|
+
contents: write
|
|
27
|
+
id-token: write
|
|
28
|
+
attestations: write
|
|
29
|
+
|
|
30
|
+
steps:
|
|
31
|
+
- uses: actions/checkout@v6
|
|
32
|
+
- uses: pnpm/action-setup@v4
|
|
33
|
+
- uses: actions/setup-node@v6
|
|
34
|
+
with:
|
|
35
|
+
node-version: 22
|
|
36
|
+
registry-url: 'https://registry.npmjs.org'
|
|
37
|
+
cache: pnpm
|
|
38
|
+
- run: npm install -g npm@latest # ensure that the globally installed npm is new enough to support OIDC
|
|
39
|
+
- run: pnpm install --frozen-lockfile
|
|
40
|
+
- name: Publish to NPM
|
|
41
|
+
# pass --github-prerelease when we are only branch other than release
|
|
42
|
+
# pass --publish-branch=<branch-name> when we are on a branch other than master/main
|
|
43
|
+
run: |
|
|
44
|
+
if [ ${{ github.ref }} = "refs/heads/release" ]; then
|
|
45
|
+
pnpm release-plan publish --publish-branch=release
|
|
46
|
+
elif [ ${{ github.ref }} = "refs/heads/beta" ]; then
|
|
47
|
+
pnpm release-plan publish --github-prerelease --publish-branch=beta
|
|
48
|
+
else
|
|
49
|
+
pnpm release-plan publish --github-prerelease
|
|
50
|
+
fi
|
|
51
|
+
env:
|
|
52
|
+
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
|
package/.release-plan.json
CHANGED
|
@@ -2,17 +2,21 @@
|
|
|
2
2
|
"solution": {
|
|
3
3
|
"@ember/app-blueprint": {
|
|
4
4
|
"impact": "patch",
|
|
5
|
-
"oldVersion": "6.10.
|
|
6
|
-
"newVersion": "6.10.
|
|
5
|
+
"oldVersion": "6.10.3",
|
|
6
|
+
"newVersion": "6.10.4",
|
|
7
7
|
"tagName": "latest",
|
|
8
8
|
"constraints": [
|
|
9
9
|
{
|
|
10
10
|
"impact": "patch",
|
|
11
11
|
"reason": "Appears in changelog section :bug: Bug Fix"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"impact": "patch",
|
|
15
|
+
"reason": "Appears in changelog section :house: Internal"
|
|
12
16
|
}
|
|
13
17
|
],
|
|
14
18
|
"pkgJSONPath": "./package.json"
|
|
15
19
|
}
|
|
16
20
|
},
|
|
17
|
-
"description": "## Release (2026-
|
|
21
|
+
"description": "## Release (2026-02-09)\n\n* @ember/app-blueprint 6.10.4 (patch)\n\n#### :bug: Bug Fix\n* `@ember/app-blueprint`\n * [#209](https://github.com/ember-cli/ember-app-blueprint/pull/209) Remove unnecessary empty lines when `--no-warp-drive` was passed ([@mkszepp](https://github.com/mkszepp))\n\n#### :house: Internal\n* `@ember/app-blueprint`\n * [#217](https://github.com/ember-cli/ember-app-blueprint/pull/217) update release-plan to support OIDC ([@mansona](https://github.com/mansona))\n\n#### Committers: 2\n- Chris Manson ([@mansona](https://github.com/mansona))\n- Markus Sanin ([@mkszepp](https://github.com/mkszepp))\n"
|
|
18
22
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## Release (2026-02-09)
|
|
4
|
+
|
|
5
|
+
* @ember/app-blueprint 6.10.4 (patch)
|
|
6
|
+
|
|
7
|
+
#### :bug: Bug Fix
|
|
8
|
+
* `@ember/app-blueprint`
|
|
9
|
+
* [#209](https://github.com/ember-cli/ember-app-blueprint/pull/209) Remove unnecessary empty lines when `--no-warp-drive` was passed ([@mkszepp](https://github.com/mkszepp))
|
|
10
|
+
|
|
11
|
+
#### :house: Internal
|
|
12
|
+
* `@ember/app-blueprint`
|
|
13
|
+
* [#217](https://github.com/ember-cli/ember-app-blueprint/pull/217) update release-plan to support OIDC ([@mansona](https://github.com/mansona))
|
|
14
|
+
|
|
15
|
+
#### Committers: 2
|
|
16
|
+
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
17
|
+
- Markus Sanin ([@mkszepp](https://github.com/mkszepp))
|
|
18
|
+
|
|
3
19
|
## Release (2026-01-23)
|
|
4
20
|
|
|
5
21
|
* @ember/app-blueprint 6.10.3 (patch)
|
|
@@ -17,8 +17,8 @@ import js from '@eslint/js';
|
|
|
17
17
|
import { defineConfig, globalIgnores } from 'eslint/config';
|
|
18
18
|
|
|
19
19
|
import ember from 'eslint-plugin-ember/recommended';
|
|
20
|
-
<% if (warpDrive) { %>import WarpDrive from 'eslint-plugin-warp-drive/recommended'
|
|
21
|
-
import eslintConfigPrettier from 'eslint-config-prettier';
|
|
20
|
+
<% if (warpDrive) { %>import WarpDrive from 'eslint-plugin-warp-drive/recommended';
|
|
21
|
+
<% } %>import eslintConfigPrettier from 'eslint-config-prettier';
|
|
22
22
|
import qunit from 'eslint-plugin-qunit';
|
|
23
23
|
import n from 'eslint-plugin-n';
|
|
24
24
|
|
|
@@ -35,8 +35,8 @@ export default defineConfig([
|
|
|
35
35
|
eslintConfigPrettier,
|
|
36
36
|
ember.configs.base,
|
|
37
37
|
ember.configs.gjs,
|
|
38
|
-
<% if (warpDrive) { %>...WarpDrive
|
|
39
|
-
|
|
38
|
+
<% if (warpDrive) { %>...WarpDrive,
|
|
39
|
+
<% } %>/**
|
|
40
40
|
* https://eslint.org/docs/latest/use/configure/configuration-files#configuring-linter-options
|
|
41
41
|
*/
|
|
42
42
|
{
|
|
@@ -19,8 +19,8 @@ import { defineConfig, globalIgnores } from 'eslint/config';
|
|
|
19
19
|
import ts from 'typescript-eslint';
|
|
20
20
|
|
|
21
21
|
import ember from 'eslint-plugin-ember/recommended';
|
|
22
|
-
<% if (warpDrive) { %>import WarpDrive from 'eslint-plugin-warp-drive/recommended'
|
|
23
|
-
|
|
22
|
+
<% if (warpDrive) { %>import WarpDrive from 'eslint-plugin-warp-drive/recommended';
|
|
23
|
+
<% } %>
|
|
24
24
|
import eslintConfigPrettier from 'eslint-config-prettier';
|
|
25
25
|
import qunit from 'eslint-plugin-qunit';
|
|
26
26
|
import n from 'eslint-plugin-n';
|
|
@@ -46,8 +46,8 @@ export default defineConfig([
|
|
|
46
46
|
ember.configs.base,
|
|
47
47
|
ember.configs.gjs,
|
|
48
48
|
ember.configs.gts,
|
|
49
|
-
<% if (warpDrive) { %>...WarpDrive
|
|
50
|
-
eslintConfigPrettier,
|
|
49
|
+
<% if (warpDrive) { %>...WarpDrive,
|
|
50
|
+
<% } %>eslintConfigPrettier,
|
|
51
51
|
/**
|
|
52
52
|
* https://eslint.org/docs/latest/use/configure/configuration-files#configuring-linter-options
|
|
53
53
|
*/
|
package/files/app/app.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<% if (warpDrive) { %>import '@warp-drive/ember/install'
|
|
2
|
-
import Application from '@ember/application';
|
|
1
|
+
<% if (warpDrive) { %>import '@warp-drive/ember/install';
|
|
2
|
+
<% } %>import Application from '@ember/application';
|
|
3
3
|
import compatModules from '@embroider/virtual/compat-modules';
|
|
4
4
|
import Resolver from 'ember-resolver';
|
|
5
5
|
import loadInitializers from 'ember-load-initializers';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<% if (warpDrive) { %>import '@warp-drive/ember/install'
|
|
2
|
-
import Application from '<%= modulePrefix %>/app';
|
|
1
|
+
<% if (warpDrive) { %>import '@warp-drive/ember/install';
|
|
2
|
+
<% } %>import Application from '<%= modulePrefix %>/app';
|
|
3
3
|
import config from '<%= modulePrefix %>/config/environment';
|
|
4
4
|
import * as QUnit from 'qunit';
|
|
5
5
|
import { setApplication } from '@ember/test-helpers';
|
package/package.json
CHANGED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# For every push to the primary branch with .release-plan.json modified,
|
|
2
|
-
# runs release-plan.
|
|
3
|
-
|
|
4
|
-
name: Publish Alpha
|
|
5
|
-
|
|
6
|
-
on:
|
|
7
|
-
workflow_dispatch:
|
|
8
|
-
push:
|
|
9
|
-
branches:
|
|
10
|
-
- main
|
|
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 --github-prerelease
|
|
40
|
-
env:
|
|
41
|
-
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
|
|
42
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
@@ -1,42 +0,0 @@
|
|
|
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 }}
|
|
@@ -1,42 +0,0 @@
|
|
|
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 }}
|