Skip to content

Commit

Permalink
feat(deps): upgrade to angular v17
Browse files Browse the repository at this point in the history
Note: Drops support for Node.js@16 as well.

BREAKING CHANGE: Requires Angular v17 release.
  • Loading branch information
bbortt committed Dec 1, 2023
1 parent 67eb6a0 commit e80fa11
Show file tree
Hide file tree
Showing 13 changed files with 7,995 additions and 5,750 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: '18'
node-version: '20'
- run: npm ci
- run: npm run prettier:check
lint:
Expand All @@ -21,6 +21,6 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: '16'
node-version: '20'
- run: npm ci
- run: npm run lint
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: '18'
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build:lib
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: 18
node-version: '20'
- run: npm ci
- run: npm run build:lib
- env:
Expand Down
17 changes: 1 addition & 16 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16.x, 18.x]
node-version: ['18', '20', '21']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -22,18 +22,3 @@ jobs:
- run: npm run build:lib
- run: npm test
- run: npm run build:pages
support:
name: Node.js unstable
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [19.x, 20.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build:lib
- run: npm test
9 changes: 4 additions & 5 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "app:build"
"buildTarget": "app:build"
},
"configurations": {
"production": {
"browserTarget": "app:build:production"
"buildTarget": "app:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "app:build"
"buildTarget": "app:build"
}
},
"test": {
Expand Down Expand Up @@ -174,10 +174,9 @@
}
}
},
"defaultProject": "app",
"cli": {
"packageManager": "npm",
"defaultCollection": "@angular-eslint/schematics",
"schematicCollections": ["@angular-eslint/schematics"],
"analytics": false
},
"schematics": {
Expand Down
Loading

0 comments on commit e80fa11

Please sign in to comment.