Skip to content

Commit e534ed4

Browse files
committed
Upgrade to ng21
1 parent 25d7625 commit e534ed4

File tree

9 files changed

+1217
-74
lines changed

9 files changed

+1217
-74
lines changed

angular.json

Lines changed: 47 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,42 @@
22
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
33
"version": 1,
44
"newProjectRoot": "projects",
5+
"schematics": {
6+
"@schematics/angular:component": {
7+
"type": "",
8+
"inlineTemplate": true,
9+
"inlineStyle": true,
10+
"style": "scss",
11+
"skipTests": true
12+
},
13+
"@schematics/angular:directive": {
14+
"type": "",
15+
"skipTests": true
16+
},
17+
"@schematics/angular:service": {
18+
"type": "service",
19+
"skipTests": true
20+
},
21+
"@schematics/angular:guard": {
22+
"typeSeparator": ".",
23+
"skipTests": true
24+
},
25+
"@schematics/angular:interceptor": {
26+
"typeSeparator": ".",
27+
"skipTests": true
28+
},
29+
"@schematics/angular:pipe": {
30+
"typeSeparator": ".",
31+
"skipTests": true
32+
},
33+
"@schematics/angular:resolver": {
34+
"typeSeparator": ".",
35+
"skipTests": true
36+
},
37+
"@schematics/angular:class": {
38+
"skipTests": true
39+
}
40+
},
541
"projects": {
642
"ship-ui": {
743
"projectType": "library",
@@ -16,49 +52,28 @@
1652
},
1753
"configurations": {
1854
"production": {
19-
"tsConfig": "projects/ship-ui/tsconfig.lib.prod.json"
55+
"tsConfig": "projects/ship-ui/tsconfig.lib-prod.json"
2056
},
2157
"development": {
2258
"tsConfig": "projects/ship-ui/tsconfig.lib.json"
2359
}
2460
},
2561
"defaultConfiguration": "production"
62+
},
63+
"test": {
64+
"builder": "@angular/build:unit-test",
65+
"options": {
66+
"runner": "vitest",
67+
"buildTarget": "ship-ui:build",
68+
"coverage": true,
69+
"runnerConfig": true,
70+
"tsConfig": "projects/ship-ui/tsconfig.lib-spec.json"
71+
}
2672
}
2773
}
2874
},
2975
"design-system": {
3076
"projectType": "application",
31-
"schematics": {
32-
"@schematics/angular:component": {
33-
"type": "",
34-
"inlineTemplate": true,
35-
"inlineStyle": true,
36-
"style": "scss",
37-
"skipTests": true
38-
},
39-
"@schematics/angular:class": {
40-
"skipTests": true
41-
},
42-
"@schematics/angular:directive": {
43-
"type": "",
44-
"skipTests": true
45-
},
46-
"@schematics/angular:guard": {
47-
"skipTests": true
48-
},
49-
"@schematics/angular:interceptor": {
50-
"skipTests": true
51-
},
52-
"@schematics/angular:pipe": {
53-
"skipTests": true
54-
},
55-
"@schematics/angular:resolver": {
56-
"skipTests": true
57-
},
58-
"@schematics/angular:service": {
59-
"skipTests": true
60-
}
61-
},
6277
"root": "projects/design-system",
6378
"sourceRoot": "projects/design-system/src",
6479
"prefix": "app",
@@ -128,31 +143,5 @@
128143
}
129144
}
130145
}
131-
},
132-
"schematics": {
133-
"@schematics/angular:component": {
134-
"type": "component"
135-
},
136-
"@schematics/angular:directive": {
137-
"type": "directive"
138-
},
139-
"@schematics/angular:service": {
140-
"type": "service"
141-
},
142-
"@schematics/angular:guard": {
143-
"typeSeparator": "."
144-
},
145-
"@schematics/angular:interceptor": {
146-
"typeSeparator": "."
147-
},
148-
"@schematics/angular:module": {
149-
"typeSeparator": "."
150-
},
151-
"@schematics/angular:pipe": {
152-
"typeSeparator": "."
153-
},
154-
"@schematics/angular:resolver": {
155-
"typeSeparator": "."
156-
}
157146
}
158147
}

0 commit comments

Comments
 (0)