Skip to content

Commit 780a058

Browse files
committed
Convert Angular 19 to 20.
Fix pipeline failure.
1 parent 8f89041 commit 780a058

30 files changed

+18354
-104
lines changed

src/dotnet/APIView/ClientSPA/angular.json

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"prefix": "app",
1616
"architect": {
1717
"build": {
18-
"builder": "@angular-devkit/build-angular:application",
18+
"builder": "@angular/build:application",
1919
"options": {
2020
"outputPath": {
2121
"base": "dist/client-app"
@@ -56,8 +56,7 @@
5656
},
5757
"configurations": {
5858
"production": {
59-
"baseHref": "/",
60-
"deployUrl": "/spa/",
59+
"baseHref": "/spa/browser/",
6160
"budgets": [
6261
{
6362
"type": "initial",
@@ -88,7 +87,8 @@
8887
"defaultConfiguration": "production"
8988
},
9089
"serve": {
91-
"builder": "@angular-devkit/build-angular:dev-server",
90+
"builder": "@angular/build:dev-server",
91+
"options": {},
9292
"configurations": {
9393
"production": {
9494
"buildTarget": "ClientAPP:build:production"
@@ -101,13 +101,13 @@
101101
"defaultConfiguration": "development"
102102
},
103103
"extract-i18n": {
104-
"builder": "@angular-devkit/build-angular:extract-i18n",
104+
"builder": "@angular/build:extract-i18n",
105105
"options": {
106106
"buildTarget": "ClientAPP:build"
107107
}
108108
},
109109
"test": {
110-
"builder": "@angular-devkit/build-angular:karma",
110+
"builder": "@angular/build:karma",
111111
"options": {
112112
"polyfills": [
113113
"zone.js",
@@ -132,5 +132,31 @@
132132
},
133133
"cli": {
134134
"analytics": false
135+
},
136+
"schematics": {
137+
"@schematics/angular:component": {
138+
"type": "component"
139+
},
140+
"@schematics/angular:directive": {
141+
"type": "directive"
142+
},
143+
"@schematics/angular:service": {
144+
"type": "service"
145+
},
146+
"@schematics/angular:guard": {
147+
"typeSeparator": "."
148+
},
149+
"@schematics/angular:interceptor": {
150+
"typeSeparator": "."
151+
},
152+
"@schematics/angular:module": {
153+
"typeSeparator": "."
154+
},
155+
"@schematics/angular:pipe": {
156+
"typeSeparator": "."
157+
},
158+
"@schematics/angular:resolver": {
159+
"typeSeparator": "."
160+
}
135161
}
136162
}

0 commit comments

Comments
 (0)