Skip to content

Commit 49df9c3

Browse files
authored
Update angular @21 (#2965)
1 parent 929dccb commit 49df9c3

File tree

53 files changed

+8132
-11497
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+8132
-11497
lines changed

console-webapp/angular.json

Lines changed: 33 additions & 5 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": "staged/dist/",
@@ -112,7 +112,7 @@
112112
"defaultConfiguration": "production"
113113
},
114114
"serve": {
115-
"builder": "@angular-devkit/build-angular:dev-server",
115+
"builder": "@angular/build:dev-server",
116116
"configurations": {
117117
"production": {
118118
"buildTarget": "console-webapp:build:production"
@@ -136,16 +136,18 @@
136136
"defaultConfiguration": "development"
137137
},
138138
"extract-i18n": {
139-
"builder": "@angular-devkit/build-angular:extract-i18n",
139+
"builder": "@angular/build:extract-i18n",
140140
"options": {
141141
"buildTarget": "console-webapp:build"
142142
}
143143
},
144144
"test": {
145-
"builder": "@angular-devkit/build-angular:karma",
145+
"builder": "@angular/build:karma",
146146
"options": {
147147
"main": "src/test.ts",
148-
"polyfills": "src/polyfills.ts",
148+
"polyfills": [
149+
"src/polyfills.ts"
150+
],
149151
"tsConfig": "tsconfig.spec.json",
150152
"karmaConfig": "karma.conf.js",
151153
"inlineStyleLanguage": "scss",
@@ -183,5 +185,31 @@
183185
"schematicCollections": [
184186
"@angular-eslint/schematics"
185187
]
188+
},
189+
"schematics": {
190+
"@schematics/angular:component": {
191+
"type": "component"
192+
},
193+
"@schematics/angular:directive": {
194+
"type": "directive"
195+
},
196+
"@schematics/angular:service": {
197+
"type": "service"
198+
},
199+
"@schematics/angular:guard": {
200+
"typeSeparator": "."
201+
},
202+
"@schematics/angular:interceptor": {
203+
"typeSeparator": "."
204+
},
205+
"@schematics/angular:module": {
206+
"typeSeparator": "."
207+
},
208+
"@schematics/angular:pipe": {
209+
"typeSeparator": "."
210+
},
211+
"@schematics/angular:resolver": {
212+
"typeSeparator": "."
213+
}
186214
}
187215
}

console-webapp/dev-proxy.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"/console-api":
33
{
4-
"target": "http://[::1]:8080",
4+
"target": "http://localhost:8080",
55
"secure": false,
66
"logLevel": "debug",
77
"changeOrigin": true

console-webapp/karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = function (config) {
2121
require('karma-chrome-launcher'),
2222
require('karma-jasmine-html-reporter'),
2323
require('karma-coverage'),
24-
require('@angular-devkit/build-angular/plugins/karma')
24+
2525
],
2626
client: {
2727
jasmine: {

0 commit comments

Comments
 (0)