Skip to content

Commit e909e5f

Browse files
committed
Upgrade to Angular 20
1 parent 2d87c05 commit e909e5f

29 files changed

+9916
-15934
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

angular.json

Lines changed: 33 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@
1010
"prefix": "lib",
1111
"architect": {
1212
"build": {
13-
"builder": "@angular-devkit/build-angular:ng-packagr",
14-
"options": {
15-
"project": "projects/ngx-grapesjs/ng-package.json"
16-
},
13+
"builder": "@angular/build:ng-packagr",
1714
"configurations": {
1815
"production": {
1916
"tsConfig": "projects/ngx-grapesjs/tsconfig.lib.prod.json"
@@ -25,7 +22,7 @@
2522
"defaultConfiguration": "production"
2623
},
2724
"test": {
28-
"builder": "@angular-devkit/build-angular:karma",
25+
"builder": "@angular/build:karma",
2926
"options": {
3027
"tsConfig": "projects/ngx-grapesjs/tsconfig.spec.json",
3128
"polyfills": [
@@ -48,10 +45,8 @@
4845
"prefix": "app",
4946
"architect": {
5047
"build": {
51-
"builder": "@angular-devkit/build-angular:application",
48+
"builder": "@angular/build:application",
5249
"options": {
53-
"outputPath": "dist/demo-editor",
54-
"index": "projects/demo-editor/src/index.html",
5550
"browser": "projects/demo-editor/src/main.ts",
5651
"polyfills": [
5752
"zone.js"
@@ -99,7 +94,7 @@
9994
"defaultConfiguration": "production"
10095
},
10196
"serve": {
102-
"builder": "@angular-devkit/build-angular:dev-server",
97+
"builder": "@angular/build:dev-server",
10398
"configurations": {
10499
"production": {
105100
"buildTarget": "demo-editor:build:production"
@@ -111,10 +106,10 @@
111106
"defaultConfiguration": "development"
112107
},
113108
"extract-i18n": {
114-
"builder": "@angular-devkit/build-angular:extract-i18n"
109+
"builder": "@angular/build:extract-i18n"
115110
},
116111
"test": {
117-
"builder": "@angular-devkit/build-angular:karma",
112+
"builder": "@angular/build:karma",
118113
"options": {
119114
"polyfills": [
120115
"zone.js",
@@ -129,11 +124,36 @@
129124
],
130125
"styles": [
131126
"projects/demo-editor/src/styles.css"
132-
],
133-
"scripts": []
127+
]
134128
}
135129
}
136130
}
137131
}
132+
},
133+
"schematics": {
134+
"@schematics/angular:component": {
135+
"type": "component"
136+
},
137+
"@schematics/angular:directive": {
138+
"type": "directive"
139+
},
140+
"@schematics/angular:service": {
141+
"type": "service"
142+
},
143+
"@schematics/angular:guard": {
144+
"typeSeparator": "."
145+
},
146+
"@schematics/angular:interceptor": {
147+
"typeSeparator": "."
148+
},
149+
"@schematics/angular:module": {
150+
"typeSeparator": "."
151+
},
152+
"@schematics/angular:pipe": {
153+
"typeSeparator": "."
154+
},
155+
"@schematics/angular:resolver": {
156+
"typeSeparator": "."
157+
}
138158
}
139159
}

0 commit comments

Comments
 (0)