Skip to content

Commit b9b9737

Browse files
authored
fix(deps): upgrade to angular 20 (#65)
* fix(deps): upgrade to angular 19 Followed https://angular.dev/update-guide?v=18.0-19.0&l=1 and https://developers.netlify.com/guides/whats-new-with-angular-19-on-netlify/#what-about-migrating-an-existing-project-to-angular-19 * fix(deps): upgrade to angular 20 Followed https://angular.dev/update-guide?v=18.0-20.0&l=1 and updated node.js build version from 18 to 22 in the Netlify app
1 parent b365999 commit b9b9737

File tree

7 files changed

+6595
-10070
lines changed

7 files changed

+6595
-10070
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Angular Starter
22

3-
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 18.0.0.
3+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 20.0.0.
44

55
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/netlify-templates/angular-starter)
66

angular.json

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"prefix": "app",
1212
"architect": {
1313
"build": {
14-
"builder": "@angular-devkit/build-angular:application",
14+
"builder": "@angular/build:application",
1515
"options": {
1616
"outputPath": "dist/angular-starter",
1717
"index": "src/index.html",
@@ -57,7 +57,7 @@
5757
"defaultConfiguration": "production"
5858
},
5959
"serve": {
60-
"builder": "@angular-devkit/build-angular:dev-server",
60+
"builder": "@angular/build:dev-server",
6161
"configurations": {
6262
"production": {
6363
"buildTarget": "angular-starter:build:production"
@@ -69,10 +69,10 @@
6969
"defaultConfiguration": "development"
7070
},
7171
"extract-i18n": {
72-
"builder": "@angular-devkit/build-angular:extract-i18n"
72+
"builder": "@angular/build:extract-i18n"
7373
},
7474
"test": {
75-
"builder": "@angular-devkit/build-angular:karma",
75+
"builder": "@angular/build:karma",
7676
"options": {
7777
"polyfills": ["zone.js", "zone.js/testing"],
7878
"tsConfig": "tsconfig.spec.json",
@@ -88,5 +88,31 @@
8888
}
8989
}
9090
}
91+
},
92+
"schematics": {
93+
"@schematics/angular:component": {
94+
"type": "component"
95+
},
96+
"@schematics/angular:directive": {
97+
"type": "directive"
98+
},
99+
"@schematics/angular:service": {
100+
"type": "service"
101+
},
102+
"@schematics/angular:guard": {
103+
"typeSeparator": "."
104+
},
105+
"@schematics/angular:interceptor": {
106+
"typeSeparator": "."
107+
},
108+
"@schematics/angular:module": {
109+
"typeSeparator": "."
110+
},
111+
"@schematics/angular:pipe": {
112+
"typeSeparator": "."
113+
},
114+
"@schematics/angular:resolver": {
115+
"typeSeparator": "."
116+
}
91117
}
92118
}

0 commit comments

Comments
 (0)