|
2 | 2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
3 | 3 | "version": 1, |
4 | 4 | "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 | + }, |
5 | 41 | "projects": { |
6 | 42 | "ship-ui": { |
7 | 43 | "projectType": "library", |
|
16 | 52 | }, |
17 | 53 | "configurations": { |
18 | 54 | "production": { |
19 | | - "tsConfig": "projects/ship-ui/tsconfig.lib.prod.json" |
| 55 | + "tsConfig": "projects/ship-ui/tsconfig.lib-prod.json" |
20 | 56 | }, |
21 | 57 | "development": { |
22 | 58 | "tsConfig": "projects/ship-ui/tsconfig.lib.json" |
23 | 59 | } |
24 | 60 | }, |
25 | 61 | "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 | + } |
26 | 72 | } |
27 | 73 | } |
28 | 74 | }, |
29 | 75 | "design-system": { |
30 | 76 | "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 | | - }, |
62 | 77 | "root": "projects/design-system", |
63 | 78 | "sourceRoot": "projects/design-system/src", |
64 | 79 | "prefix": "app", |
|
128 | 143 | } |
129 | 144 | } |
130 | 145 | } |
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 | | - } |
157 | 146 | } |
158 | 147 | } |
0 commit comments