Skip to content

Commit 98b37df

Browse files
committed
migrate to angular 20
1 parent 6641bf1 commit 98b37df

File tree

105 files changed

+9091
-13178
lines changed

Some content is hidden

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

105 files changed

+9091
-13178
lines changed

angular.json

Lines changed: 28 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,24 @@
1111
"prefix": "app",
1212
"architect": {
1313
"build": {
14-
"builder": "@angular-devkit/build-angular:browser",
14+
"builder": "@angular/build:application",
1515
"options": {
16-
"outputPath": "dist/sdk-sandbox",
17-
"index": "src/index.html",
18-
"main": "src/main.ts",
19-
"polyfills": [
20-
"zone.js"
21-
],
16+
"browser": "src/main.ts",
2217
"tsConfig": "tsconfig.app.json",
2318
"assets": [
24-
"src/favicon.ico",
25-
"src/assets"
19+
{
20+
"glob": "**/*",
21+
"input": "public"
22+
}
2623
],
2724
"styles": [
28-
"src/styles.css"
25+
"src/styles.css",
26+
"node_modules/bootstrap/dist/css/bootstrap.min.css",
27+
"node_modules/bootstrap-icons/font/bootstrap-icons.css",
28+
"node_modules/@vscode/codicons/dist/codicon.css"
2929
],
30-
"scripts": [],
31-
"allowedCommonJsDependencies": [
32-
"hash-sum"
30+
"polyfills": [
31+
"@angular/localize/init"
3332
]
3433
},
3534
"configurations": {
@@ -49,50 +48,44 @@
4948
"outputHashing": "all"
5049
},
5150
"development": {
52-
"buildOptimizer": false,
5351
"optimization": false,
54-
"vendorChunk": true,
5552
"extractLicenses": false,
56-
"sourceMap": true,
57-
"namedChunks": true
53+
"sourceMap": true
5854
}
5955
},
6056
"defaultConfiguration": "production"
6157
},
6258
"serve": {
63-
"builder": "@angular-devkit/build-angular:dev-server",
59+
"builder": "@angular/build:dev-server",
6460
"configurations": {
6561
"production": {
66-
"browserTarget": "sdk-sandbox:build:production"
62+
"buildTarget": "sdk-sandbox:build:production"
6763
},
6864
"development": {
69-
"browserTarget": "sdk-sandbox:build:development"
65+
"buildTarget": "sdk-sandbox:build:development"
7066
}
7167
},
7268
"defaultConfiguration": "development"
7369
},
7470
"extract-i18n": {
75-
"builder": "@angular-devkit/build-angular:extract-i18n",
76-
"options": {
77-
"browserTarget": "sdk-sandbox:build"
78-
}
71+
"builder": "@angular/build:extract-i18n"
7972
},
8073
"test": {
81-
"builder": "@angular-devkit/build-angular:karma",
74+
"builder": "@angular/build:karma",
8275
"options": {
83-
"polyfills": [
84-
"zone.js",
85-
"zone.js/testing"
86-
],
8776
"tsConfig": "tsconfig.spec.json",
8877
"assets": [
89-
"src/favicon.ico",
90-
"src/assets"
78+
{
79+
"glob": "**/*",
80+
"input": "public"
81+
}
9182
],
9283
"styles": [
9384
"src/styles.css"
9485
],
95-
"scripts": []
86+
"polyfills": [
87+
"@angular/localize/init"
88+
]
9689
}
9790
}
9891
}
@@ -104,10 +97,7 @@
10497
"prefix": "lib",
10598
"architect": {
10699
"build": {
107-
"builder": "@angular-devkit/build-angular:ng-packagr",
108-
"options": {
109-
"project": "projects/fusio-sdk/ng-package.json"
110-
},
100+
"builder": "@angular/build:ng-packagr",
111101
"configurations": {
112102
"production": {
113103
"tsConfig": "projects/fusio-sdk/tsconfig.lib.prod.json"
@@ -119,13 +109,9 @@
119109
"defaultConfiguration": "production"
120110
},
121111
"test": {
122-
"builder": "@angular-devkit/build-angular:karma",
112+
"builder": "@angular/build:karma",
123113
"options": {
124-
"tsConfig": "projects/fusio-sdk/tsconfig.spec.json",
125-
"polyfills": [
126-
"zone.js",
127-
"zone.js/testing"
128-
]
114+
"tsConfig": "projects/fusio-sdk/tsconfig.spec.json"
129115
}
130116
}
131117
}

0 commit comments

Comments
 (0)