Skip to content

Commit 67980dd

Browse files
committed
feat(lib): upgrade to Angular 19
BREAKING CHANGE: Angular 19 - cleanups, control flow migration, scss import migration - jest setup migration
1 parent d30b466 commit 67980dd

Some content is hidden

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

47 files changed

+6108
-15864
lines changed

angular.json

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"prefix": "ax",
1111
"architect": {
1212
"build": {
13-
"builder": "@angular-devkit/build-angular:ng-packagr",
13+
"builder": "@angular/build:ng-packagr",
1414
"options": {
1515
"project": "projects/elements/ng-package.json"
1616
},
@@ -42,12 +42,13 @@
4242
"prefix": "demo",
4343
"architect": {
4444
"build": {
45-
"builder": "@angular-devkit/build-angular:browser",
45+
"builder": "@angular/build:application",
4646
"options": {
4747
"baseHref": "/elements/",
48-
"outputPath": "dist/elements-demo",
48+
"outputPath": {
49+
"base": "dist/elements-demo"
50+
},
4951
"index": "projects/elements-demo/src/index.html",
50-
"main": "projects/elements-demo/src/main.ts",
5152
"polyfills": ["zone.js"],
5253
"tsConfig": "projects/elements-demo/tsconfig.app.json",
5354
"assets": [
@@ -56,7 +57,8 @@
5657
"projects/elements-demo/src/manifest.webmanifest"
5758
],
5859
"styles": ["projects/elements-demo/src/styles.scss"],
59-
"scripts": []
60+
"scripts": [],
61+
"browser": "projects/elements-demo/src/main.ts"
6062
},
6163
"configurations": {
6264
"production": {
@@ -79,13 +81,10 @@
7981
}
8082
],
8183
"outputHashing": "all",
82-
"serviceWorker": true,
83-
"ngswConfigPath": "projects/elements-demo/ngsw-config.json"
84+
"serviceWorker": "projects/elements-demo/ngsw-config.json"
8485
},
8586
"development": {
86-
"buildOptimizer": false,
8787
"optimization": false,
88-
"vendorChunk": true,
8988
"extractLicenses": false,
9089
"sourceMap": true,
9190
"namedChunks": true
@@ -94,7 +93,7 @@
9493
"defaultConfiguration": "production"
9594
},
9695
"serve": {
97-
"builder": "@angular-devkit/build-angular:dev-server",
96+
"builder": "@angular/build:dev-server",
9897
"configurations": {
9998
"production": {
10099
"buildTarget": "elements-demo:build:production"
@@ -106,7 +105,7 @@
106105
"defaultConfiguration": "development"
107106
},
108107
"extract-i18n": {
109-
"builder": "@angular-devkit/build-angular:extract-i18n",
108+
"builder": "@angular/build:extract-i18n",
110109
"options": {
111110
"buildTarget": "elements-demo:build"
112111
}

0 commit comments

Comments
 (0)