Skip to content

Commit bd115f3

Browse files
authored
Chore: Upgrade to Angular 20 (#1)
* upgrade Angular to v20 * upgrade Angular Material to v20 * update versioning to v20
1 parent 032adba commit bd115f3

File tree

10 files changed

+5820
-10919
lines changed

10 files changed

+5820
-10919
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Use the following versions depending upon your Angular version:
2727
- Angular 17 - Versions 17.x.x
2828
- Angular 18 - Versions 18.x.x
2929
- Angular 19 - Versions 19.x.x
30+
- Angular 20 - Versions 20.x.x
3031

3132
# Installation
3233

angular.json

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"prefix": "lib",
1111
"architect": {
1212
"build": {
13-
"builder": "@angular-devkit/build-angular:ng-packagr",
13+
"builder": "@angular/build:ng-packagr",
1414
"options": {
1515
"project": "projects/ngx-angular-query-builder/ng-package.json"
1616
},
@@ -25,7 +25,7 @@
2525
"defaultConfiguration": "production"
2626
},
2727
"test": {
28-
"builder": "@angular-devkit/build-angular:karma",
28+
"builder": "@angular/build:karma",
2929
"options": {
3030
"main": "projects/ngx-angular-query-builder/src/test.ts",
3131
"tsConfig": "projects/ngx-angular-query-builder/tsconfig.spec.json",
@@ -49,7 +49,7 @@
4949
"prefix": "app",
5050
"architect": {
5151
"build": {
52-
"builder": "@angular-devkit/build-angular:application",
52+
"builder": "@angular/build:application",
5353
"options": {
5454
"outputPath": {
5555
"base": "dist/demo"
@@ -98,7 +98,7 @@
9898
"defaultConfiguration": "production"
9999
},
100100
"serve": {
101-
"builder": "@angular-devkit/build-angular:dev-server",
101+
"builder": "@angular/build:dev-server",
102102
"configurations": {
103103
"production": {
104104
"buildTarget": "demo:build:production"
@@ -110,13 +110,13 @@
110110
"defaultConfiguration": "development"
111111
},
112112
"extract-i18n": {
113-
"builder": "@angular-devkit/build-angular:extract-i18n",
113+
"builder": "@angular/build:extract-i18n",
114114
"options": {
115115
"buildTarget": "demo:build"
116116
}
117117
},
118118
"test": {
119-
"builder": "@angular-devkit/build-angular:karma",
119+
"builder": "@angular/build:karma",
120120
"options": {
121121
"main": "projects/demo/src/test.ts",
122122
"polyfills": "projects/demo/src/polyfills.ts",
@@ -133,5 +133,31 @@
133133
},
134134
"cli": {
135135
"analytics": false
136+
},
137+
"schematics": {
138+
"@schematics/angular:component": {
139+
"type": "component"
140+
},
141+
"@schematics/angular:directive": {
142+
"type": "directive"
143+
},
144+
"@schematics/angular:service": {
145+
"type": "service"
146+
},
147+
"@schematics/angular:guard": {
148+
"typeSeparator": "."
149+
},
150+
"@schematics/angular:interceptor": {
151+
"typeSeparator": "."
152+
},
153+
"@schematics/angular:module": {
154+
"typeSeparator": "."
155+
},
156+
"@schematics/angular:pipe": {
157+
"typeSeparator": "."
158+
},
159+
"@schematics/angular:resolver": {
160+
"typeSeparator": "."
161+
}
136162
}
137163
}

0 commit comments

Comments
 (0)