Skip to content

Commit

Permalink
feat: add support for Angular 17
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirk Luijk committed Jan 5, 2024
1 parent 2825f6c commit a16e949
Show file tree
Hide file tree
Showing 9 changed files with 4,359 additions and 5,615 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,16 @@ jobs:

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

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
cache: 'yarn'
- run: yarn
- run: yarn lint
- run: yarn test
- run: yarn build

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

6 changes: 3 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,18 +97,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "demo:build"
"buildTarget": "demo:build"
},
"configurations": {
"production": {
"browserTarget": "demo:build:production"
"buildTarget": "demo:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "demo:build"
"buildTarget": "demo:build"
}
}
}
Expand Down
56 changes: 26 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"start": "ng serve demo",
"build": "ng build --project breadcrumpy --configuration production && yarn copy:readme",
"test": "ng test",
"lint": "tslint --project . --fix",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"copy:readme": "cp README.md dist/breadcrumpy",
Expand All @@ -27,45 +26,42 @@
},
"private": false,
"dependencies": {
"@angular/animations": "^16.0.4",
"@angular/common": "^16.0.4",
"@angular/compiler": "^16.0.4",
"@angular/core": "^16.0.4",
"@angular/forms": "^16.0.4",
"@angular/platform-browser": "^16.0.4",
"@angular/platform-browser-dynamic": "^16.0.4",
"@angular/router": "^16.0.4",
"@angular/animations": "^17.0.8",
"@angular/common": "^17.0.8",
"@angular/compiler": "^17.0.8",
"@angular/core": "^17.0.8",
"@angular/forms": "^17.0.8",
"@angular/platform-browser": "^17.0.8",
"@angular/platform-browser-dynamic": "^17.0.8",
"@angular/router": "^17.0.8",
"rxjs": "~7.8.1",
"rxjs-etc": "^10.6.2",
"tslib": "^2.5.3",
"zone.js": "~0.13.0"
"tslib": "^2.6.2",
"zone.js": "~0.14.2"
},
"devDependencies": {
"@angular-builders/jest": "^16.0.0",
"@angular-devkit/build-angular": "^16.0.4",
"@angular/cli": "^16.0.4",
"@angular/compiler-cli": "^16.0.4",
"@angular/language-service": "^16.0.4",
"@commitlint/cli": "^17.6.5",
"@commitlint/config-conventional": "^17.6.5",
"@angular-builders/jest": "^17.0.0",
"@angular-devkit/build-angular": "^17.0.9",
"@angular/cli": "^17.0.9",
"@angular/compiler-cli": "^17.0.8",
"@angular/language-service": "^17.0.8",
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@dirkluijk/observable-matchers": "^0.3.2",
"@dscheerens/tslint-presets": "^9.0.0",
"@ngneat/spectator": "^15.0.0",
"@types/jest": "^29.5.2",
"@types/node": "^20.2.5",
"all-contributors-cli": "^6.26.0",
"codelyzer": "^6.0.2",
"@ngneat/spectator": "^16.0.0",
"@types/jest": "^29.5.11",
"@types/node": "^20.10.6",
"all-contributors-cli": "^6.26.1",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"husky": "^8.0.0",
"jest": "^29.5.0",
"jest-jasmine2": "^29.5.0",
"ng-packagr": "^16.0.1",
"jest": "^29.7.0",
"jest-jasmine2": "^29.7.0",
"ng-packagr": "^17.0.3",
"pinst": "^3.0.0",
"standard-version": "^9.5.0",
"ts-node": "~10.9.1",
"tslint": "~6.1.0",
"typescript": "~4.9.5"
"ts-node": "~10.9.2",
"typescript": "~5.2.2"
},
"config": {
"commitizen": {
Expand Down
4 changes: 2 additions & 2 deletions projects/breadcrumpy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"license": "MIT",
"private": false,
"peerDependencies": {
"@angular/core": "^16.0.0",
"@angular/router": "^16.0.0",
"@angular/core": "^17.0.0",
"@angular/router": "^17.0.0",
"rxjs": "^7.0.0",
"rxjs-etc": "^10.0.0"
}
Expand Down
17 changes: 0 additions & 17 deletions projects/breadcrumpy/tslint.json

This file was deleted.

17 changes: 0 additions & 17 deletions projects/demo/tslint.json

This file was deleted.

15 changes: 0 additions & 15 deletions tslint.json

This file was deleted.

Loading

0 comments on commit a16e949

Please sign in to comment.