Skip to content

Commit c89a220

Browse files
committed
Update addon-blueprint v2.6.0...v4.0.0
Add Changeset
1 parent df1be4e commit c89a220

File tree

20 files changed

+352
-177
lines changed

20 files changed

+352
-177
lines changed

.changeset/wise-windows-suffer.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"ember-provide-consume-context": minor
3+
---
4+
5+
Update addon-blueprint from v2.6.0 to v4.0.0

.github/workflows/ci.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,18 @@ on:
88
pull_request: {}
99

1010
concurrency:
11-
group: ci-${{ github.head_ref || github.ref }}
12-
cancel-in-progress: true
11+
group: ci-${{ github.head_ref || github.ref }}
12+
cancel-in-progress: true
1313

1414
jobs:
1515
test:
16-
name: "Tests"
16+
name: 'Tests'
1717
runs-on: ubuntu-latest
18+
timeout-minutes: 10
1819

1920
steps:
20-
- uses: actions/checkout@v3
21-
- uses: actions/setup-node@v3
21+
- uses: actions/checkout@v4
22+
- uses: actions/setup-node@v4
2223
with:
2324
node-version: 18
2425
cache: npm
@@ -30,30 +31,31 @@ jobs:
3031
run: npm run test
3132

3233
floating:
33-
name: "Floating Dependencies"
34+
name: 'Floating Dependencies'
3435
runs-on: ubuntu-latest
36+
timeout-minutes: 10
3537

3638
steps:
37-
- uses: actions/checkout@v3
38-
- uses: actions/setup-node@v3
39+
- uses: actions/checkout@v4
40+
- uses: actions/setup-node@v4
3941
with:
4042
node-version: 18
4143
cache: npm
4244
- name: Install Dependencies
43-
run: npm ci
45+
run: npm install --no-package-lock
4446
- name: Run Tests
4547
run: npm run test
4648

4749
try-scenarios:
4850
name: ${{ matrix.try-scenario }}
4951
runs-on: ubuntu-latest
5052
needs: 'test'
53+
timeout-minutes: 10
5154

5255
strategy:
5356
fail-fast: false
5457
matrix:
5558
try-scenario:
56-
- ember-lts-4.8
5759
- ember-lts-4.12
5860
- ember-lts-5.4
5961
- ember-lts-5.8
@@ -65,8 +67,8 @@ jobs:
6567
- embroider-optimized
6668

6769
steps:
68-
- uses: actions/checkout@v3
69-
- uses: actions/setup-node@v3
70+
- uses: actions/checkout@v4
71+
- uses: actions/setup-node@v4
7072
with:
7173
node-version: 18
7274
cache: npm
@@ -76,5 +78,5 @@ jobs:
7678
- name: Install Dependencies
7779
run: npm ci
7880
- name: Run Tests
79-
run: npx ember try:one ${{ matrix.try-scenario }}
81+
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} --skip-cleanup
8082
working-directory: test-app

.github/workflows/push-dist.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,18 @@ jobs:
1515
push-dist:
1616
name: Push dist
1717
runs-on: ubuntu-latest
18+
timeout-minutes: 10
19+
1820
steps:
19-
- uses: actions/checkout@v3
20-
- name: Install Node
21-
uses: actions/setup-node@v3
21+
- uses: actions/checkout@v4
22+
- uses: actions/setup-node@v4
2223
with:
23-
cache: 'npm'
24+
node-version: 18
25+
cache: npm
2426
- name: Install Dependencies
2527
run: npm ci
2628
- uses: kategengler/put-built-npm-package-contents-on-branch@v2.0.0
2729
with:
2830
branch: dist
2931
token: ${{ secrets.GITHUB_TOKEN }}
30-
working-directory: ember-provide-consume-context
32+
working-directory: 'ember-provide-consume-context'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ having to pass arguments at each level (i.e. no prop drilling).
55

66
## Compatibility
77

8-
- Ember.js v4.8 or above
8+
- Ember.js v4.12 or above
99
- Embroider or ember-auto-import v2
1010

1111
## Installation

config/ember-cli-update.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"packages": [
44
{
55
"name": "@embroider/addon-blueprint",
6-
"version": "2.6.0",
6+
"version": "4.0.0",
77
"blueprints": [
88
{
99
"name": "@embroider/addon-blueprint",

ember-provide-consume-context/.eslintignore

Lines changed: 0 additions & 9 deletions
This file was deleted.

ember-provide-consume-context/.eslintrc.cjs

Lines changed: 0 additions & 51 deletions
This file was deleted.

ember-provide-consume-context/.gitignore

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,13 @@
55
/LICENSE.md
66

77
# compiled output
8-
/dist
9-
/declarations
8+
dist/
9+
declarations/
1010

1111
# npm/pnpm/yarn pack output
1212
*.tgz
13+
14+
# deps & caches
15+
node_modules/
16+
.eslintcache
17+
.prettiercache

ember-provide-consume-context/.prettierrc.cjs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,13 @@
22

33
module.exports = {
44
plugins: ['prettier-plugin-ember-template-tag'],
5-
singleQuote: true,
5+
overrides: [
6+
{
7+
files: '*.{js,gjs,ts,gts,mjs,mts,cjs,cts}',
8+
options: {
9+
singleQuote: true,
10+
templateSingleQuote: false,
11+
},
12+
},
13+
],
614
};

ember-provide-consume-context/babel.config.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66
]
77
],
88
"plugins": [
9+
[
10+
"@babel/plugin-transform-typescript",
11+
{
12+
"allExtensions": true,
13+
"onlyRemoveTypeImports": true,
14+
"allowDeclareFields": true
15+
}
16+
],
917
"@embroider/addon-dev/template-colocation-plugin",
1018
"@babel/plugin-transform-class-static-block",
1119
[

0 commit comments

Comments
 (0)