Skip to content

Commit 49c0ce7

Browse files
dirkluijkDirk Luijk
and
Dirk Luijk
authored
feat: add support for Angular 17 (#47)
Co-authored-by: Dirk Luijk <[email protected]>
1 parent 2825f6c commit 49c0ce7

File tree

9 files changed

+4359
-5615
lines changed

9 files changed

+4359
-5615
lines changed

.github/workflows/main.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,16 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [12.x]
15+
node-version: [18.x]
1616
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1717

1818
steps:
1919
- uses: actions/checkout@v2
2020
- uses: actions/setup-node@v2
2121
with:
22-
node-version: '16'
22+
node-version: '18'
2323
cache: 'yarn'
2424
- run: yarn
25-
- run: yarn lint
2625
- run: yarn test
2726
- run: yarn build
2827

.husky/pre-commit

-4
This file was deleted.

angular.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -97,18 +97,18 @@
9797
"serve": {
9898
"builder": "@angular-devkit/build-angular:dev-server",
9999
"options": {
100-
"browserTarget": "demo:build"
100+
"buildTarget": "demo:build"
101101
},
102102
"configurations": {
103103
"production": {
104-
"browserTarget": "demo:build:production"
104+
"buildTarget": "demo:build:production"
105105
}
106106
}
107107
},
108108
"extract-i18n": {
109109
"builder": "@angular-devkit/build-angular:extract-i18n",
110110
"options": {
111-
"browserTarget": "demo:build"
111+
"buildTarget": "demo:build"
112112
}
113113
}
114114
}

package.json

+26-30
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"start": "ng serve demo",
1414
"build": "ng build --project breadcrumpy --configuration production && yarn copy:readme",
1515
"test": "ng test",
16-
"lint": "tslint --project . --fix",
1716
"contributors:add": "all-contributors add",
1817
"contributors:generate": "all-contributors generate",
1918
"copy:readme": "cp README.md dist/breadcrumpy",
@@ -27,45 +26,42 @@
2726
},
2827
"private": false,
2928
"dependencies": {
30-
"@angular/animations": "^16.0.4",
31-
"@angular/common": "^16.0.4",
32-
"@angular/compiler": "^16.0.4",
33-
"@angular/core": "^16.0.4",
34-
"@angular/forms": "^16.0.4",
35-
"@angular/platform-browser": "^16.0.4",
36-
"@angular/platform-browser-dynamic": "^16.0.4",
37-
"@angular/router": "^16.0.4",
29+
"@angular/animations": "^17.0.8",
30+
"@angular/common": "^17.0.8",
31+
"@angular/compiler": "^17.0.8",
32+
"@angular/core": "^17.0.8",
33+
"@angular/forms": "^17.0.8",
34+
"@angular/platform-browser": "^17.0.8",
35+
"@angular/platform-browser-dynamic": "^17.0.8",
36+
"@angular/router": "^17.0.8",
3837
"rxjs": "~7.8.1",
3938
"rxjs-etc": "^10.6.2",
40-
"tslib": "^2.5.3",
41-
"zone.js": "~0.13.0"
39+
"tslib": "^2.6.2",
40+
"zone.js": "~0.14.2"
4241
},
4342
"devDependencies": {
44-
"@angular-builders/jest": "^16.0.0",
45-
"@angular-devkit/build-angular": "^16.0.4",
46-
"@angular/cli": "^16.0.4",
47-
"@angular/compiler-cli": "^16.0.4",
48-
"@angular/language-service": "^16.0.4",
49-
"@commitlint/cli": "^17.6.5",
50-
"@commitlint/config-conventional": "^17.6.5",
43+
"@angular-builders/jest": "^17.0.0",
44+
"@angular-devkit/build-angular": "^17.0.9",
45+
"@angular/cli": "^17.0.9",
46+
"@angular/compiler-cli": "^17.0.8",
47+
"@angular/language-service": "^17.0.8",
48+
"@commitlint/cli": "^18.4.4",
49+
"@commitlint/config-conventional": "^18.4.4",
5150
"@dirkluijk/observable-matchers": "^0.3.2",
52-
"@dscheerens/tslint-presets": "^9.0.0",
53-
"@ngneat/spectator": "^15.0.0",
54-
"@types/jest": "^29.5.2",
55-
"@types/node": "^20.2.5",
56-
"all-contributors-cli": "^6.26.0",
57-
"codelyzer": "^6.0.2",
51+
"@ngneat/spectator": "^16.0.0",
52+
"@types/jest": "^29.5.11",
53+
"@types/node": "^20.10.6",
54+
"all-contributors-cli": "^6.26.1",
5855
"commitizen": "^4.3.0",
5956
"cz-conventional-changelog": "^3.3.0",
6057
"husky": "^8.0.0",
61-
"jest": "^29.5.0",
62-
"jest-jasmine2": "^29.5.0",
63-
"ng-packagr": "^16.0.1",
58+
"jest": "^29.7.0",
59+
"jest-jasmine2": "^29.7.0",
60+
"ng-packagr": "^17.0.3",
6461
"pinst": "^3.0.0",
6562
"standard-version": "^9.5.0",
66-
"ts-node": "~10.9.1",
67-
"tslint": "~6.1.0",
68-
"typescript": "~4.9.5"
63+
"ts-node": "~10.9.2",
64+
"typescript": "~5.2.2"
6965
},
7066
"config": {
7167
"commitizen": {

projects/breadcrumpy/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"license": "MIT",
1111
"private": false,
1212
"peerDependencies": {
13-
"@angular/core": "^16.0.0",
14-
"@angular/router": "^16.0.0",
13+
"@angular/core": "^17.0.0",
14+
"@angular/router": "^17.0.0",
1515
"rxjs": "^7.0.0",
1616
"rxjs-etc": "^10.0.0"
1717
}

projects/breadcrumpy/tslint.json

-17
This file was deleted.

projects/demo/tslint.json

-17
This file was deleted.

tslint.json

-15
This file was deleted.

0 commit comments

Comments
 (0)