Skip to content

Commit f1bed58

Browse files
committed
update sample app to angular 20
1 parent 4bba3a9 commit f1bed58

23 files changed

Lines changed: 1103 additions & 359 deletions

sample/angular.json

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": 1,
44
"newProjectRoot": "projects",
55
"projects": {
6-
"ng19-test": {
6+
"ng20-test": {
77
"projectType": "application",
88
"schematics": {},
99
"root": "",
@@ -13,20 +13,17 @@
1313
"build": {
1414
"builder": "@angular/build:application",
1515
"options": {
16-
"outputPath": "dist/ng19-test",
16+
"outputPath": "dist/ng20-test",
1717
"index": "src/index.html",
1818
"browser": "src/main.ts",
19-
"polyfills": [],
2019
"tsConfig": "tsconfig.app.json",
2120
"assets": [
2221
{
2322
"glob": "**/*",
2423
"input": "public"
2524
}
2625
],
27-
"styles": [
28-
"src/styles.css"
29-
],
26+
"styles": ["src/styles.css"],
3027
"scripts": [],
3128
"server": "src/main.server.ts",
3229
"outputMode": "server",
@@ -63,10 +60,10 @@
6360
"builder": "@angular/build:dev-server",
6461
"configurations": {
6562
"production": {
66-
"buildTarget": "ng19-test:build:production"
63+
"buildTarget": "ng20-test:build:production"
6764
},
6865
"development": {
69-
"buildTarget": "ng19-test:build:development"
66+
"buildTarget": "ng20-test:build:development"
7067
}
7168
},
7269
"defaultConfiguration": "development"
@@ -77,17 +74,15 @@
7774
"test": {
7875
"builder": "@angular/build:karma",
7976
"options": {
80-
"polyfills": [],
77+
"main": "src/test.ts",
8178
"tsConfig": "tsconfig.spec.json",
8279
"assets": [
8380
{
8481
"glob": "**/*",
8582
"input": "public"
8683
}
8784
],
88-
"styles": [
89-
"src/styles.css"
90-
],
85+
"styles": ["src/styles.css"],
9186
"scripts": []
9287
}
9388
}
@@ -119,5 +114,8 @@
119114
"@schematics/angular:resolver": {
120115
"typeSeparator": "."
121116
}
117+
},
118+
"cli": {
119+
"analytics": false
122120
}
123121
}

0 commit comments

Comments
 (0)