|
1 | 1 | { |
2 | 2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
3 | 3 | "version": 1, |
4 | | - "newProjectRoot": "projects", |
5 | | - "projects": { |
6 | | - "ng-zorro-antd-doc": { |
7 | | - "root": "", |
8 | | - "sourceRoot": "site", |
9 | | - "projectType": "application", |
10 | | - "architect": { |
11 | | - "build": { |
12 | | - "builder": "@angular/build:application", |
13 | | - "options": { |
14 | | - "outputPath": "dist", |
15 | | - "index": "site/index.html", |
16 | | - "browser": "site/main.ts", |
17 | | - "server": "site/main.server.ts", |
18 | | - "tsConfig": "site/tsconfig.app.json", |
19 | | - "serviceWorker": "ngsw-config.json", |
20 | | - "prerender": true, |
21 | | - "ssr": { |
22 | | - "entry": "site/server.ts" |
23 | | - }, |
24 | | - "assets": [ |
25 | | - "site/assets", |
26 | | - "site/manifest.json", |
27 | | - "site/favicon.ico", |
28 | | - "site/404.html", |
29 | | - "site/google854eb8b183564acb.html", |
30 | | - "site/robots.txt", |
31 | | - "site/llms.txt", |
32 | | - "site/llms-full.txt", |
33 | | - "site/llms-full-cn.txt", |
34 | | - { |
35 | | - "glob": "**/*.md", |
36 | | - "input": "site/components", |
37 | | - "output": "/components/" |
38 | | - }, |
39 | | - { |
40 | | - "glob": "**/*.md", |
41 | | - "input": "site/docs", |
42 | | - "output": "/docs/" |
43 | | - }, |
44 | | - { |
45 | | - "glob": "**/*", |
46 | | - "input": "node_modules/@ant-design/icons-angular/src/inline-svg/", |
47 | | - "output": "/assets/" |
48 | | - }, |
49 | | - { |
50 | | - "glob": "**/*", |
51 | | - "input": "node_modules/monaco-editor/min/vs", |
52 | | - "output": "/assets/vs/" |
53 | | - } |
54 | | - ], |
55 | | - "styles": [ |
56 | | - "site/styles.less" |
57 | | - ], |
58 | | - "allowedCommonJsDependencies": [ |
59 | | - "@ant-design/colors", |
60 | | - "cron-parser" |
61 | | - ] |
62 | | - }, |
63 | | - "configurations": { |
64 | | - "production": { |
65 | | - "fileReplacements": [ |
66 | | - { |
67 | | - "replace": "site/environments/environment.ts", |
68 | | - "with": "site/environments/environment.prod.ts" |
69 | | - } |
70 | | - ], |
71 | | - "outputHashing": "all" |
72 | | - }, |
73 | | - "development": { |
74 | | - "optimization": false, |
75 | | - "extractLicenses": false, |
76 | | - "sourceMap": true, |
77 | | - "namedChunks": true |
78 | | - } |
79 | | - }, |
80 | | - "defaultConfiguration": "production" |
81 | | - }, |
82 | | - "serve": { |
83 | | - "builder": "@angular/build:dev-server", |
84 | | - "options": { |
85 | | - "buildTarget": "ng-zorro-antd-doc:build" |
86 | | - }, |
87 | | - "configurations": { |
88 | | - "production": { |
89 | | - "buildTarget": "ng-zorro-antd-doc:build:production" |
90 | | - }, |
91 | | - "development": { |
92 | | - "buildTarget": "ng-zorro-antd-doc:build:development" |
93 | | - } |
94 | | - }, |
95 | | - "defaultConfiguration": "development" |
96 | | - } |
97 | | - } |
98 | | - }, |
99 | | - "ng-zorro-antd-lib": { |
100 | | - "root": "components", |
101 | | - "sourceRoot": "components", |
102 | | - "projectType": "library", |
103 | | - "prefix": "nz", |
104 | | - "architect": { |
105 | | - "build": { |
106 | | - "builder": "@angular/build:ng-packagr", |
107 | | - "options": { |
108 | | - "project": "components/ng-package.json" |
109 | | - }, |
110 | | - "configurations": { |
111 | | - "production": { |
112 | | - "tsConfig": "components/tsconfig.lib.prod.json" |
113 | | - }, |
114 | | - "development": { |
115 | | - "tsConfig": "components/tsconfig.lib.json" |
116 | | - } |
117 | | - }, |
118 | | - "defaultConfiguration": "production" |
119 | | - }, |
120 | | - "test": { |
121 | | - "builder": "@angular/build:unit-test", |
122 | | - "options": { |
123 | | - "buildTarget": "ng-zorro-antd-lib:build:development", |
124 | | - "runner": "vitest", |
125 | | - "runnerConfig": "components/vitest.config.mjs", |
126 | | - "browsers": [ |
127 | | - "ChromiumHeadless" |
128 | | - ], |
129 | | - "browserViewport": "1000x1000", |
130 | | - "coverage": true, |
131 | | - "coverageReporters": [ |
132 | | - "html", |
133 | | - "text-summary", |
134 | | - "lcovonly", |
135 | | - "cobertura" |
136 | | - ], |
137 | | - "reporters": [ |
138 | | - "default", |
139 | | - [ |
140 | | - "junit", |
141 | | - { |
142 | | - "outputFile": "junit/TESTS-vitest.xml" |
143 | | - } |
144 | | - ] |
145 | | - ], |
146 | | - "setupFiles": [ |
147 | | - "components/vitest-setup.ts" |
148 | | - ], |
149 | | - "tsConfig": "components/tsconfig.spec.json", |
150 | | - "include": [ |
151 | | - "**/*.spec.ts" |
152 | | - ] |
153 | | - } |
154 | | - }, |
155 | | - "lint": { |
156 | | - "builder": "@angular-eslint/builder:lint", |
157 | | - "options": { |
158 | | - "fix": true, |
159 | | - "lintFilePatterns": [ |
160 | | - "components/**/*.ts", |
161 | | - "components/**/*.html" |
162 | | - ] |
163 | | - } |
164 | | - } |
165 | | - } |
166 | | - } |
167 | | - }, |
| 4 | + "projects": {}, |
168 | 5 | "schematics": { |
169 | 6 | "@schematics/angular:component": { |
170 | 7 | "prefix": "app", |
|
0 commit comments