Skip to content

Commit 8d416c3

Browse files
committed
Upgrade to Angular 20
1 parent e725c9a commit 8d416c3

23 files changed

+4359
-4090
lines changed

angular.json

Lines changed: 40 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,16 @@
1111
"schematics": {},
1212
"architect": {
1313
"build": {
14-
"builder": "@angular-devkit/build-angular:application",
14+
"builder": "@angular/build:application",
1515
"options": {
1616
"outputPath": {
1717
"base": "dist/ngx-schema-form"
1818
},
1919
"index": "src/index.html",
20-
"polyfills": [
21-
"src/polyfills.ts"
22-
],
20+
"polyfills": ["src/polyfills.ts"],
2321
"tsConfig": "src/tsconfig.app.json",
24-
"assets": [
25-
"src/favicon.ico",
26-
"src/assets"
27-
],
28-
"styles": [
29-
"src/styles.css"
30-
],
22+
"assets": ["src/favicon.ico", "src/assets"],
23+
"styles": ["src/styles.css"],
3124
"scripts": [],
3225
"extractLicenses": false,
3326
"sourceMap": true,
@@ -59,7 +52,7 @@
5952
"defaultConfiguration": ""
6053
},
6154
"serve": {
62-
"builder": "@angular-devkit/build-angular:dev-server",
55+
"builder": "@angular/build:dev-server",
6356
"options": {
6457
"buildTarget": "ngx-schema-form:build"
6558
},
@@ -70,35 +63,27 @@
7063
}
7164
},
7265
"extract-i18n": {
73-
"builder": "@angular-devkit/build-angular:extract-i18n",
66+
"builder": "@angular/build:extract-i18n",
7467
"options": {
7568
"buildTarget": "ngx-schema-form:build"
7669
}
7770
},
7871
"test": {
79-
"builder": "@angular-devkit/build-angular:karma",
72+
"builder": "@angular/build:karma",
8073
"options": {
8174
"main": "src/test.ts",
82-
"polyfills": "src/polyfills.ts",
75+
"polyfills": ["src/polyfills.ts"],
8376
"tsConfig": "src/tsconfig.spec.json",
8477
"karmaConfig": "src/karma.conf.js",
85-
"styles": [
86-
"src/styles.css"
87-
],
78+
"styles": ["src/styles.css"],
8879
"scripts": [],
89-
"assets": [
90-
"src/favicon.ico",
91-
"src/assets"
92-
]
80+
"assets": ["src/favicon.ico", "src/assets"]
9381
}
9482
},
9583
"lint": {
9684
"builder": "@angular-eslint/builder:lint",
9785
"options": {
98-
"lintFilePatterns": [
99-
"src/**/*.ts",
100-
"src/**/*.html"
101-
]
86+
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
10287
}
10388
}
10489
}
@@ -110,7 +95,7 @@
11095
"prefix": "sf",
11196
"architect": {
11297
"build": {
113-
"builder": "@angular-devkit/build-angular:ng-packagr",
98+
"builder": "@angular/build:ng-packagr",
11499
"options": {
115100
"tsConfig": "projects/schema-form/tsconfig.lib.json",
116101
"project": "projects/schema-form/ng-package.json"
@@ -123,7 +108,7 @@
123108
}
124109
},
125110
"test": {
126-
"builder": "@angular-devkit/build-angular:karma",
111+
"builder": "@angular/build:karma",
127112
"options": {
128113
"main": "projects/schema-form/src/test.ts",
129114
"tsConfig": "projects/schema-form/tsconfig.spec.json",
@@ -144,8 +129,32 @@
144129
}
145130
},
146131
"cli": {
147-
"schematicCollections": [
148-
"@angular-eslint/schematics"
149-
]
132+
"schematicCollections": ["@angular-eslint/schematics"]
133+
},
134+
"schematics": {
135+
"@schematics/angular:component": {
136+
"type": "component"
137+
},
138+
"@schematics/angular:directive": {
139+
"type": "directive"
140+
},
141+
"@schematics/angular:service": {
142+
"type": "service"
143+
},
144+
"@schematics/angular:guard": {
145+
"typeSeparator": "."
146+
},
147+
"@schematics/angular:interceptor": {
148+
"typeSeparator": "."
149+
},
150+
"@schematics/angular:module": {
151+
"typeSeparator": "."
152+
},
153+
"@schematics/angular:pipe": {
154+
"typeSeparator": "."
155+
},
156+
"@schematics/angular:resolver": {
157+
"typeSeparator": "."
158+
}
150159
}
151160
}

0 commit comments

Comments
 (0)