1 | {
|
---|
2 | "$schema": "http://json-schema.org/draft-07/schema",
|
---|
3 | "$id": "ng-cli://config/schema.json",
|
---|
4 | "title": "Angular CLI Workspace Configuration",
|
---|
5 | "type": "object",
|
---|
6 | "properties": {
|
---|
7 | "$schema": {
|
---|
8 | "type": "string"
|
---|
9 | },
|
---|
10 | "version": {
|
---|
11 | "$ref": "#/definitions/fileVersion"
|
---|
12 | },
|
---|
13 | "cli": {
|
---|
14 | "$ref": "#/definitions/cliOptions"
|
---|
15 | },
|
---|
16 | "schematics": {
|
---|
17 | "$ref": "#/definitions/schematicOptions"
|
---|
18 | },
|
---|
19 | "newProjectRoot": {
|
---|
20 | "type": "string",
|
---|
21 | "description": "Path where new projects will be created."
|
---|
22 | },
|
---|
23 | "defaultProject": {
|
---|
24 | "type": "string",
|
---|
25 | "description": "Default project name used in commands."
|
---|
26 | },
|
---|
27 | "projects": {
|
---|
28 | "type": "object",
|
---|
29 | "patternProperties": {
|
---|
30 | "^(?:@[a-zA-Z0-9_-]+/)?[a-zA-Z0-9_-]+$": {
|
---|
31 | "$ref": "#/definitions/project"
|
---|
32 | }
|
---|
33 | },
|
---|
34 | "additionalProperties": false
|
---|
35 | }
|
---|
36 | },
|
---|
37 | "additionalProperties": false,
|
---|
38 | "required": [
|
---|
39 | "version"
|
---|
40 | ],
|
---|
41 | "definitions": {
|
---|
42 | "cliOptions": {
|
---|
43 | "type": "object",
|
---|
44 | "properties": {
|
---|
45 | "defaultCollection": {
|
---|
46 | "description": "The default schematics collection to use.",
|
---|
47 | "type": "string"
|
---|
48 | },
|
---|
49 | "packageManager": {
|
---|
50 | "description": "Specify which package manager tool to use.",
|
---|
51 | "type": "string",
|
---|
52 | "enum": [
|
---|
53 | "npm",
|
---|
54 | "cnpm",
|
---|
55 | "yarn",
|
---|
56 | "pnpm"
|
---|
57 | ]
|
---|
58 | },
|
---|
59 | "warnings": {
|
---|
60 | "description": "Control CLI specific console warnings",
|
---|
61 | "type": "object",
|
---|
62 | "properties": {
|
---|
63 | "versionMismatch": {
|
---|
64 | "description": "Show a warning when the global version is newer than the local one.",
|
---|
65 | "type": "boolean"
|
---|
66 | }
|
---|
67 | }
|
---|
68 | },
|
---|
69 | "analytics": {
|
---|
70 | "type": [
|
---|
71 | "boolean",
|
---|
72 | "string"
|
---|
73 | ],
|
---|
74 | "description": "Share anonymous usage data with the Angular Team at Google."
|
---|
75 | },
|
---|
76 | "analyticsSharing": {
|
---|
77 | "type": "object",
|
---|
78 | "properties": {
|
---|
79 | "tracking": {
|
---|
80 | "description": "Analytics sharing info tracking ID.",
|
---|
81 | "type": "string",
|
---|
82 | "pattern": "^(GA|UA)?-\\d+-\\d+$"
|
---|
83 | },
|
---|
84 | "uuid": {
|
---|
85 | "description": "Analytics sharing info universally unique identifier.",
|
---|
86 | "type": "string",
|
---|
87 | "format": "uuid"
|
---|
88 | }
|
---|
89 | }
|
---|
90 | }
|
---|
91 | },
|
---|
92 | "additionalProperties": false
|
---|
93 | },
|
---|
94 | "schematicOptions": {
|
---|
95 | "type": "object",
|
---|
96 | "properties": {
|
---|
97 | "@schematics/angular:application": {
|
---|
98 | "$ref": "#/definitions/SchematicsAngularApplicationSchema"
|
---|
99 | },
|
---|
100 | "@schematics/angular:class": {
|
---|
101 | "$ref": "#/definitions/SchematicsAngularClassSchema"
|
---|
102 | },
|
---|
103 | "@schematics/angular:component": {
|
---|
104 | "$ref": "#/definitions/SchematicsAngularComponentSchema"
|
---|
105 | },
|
---|
106 | "@schematics/angular:directive": {
|
---|
107 | "$ref": "#/definitions/SchematicsAngularDirectiveSchema"
|
---|
108 | },
|
---|
109 | "@schematics/angular:enum": {
|
---|
110 | "$ref": "#/definitions/SchematicsAngularEnumSchema"
|
---|
111 | },
|
---|
112 | "@schematics/angular:guard": {
|
---|
113 | "$ref": "#/definitions/SchematicsAngularGuardSchema"
|
---|
114 | },
|
---|
115 | "@schematics/angular:interceptor": {
|
---|
116 | "$ref": "#/definitions/SchematicsAngularInterceptorSchema"
|
---|
117 | },
|
---|
118 | "@schematics/angular:interface": {
|
---|
119 | "$ref": "#/definitions/SchematicsAngularInterfaceSchema"
|
---|
120 | },
|
---|
121 | "@schematics/angular:library": {
|
---|
122 | "$ref": "#/definitions/SchematicsAngularLibrarySchema"
|
---|
123 | },
|
---|
124 | "@schematics/angular:pipe": {
|
---|
125 | "$ref": "#/definitions/SchematicsAngularPipeSchema"
|
---|
126 | },
|
---|
127 | "@schematics/angular:ng-new": {
|
---|
128 | "$ref": "#/definitions/SchematicsAngularNgNewSchema"
|
---|
129 | },
|
---|
130 | "@schematics/angular:resolver": {
|
---|
131 | "$ref": "#/definitions/SchematicsAngularResolverSchema"
|
---|
132 | },
|
---|
133 | "@schematics/angular:service": {
|
---|
134 | "$ref": "#/definitions/SchematicsAngularServiceSchema"
|
---|
135 | },
|
---|
136 | "@schematics/angular:web-worker": {
|
---|
137 | "$ref": "#/definitions/SchematicsAngularWebWorkerSchema"
|
---|
138 | }
|
---|
139 | },
|
---|
140 | "additionalProperties": {
|
---|
141 | "type": "object"
|
---|
142 | }
|
---|
143 | },
|
---|
144 | "fileVersion": {
|
---|
145 | "type": "integer",
|
---|
146 | "description": "File format version",
|
---|
147 | "minimum": 1
|
---|
148 | },
|
---|
149 | "project": {
|
---|
150 | "type": "object",
|
---|
151 | "properties": {
|
---|
152 | "cli": {
|
---|
153 | "$ref": "#/definitions/cliOptions"
|
---|
154 | },
|
---|
155 | "schematics": {
|
---|
156 | "$ref": "#/definitions/schematicOptions"
|
---|
157 | },
|
---|
158 | "prefix": {
|
---|
159 | "type": "string",
|
---|
160 | "format": "html-selector",
|
---|
161 | "description": "The prefix to apply to generated selectors."
|
---|
162 | },
|
---|
163 | "root": {
|
---|
164 | "type": "string",
|
---|
165 | "description": "Root of the project files."
|
---|
166 | },
|
---|
167 | "i18n": {
|
---|
168 | "$ref": "#/definitions/project/definitions/i18n"
|
---|
169 | },
|
---|
170 | "sourceRoot": {
|
---|
171 | "type": "string",
|
---|
172 | "description": "The root of the source files, assets and index.html file structure."
|
---|
173 | },
|
---|
174 | "projectType": {
|
---|
175 | "type": "string",
|
---|
176 | "description": "Project type.",
|
---|
177 | "enum": [
|
---|
178 | "application",
|
---|
179 | "library"
|
---|
180 | ]
|
---|
181 | },
|
---|
182 | "architect": {
|
---|
183 | "type": "object",
|
---|
184 | "additionalProperties": {
|
---|
185 | "$ref": "#/definitions/project/definitions/target"
|
---|
186 | }
|
---|
187 | },
|
---|
188 | "targets": {
|
---|
189 | "type": "object",
|
---|
190 | "additionalProperties": {
|
---|
191 | "$ref": "#/definitions/project/definitions/target"
|
---|
192 | }
|
---|
193 | }
|
---|
194 | },
|
---|
195 | "required": [
|
---|
196 | "root",
|
---|
197 | "projectType"
|
---|
198 | ],
|
---|
199 | "anyOf": [
|
---|
200 | {
|
---|
201 | "required": [
|
---|
202 | "architect"
|
---|
203 | ],
|
---|
204 | "not": {
|
---|
205 | "required": [
|
---|
206 | "targets"
|
---|
207 | ]
|
---|
208 | }
|
---|
209 | },
|
---|
210 | {
|
---|
211 | "required": [
|
---|
212 | "targets"
|
---|
213 | ],
|
---|
214 | "not": {
|
---|
215 | "required": [
|
---|
216 | "architect"
|
---|
217 | ]
|
---|
218 | }
|
---|
219 | },
|
---|
220 | {
|
---|
221 | "not": {
|
---|
222 | "required": [
|
---|
223 | "targets",
|
---|
224 | "architect"
|
---|
225 | ]
|
---|
226 | }
|
---|
227 | }
|
---|
228 | ],
|
---|
229 | "additionalProperties": false,
|
---|
230 | "patternProperties": {
|
---|
231 | "^[a-z]{1,3}-.*": {}
|
---|
232 | },
|
---|
233 | "definitions": {
|
---|
234 | "i18n": {
|
---|
235 | "description": "Project i18n options",
|
---|
236 | "type": "object",
|
---|
237 | "properties": {
|
---|
238 | "sourceLocale": {
|
---|
239 | "oneOf": [
|
---|
240 | {
|
---|
241 | "type": "string",
|
---|
242 | "description": "Specifies the source locale of the application.",
|
---|
243 | "default": "en-US",
|
---|
244 | "$comment": "IETF BCP 47 language tag (simplified)",
|
---|
245 | "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-[a-zA-Z]{5,8})?(-x(-[a-zA-Z0-9]{1,8})+)?$"
|
---|
246 | },
|
---|
247 | {
|
---|
248 | "type": "object",
|
---|
249 | "description": "Localization options to use for the source locale",
|
---|
250 | "properties": {
|
---|
251 | "code": {
|
---|
252 | "type": "string",
|
---|
253 | "description": "Specifies the locale code of the source locale",
|
---|
254 | "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-[a-zA-Z]{5,8})?(-x(-[a-zA-Z0-9]{1,8})+)?$"
|
---|
255 | },
|
---|
256 | "baseHref": {
|
---|
257 | "type": "string",
|
---|
258 | "description": "HTML base HREF to use for the locale (defaults to the locale code)"
|
---|
259 | }
|
---|
260 | },
|
---|
261 | "additionalProperties": false
|
---|
262 | }
|
---|
263 | ]
|
---|
264 | },
|
---|
265 | "locales": {
|
---|
266 | "type": "object",
|
---|
267 | "additionalProperties": false,
|
---|
268 | "patternProperties": {
|
---|
269 | "^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-[a-zA-Z]{5,8})?(-x(-[a-zA-Z0-9]{1,8})+)?$": {
|
---|
270 | "oneOf": [
|
---|
271 | {
|
---|
272 | "type": "string",
|
---|
273 | "description": "Localization file to use for i18n"
|
---|
274 | },
|
---|
275 | {
|
---|
276 | "type": "array",
|
---|
277 | "description": "Localization files to use for i18n",
|
---|
278 | "items": {
|
---|
279 | "type": "string",
|
---|
280 | "uniqueItems": true
|
---|
281 | }
|
---|
282 | },
|
---|
283 | {
|
---|
284 | "type": "object",
|
---|
285 | "description": "Localization options to use for the locale",
|
---|
286 | "properties": {
|
---|
287 | "translation": {
|
---|
288 | "oneOf": [
|
---|
289 | {
|
---|
290 | "type": "string",
|
---|
291 | "description": "Localization file to use for i18n"
|
---|
292 | },
|
---|
293 | {
|
---|
294 | "type": "array",
|
---|
295 | "description": "Localization files to use for i18n",
|
---|
296 | "items": {
|
---|
297 | "type": "string",
|
---|
298 | "uniqueItems": true
|
---|
299 | }
|
---|
300 | }
|
---|
301 | ]
|
---|
302 | },
|
---|
303 | "baseHref": {
|
---|
304 | "type": "string",
|
---|
305 | "description": "HTML base HREF to use for the locale (defaults to the locale code)"
|
---|
306 | }
|
---|
307 | },
|
---|
308 | "additionalProperties": false
|
---|
309 | }
|
---|
310 | ]
|
---|
311 | }
|
---|
312 | }
|
---|
313 | }
|
---|
314 | },
|
---|
315 | "additionalProperties": false
|
---|
316 | },
|
---|
317 | "target": {
|
---|
318 | "oneOf": [
|
---|
319 | {
|
---|
320 | "$comment": "Extendable target with custom builder",
|
---|
321 | "type": "object",
|
---|
322 | "properties": {
|
---|
323 | "builder": {
|
---|
324 | "type": "string",
|
---|
325 | "description": "The builder used for this package.",
|
---|
326 | "not": {
|
---|
327 | "enum": [
|
---|
328 | "@angular-devkit/build-angular:app-shell",
|
---|
329 | "@angular-devkit/build-angular:browser",
|
---|
330 | "@angular-devkit/build-angular:dev-server",
|
---|
331 | "@angular-devkit/build-angular:extract-i18n",
|
---|
332 | "@angular-devkit/build-angular:karma",
|
---|
333 | "@angular-devkit/build-angular:protractor",
|
---|
334 | "@angular-devkit/build-angular:server",
|
---|
335 | "@angular-devkit/build-angular:tslint",
|
---|
336 | "@angular-devkit/build-angular:ng-packagr"
|
---|
337 | ]
|
---|
338 | }
|
---|
339 | },
|
---|
340 | "defaultConfiguration": {
|
---|
341 | "type": "string",
|
---|
342 | "description": "A default named configuration to use when a target configuration is not provided."
|
---|
343 | },
|
---|
344 | "options": {
|
---|
345 | "type": "object"
|
---|
346 | },
|
---|
347 | "configurations": {
|
---|
348 | "type": "object",
|
---|
349 | "description": "A map of alternative target options.",
|
---|
350 | "additionalProperties": {
|
---|
351 | "type": "object"
|
---|
352 | }
|
---|
353 | }
|
---|
354 | },
|
---|
355 | "additionalProperties": false,
|
---|
356 | "required": [
|
---|
357 | "builder"
|
---|
358 | ]
|
---|
359 | },
|
---|
360 | {
|
---|
361 | "type": "object",
|
---|
362 | "additionalProperties": false,
|
---|
363 | "properties": {
|
---|
364 | "builder": {
|
---|
365 | "const": "@angular-devkit/build-angular:app-shell"
|
---|
366 | },
|
---|
367 | "defaultConfiguration": {
|
---|
368 | "type": "string",
|
---|
369 | "description": "A default named configuration to use when a target configuration is not provided."
|
---|
370 | },
|
---|
371 | "options": {
|
---|
372 | "$ref": "#/definitions/AngularDevkitBuildAngularAppShellSchema"
|
---|
373 | },
|
---|
374 | "configurations": {
|
---|
375 | "type": "object",
|
---|
376 | "additionalProperties": {
|
---|
377 | "$ref": "#/definitions/AngularDevkitBuildAngularAppShellSchema"
|
---|
378 | }
|
---|
379 | }
|
---|
380 | }
|
---|
381 | },
|
---|
382 | {
|
---|
383 | "type": "object",
|
---|
384 | "additionalProperties": false,
|
---|
385 | "properties": {
|
---|
386 | "builder": {
|
---|
387 | "const": "@angular-devkit/build-angular:browser"
|
---|
388 | },
|
---|
389 | "defaultConfiguration": {
|
---|
390 | "type": "string",
|
---|
391 | "description": "A default named configuration to use when a target configuration is not provided."
|
---|
392 | },
|
---|
393 | "options": {
|
---|
394 | "$ref": "#/definitions/AngularDevkitBuildAngularBrowserSchema"
|
---|
395 | },
|
---|
396 | "configurations": {
|
---|
397 | "type": "object",
|
---|
398 | "additionalProperties": {
|
---|
399 | "$ref": "#/definitions/AngularDevkitBuildAngularBrowserSchema"
|
---|
400 | }
|
---|
401 | }
|
---|
402 | }
|
---|
403 | },
|
---|
404 | {
|
---|
405 | "type": "object",
|
---|
406 | "additionalProperties": false,
|
---|
407 | "properties": {
|
---|
408 | "builder": {
|
---|
409 | "const": "@angular-devkit/build-angular:dev-server"
|
---|
410 | },
|
---|
411 | "defaultConfiguration": {
|
---|
412 | "type": "string",
|
---|
413 | "description": "A default named configuration to use when a target configuration is not provided."
|
---|
414 | },
|
---|
415 | "options": {
|
---|
416 | "$ref": "#/definitions/AngularDevkitBuildAngularDevServerSchema"
|
---|
417 | },
|
---|
418 | "configurations": {
|
---|
419 | "type": "object",
|
---|
420 | "additionalProperties": {
|
---|
421 | "$ref": "#/definitions/AngularDevkitBuildAngularDevServerSchema"
|
---|
422 | }
|
---|
423 | }
|
---|
424 | }
|
---|
425 | },
|
---|
426 | {
|
---|
427 | "type": "object",
|
---|
428 | "additionalProperties": false,
|
---|
429 | "properties": {
|
---|
430 | "builder": {
|
---|
431 | "const": "@angular-devkit/build-angular:extract-i18n"
|
---|
432 | },
|
---|
433 | "defaultConfiguration": {
|
---|
434 | "type": "string",
|
---|
435 | "description": "A default named configuration to use when a target configuration is not provided."
|
---|
436 | },
|
---|
437 | "options": {
|
---|
438 | "$ref": "#/definitions/AngularDevkitBuildAngularExtractI18nSchema"
|
---|
439 | },
|
---|
440 | "configurations": {
|
---|
441 | "type": "object",
|
---|
442 | "additionalProperties": {
|
---|
443 | "$ref": "#/definitions/AngularDevkitBuildAngularExtractI18nSchema"
|
---|
444 | }
|
---|
445 | }
|
---|
446 | }
|
---|
447 | },
|
---|
448 | {
|
---|
449 | "type": "object",
|
---|
450 | "additionalProperties": false,
|
---|
451 | "properties": {
|
---|
452 | "builder": {
|
---|
453 | "const": "@angular-devkit/build-angular:karma"
|
---|
454 | },
|
---|
455 | "defaultConfiguration": {
|
---|
456 | "type": "string",
|
---|
457 | "description": "A default named configuration to use when a target configuration is not provided."
|
---|
458 | },
|
---|
459 | "options": {
|
---|
460 | "$ref": "#/definitions/AngularDevkitBuildAngularKarmaSchema"
|
---|
461 | },
|
---|
462 | "configurations": {
|
---|
463 | "type": "object",
|
---|
464 | "additionalProperties": {
|
---|
465 | "$ref": "#/definitions/AngularDevkitBuildAngularKarmaSchema"
|
---|
466 | }
|
---|
467 | }
|
---|
468 | }
|
---|
469 | },
|
---|
470 | {
|
---|
471 | "type": "object",
|
---|
472 | "additionalProperties": false,
|
---|
473 | "properties": {
|
---|
474 | "builder": {
|
---|
475 | "const": "@angular-devkit/build-angular:protractor"
|
---|
476 | },
|
---|
477 | "defaultConfiguration": {
|
---|
478 | "type": "string",
|
---|
479 | "description": "A default named configuration to use when a target configuration is not provided."
|
---|
480 | },
|
---|
481 | "options": {
|
---|
482 | "$ref": "#/definitions/AngularDevkitBuildAngularProtractorSchema"
|
---|
483 | },
|
---|
484 | "configurations": {
|
---|
485 | "type": "object",
|
---|
486 | "additionalProperties": {
|
---|
487 | "$ref": "#/definitions/AngularDevkitBuildAngularProtractorSchema"
|
---|
488 | }
|
---|
489 | }
|
---|
490 | }
|
---|
491 | },
|
---|
492 | {
|
---|
493 | "type": "object",
|
---|
494 | "additionalProperties": false,
|
---|
495 | "properties": {
|
---|
496 | "builder": {
|
---|
497 | "const": "@angular-devkit/build-angular:server"
|
---|
498 | },
|
---|
499 | "defaultConfiguration": {
|
---|
500 | "type": "string",
|
---|
501 | "description": "A default named configuration to use when a target configuration is not provided."
|
---|
502 | },
|
---|
503 | "options": {
|
---|
504 | "$ref": "#/definitions/AngularDevkitBuildAngularServerSchema"
|
---|
505 | },
|
---|
506 | "configurations": {
|
---|
507 | "type": "object",
|
---|
508 | "additionalProperties": {
|
---|
509 | "$ref": "#/definitions/AngularDevkitBuildAngularServerSchema"
|
---|
510 | }
|
---|
511 | }
|
---|
512 | }
|
---|
513 | },
|
---|
514 | {
|
---|
515 | "type": "object",
|
---|
516 | "additionalProperties": false,
|
---|
517 | "properties": {
|
---|
518 | "builder": {
|
---|
519 | "const": "@angular-devkit/build-angular:tslint"
|
---|
520 | },
|
---|
521 | "defaultConfiguration": {
|
---|
522 | "type": "string",
|
---|
523 | "description": "A default named configuration to use when a target configuration is not provided."
|
---|
524 | },
|
---|
525 | "options": {
|
---|
526 | "$ref": "#/definitions/AngularDevkitBuildAngularTslintSchema"
|
---|
527 | },
|
---|
528 | "configurations": {
|
---|
529 | "type": "object",
|
---|
530 | "additionalProperties": {
|
---|
531 | "$ref": "#/definitions/AngularDevkitBuildAngularTslintSchema"
|
---|
532 | }
|
---|
533 | }
|
---|
534 | }
|
---|
535 | },
|
---|
536 | {
|
---|
537 | "type": "object",
|
---|
538 | "additionalProperties": false,
|
---|
539 | "properties": {
|
---|
540 | "builder": {
|
---|
541 | "const": "@angular-devkit/build-angular:ng-packagr"
|
---|
542 | },
|
---|
543 | "defaultConfiguration": {
|
---|
544 | "type": "string",
|
---|
545 | "description": "A default named configuration to use when a target configuration is not provided."
|
---|
546 | },
|
---|
547 | "options": {
|
---|
548 | "$ref": "#/definitions/AngularDevkitBuildAngularNgPackagrSchema"
|
---|
549 | },
|
---|
550 | "configurations": {
|
---|
551 | "type": "object",
|
---|
552 | "additionalProperties": {
|
---|
553 | "$ref": "#/definitions/AngularDevkitBuildAngularNgPackagrSchema"
|
---|
554 | }
|
---|
555 | }
|
---|
556 | }
|
---|
557 | }
|
---|
558 | ]
|
---|
559 | }
|
---|
560 | }
|
---|
561 | },
|
---|
562 | "global": {
|
---|
563 | "type": "object",
|
---|
564 | "properties": {
|
---|
565 | "$schema": {
|
---|
566 | "type": "string",
|
---|
567 | "format": "uri"
|
---|
568 | },
|
---|
569 | "version": {
|
---|
570 | "$ref": "#/definitions/fileVersion"
|
---|
571 | },
|
---|
572 | "cli": {
|
---|
573 | "$ref": "#/definitions/cliOptions"
|
---|
574 | },
|
---|
575 | "schematics": {
|
---|
576 | "$ref": "#/definitions/schematicOptions"
|
---|
577 | }
|
---|
578 | },
|
---|
579 | "required": [
|
---|
580 | "version"
|
---|
581 | ]
|
---|
582 | },
|
---|
583 | "SchematicsAngularApplicationSchema": {
|
---|
584 | "title": "Angular Application Options Schema",
|
---|
585 | "type": "object",
|
---|
586 | "description": "Generates a new basic app definition in the \"projects\" subfolder of the workspace.",
|
---|
587 | "additionalProperties": false,
|
---|
588 | "properties": {
|
---|
589 | "projectRoot": {
|
---|
590 | "description": "The root directory of the new app.",
|
---|
591 | "type": "string",
|
---|
592 | "visible": false
|
---|
593 | },
|
---|
594 | "name": {
|
---|
595 | "description": "The name of the new app.",
|
---|
596 | "type": "string",
|
---|
597 | "$default": {
|
---|
598 | "$source": "argv",
|
---|
599 | "index": 0
|
---|
600 | },
|
---|
601 | "x-prompt": "What name would you like to use for the application?"
|
---|
602 | },
|
---|
603 | "inlineStyle": {
|
---|
604 | "description": "Include styles inline in the root component.ts file. Only CSS styles can be included inline. Default is false, meaning that an external styles file is created and referenced in the root component.ts file.",
|
---|
605 | "type": "boolean",
|
---|
606 | "alias": "s",
|
---|
607 | "x-user-analytics": 9
|
---|
608 | },
|
---|
609 | "inlineTemplate": {
|
---|
610 | "description": "Include template inline in the root component.ts file. Default is false, meaning that an external template file is created and referenced in the root component.ts file. ",
|
---|
611 | "type": "boolean",
|
---|
612 | "alias": "t",
|
---|
613 | "x-user-analytics": 10
|
---|
614 | },
|
---|
615 | "viewEncapsulation": {
|
---|
616 | "description": "The view encapsulation strategy to use in the new application.",
|
---|
617 | "enum": [
|
---|
618 | "Emulated",
|
---|
619 | "None",
|
---|
620 | "ShadowDom"
|
---|
621 | ],
|
---|
622 | "type": "string",
|
---|
623 | "x-user-analytics": 11
|
---|
624 | },
|
---|
625 | "routing": {
|
---|
626 | "type": "boolean",
|
---|
627 | "description": "Create a routing NgModule.",
|
---|
628 | "default": false,
|
---|
629 | "x-prompt": "Would you like to add Angular routing?",
|
---|
630 | "x-user-analytics": 17
|
---|
631 | },
|
---|
632 | "prefix": {
|
---|
633 | "type": "string",
|
---|
634 | "format": "html-selector",
|
---|
635 | "description": "A prefix to apply to generated selectors.",
|
---|
636 | "default": "app",
|
---|
637 | "alias": "p"
|
---|
638 | },
|
---|
639 | "style": {
|
---|
640 | "description": "The file extension or preprocessor to use for style files.",
|
---|
641 | "type": "string",
|
---|
642 | "default": "css",
|
---|
643 | "enum": [
|
---|
644 | "css",
|
---|
645 | "scss",
|
---|
646 | "sass",
|
---|
647 | "less"
|
---|
648 | ],
|
---|
649 | "x-prompt": {
|
---|
650 | "message": "Which stylesheet format would you like to use?",
|
---|
651 | "type": "list",
|
---|
652 | "items": [
|
---|
653 | {
|
---|
654 | "value": "css",
|
---|
655 | "label": "CSS"
|
---|
656 | },
|
---|
657 | {
|
---|
658 | "value": "scss",
|
---|
659 | "label": "SCSS [ https://sass-lang.com/documentation/syntax#scss ]"
|
---|
660 | },
|
---|
661 | {
|
---|
662 | "value": "sass",
|
---|
663 | "label": "Sass [ https://sass-lang.com/documentation/syntax#the-indented-syntax ]"
|
---|
664 | },
|
---|
665 | {
|
---|
666 | "value": "less",
|
---|
667 | "label": "Less [ http://lesscss.org ]"
|
---|
668 | }
|
---|
669 | ]
|
---|
670 | },
|
---|
671 | "x-user-analytics": 5
|
---|
672 | },
|
---|
673 | "skipTests": {
|
---|
674 | "description": "Do not create \"spec.ts\" test files for the application.",
|
---|
675 | "type": "boolean",
|
---|
676 | "default": false,
|
---|
677 | "alias": "S",
|
---|
678 | "x-user-analytics": 12
|
---|
679 | },
|
---|
680 | "skipPackageJson": {
|
---|
681 | "type": "boolean",
|
---|
682 | "default": false,
|
---|
683 | "description": "Do not add dependencies to the \"package.json\" file."
|
---|
684 | },
|
---|
685 | "minimal": {
|
---|
686 | "description": "Create a bare-bones project without any testing frameworks. (Use for learning purposes only.)",
|
---|
687 | "type": "boolean",
|
---|
688 | "default": false,
|
---|
689 | "x-user-analytics": 14
|
---|
690 | },
|
---|
691 | "skipInstall": {
|
---|
692 | "description": "Skip installing dependency packages.",
|
---|
693 | "type": "boolean",
|
---|
694 | "default": false
|
---|
695 | },
|
---|
696 | "lintFix": {
|
---|
697 | "type": "boolean",
|
---|
698 | "description": "Apply lint fixes after generating the application.",
|
---|
699 | "x-user-analytics": 15,
|
---|
700 | "x-deprecated": "Use \"ng lint --fix\" directly instead."
|
---|
701 | },
|
---|
702 | "strict": {
|
---|
703 | "description": "Creates an application with stricter bundle budgets settings.",
|
---|
704 | "type": "boolean",
|
---|
705 | "default": true,
|
---|
706 | "x-user-analytics": 7
|
---|
707 | },
|
---|
708 | "legacyBrowsers": {
|
---|
709 | "type": "boolean",
|
---|
710 | "description": "Add support for legacy browsers like Internet Explorer using differential loading.",
|
---|
711 | "default": false,
|
---|
712 | "x-deprecated": "Legacy browsers support is deprecated since version 12. For more information, see https://angular.io/guide/browser-support"
|
---|
713 | }
|
---|
714 | }
|
---|
715 | },
|
---|
716 | "SchematicsAngularClassSchema": {
|
---|
717 | "title": "Angular Class Options Schema",
|
---|
718 | "type": "object",
|
---|
719 | "description": "Creates a new, generic class definition in the given or default project.",
|
---|
720 | "additionalProperties": false,
|
---|
721 | "properties": {
|
---|
722 | "name": {
|
---|
723 | "type": "string",
|
---|
724 | "description": "The name of the new class.",
|
---|
725 | "$default": {
|
---|
726 | "$source": "argv",
|
---|
727 | "index": 0
|
---|
728 | },
|
---|
729 | "x-prompt": "What name would you like to use for the class?"
|
---|
730 | },
|
---|
731 | "path": {
|
---|
732 | "type": "string",
|
---|
733 | "format": "path",
|
---|
734 | "description": "The path at which to create the class, relative to the workspace root.",
|
---|
735 | "visible": false
|
---|
736 | },
|
---|
737 | "project": {
|
---|
738 | "type": "string",
|
---|
739 | "description": "The name of the project.",
|
---|
740 | "$default": {
|
---|
741 | "$source": "projectName"
|
---|
742 | }
|
---|
743 | },
|
---|
744 | "skipTests": {
|
---|
745 | "type": "boolean",
|
---|
746 | "description": "Do not create \"spec.ts\" test files for the new class.",
|
---|
747 | "default": false,
|
---|
748 | "x-user-analytics": 12
|
---|
749 | },
|
---|
750 | "type": {
|
---|
751 | "type": "string",
|
---|
752 | "description": "Adds a developer-defined type to the filename, in the format \"name.type.ts\".",
|
---|
753 | "default": ""
|
---|
754 | },
|
---|
755 | "lintFix": {
|
---|
756 | "type": "boolean",
|
---|
757 | "default": false,
|
---|
758 | "description": "Apply lint fixes after generating the class.",
|
---|
759 | "x-user-analytics": 15,
|
---|
760 | "x-deprecated": "Use \"ng lint --fix\" directly instead."
|
---|
761 | }
|
---|
762 | }
|
---|
763 | },
|
---|
764 | "SchematicsAngularComponentSchema": {
|
---|
765 | "title": "Angular Component Options Schema",
|
---|
766 | "type": "object",
|
---|
767 | "description": "Creates a new, generic component definition in the given or default project.",
|
---|
768 | "additionalProperties": false,
|
---|
769 | "properties": {
|
---|
770 | "path": {
|
---|
771 | "type": "string",
|
---|
772 | "format": "path",
|
---|
773 | "description": "The path at which to create the component file, relative to the current workspace. Default is a folder with the same name as the component in the project root.",
|
---|
774 | "visible": false
|
---|
775 | },
|
---|
776 | "project": {
|
---|
777 | "type": "string",
|
---|
778 | "description": "The name of the project.",
|
---|
779 | "$default": {
|
---|
780 | "$source": "projectName"
|
---|
781 | }
|
---|
782 | },
|
---|
783 | "name": {
|
---|
784 | "type": "string",
|
---|
785 | "description": "The name of the component.",
|
---|
786 | "$default": {
|
---|
787 | "$source": "argv",
|
---|
788 | "index": 0
|
---|
789 | },
|
---|
790 | "x-prompt": "What name would you like to use for the component?"
|
---|
791 | },
|
---|
792 | "displayBlock": {
|
---|
793 | "description": "Specifies if the style will contain `:host { display: block; }`.",
|
---|
794 | "type": "boolean",
|
---|
795 | "default": false,
|
---|
796 | "alias": "b"
|
---|
797 | },
|
---|
798 | "inlineStyle": {
|
---|
799 | "description": "Include styles inline in the component.ts file. Only CSS styles can be included inline. By default, an external styles file is created and referenced in the component.ts file.",
|
---|
800 | "type": "boolean",
|
---|
801 | "default": false,
|
---|
802 | "alias": "s",
|
---|
803 | "x-user-analytics": 9
|
---|
804 | },
|
---|
805 | "inlineTemplate": {
|
---|
806 | "description": "Include template inline in the component.ts file. By default, an external template file is created and referenced in the component.ts file.",
|
---|
807 | "type": "boolean",
|
---|
808 | "default": false,
|
---|
809 | "alias": "t",
|
---|
810 | "x-user-analytics": 10
|
---|
811 | },
|
---|
812 | "viewEncapsulation": {
|
---|
813 | "description": "The view encapsulation strategy to use in the new component.",
|
---|
814 | "enum": [
|
---|
815 | "Emulated",
|
---|
816 | "None",
|
---|
817 | "ShadowDom"
|
---|
818 | ],
|
---|
819 | "type": "string",
|
---|
820 | "alias": "v",
|
---|
821 | "x-user-analytics": 11
|
---|
822 | },
|
---|
823 | "changeDetection": {
|
---|
824 | "description": "The change detection strategy to use in the new component.",
|
---|
825 | "enum": [
|
---|
826 | "Default",
|
---|
827 | "OnPush"
|
---|
828 | ],
|
---|
829 | "type": "string",
|
---|
830 | "default": "Default",
|
---|
831 | "alias": "c"
|
---|
832 | },
|
---|
833 | "prefix": {
|
---|
834 | "type": "string",
|
---|
835 | "description": "The prefix to apply to the generated component selector.",
|
---|
836 | "alias": "p",
|
---|
837 | "oneOf": [
|
---|
838 | {
|
---|
839 | "maxLength": 0
|
---|
840 | },
|
---|
841 | {
|
---|
842 | "minLength": 1,
|
---|
843 | "format": "html-selector"
|
---|
844 | }
|
---|
845 | ]
|
---|
846 | },
|
---|
847 | "style": {
|
---|
848 | "description": "The file extension or preprocessor to use for style files, or 'none' to skip generating the style file.",
|
---|
849 | "type": "string",
|
---|
850 | "default": "css",
|
---|
851 | "enum": [
|
---|
852 | "css",
|
---|
853 | "scss",
|
---|
854 | "sass",
|
---|
855 | "less",
|
---|
856 | "none"
|
---|
857 | ],
|
---|
858 | "x-user-analytics": 5
|
---|
859 | },
|
---|
860 | "type": {
|
---|
861 | "type": "string",
|
---|
862 | "description": "Adds a developer-defined type to the filename, in the format \"name.type.ts\".",
|
---|
863 | "default": "Component"
|
---|
864 | },
|
---|
865 | "skipTests": {
|
---|
866 | "type": "boolean",
|
---|
867 | "description": "Do not create \"spec.ts\" test files for the new component.",
|
---|
868 | "default": false,
|
---|
869 | "x-user-analytics": 12
|
---|
870 | },
|
---|
871 | "flat": {
|
---|
872 | "type": "boolean",
|
---|
873 | "description": "Create the new files at the top level of the current project.",
|
---|
874 | "default": false
|
---|
875 | },
|
---|
876 | "skipImport": {
|
---|
877 | "type": "boolean",
|
---|
878 | "description": "Do not import this component into the owning NgModule.",
|
---|
879 | "default": false,
|
---|
880 | "x-user-analytics": 18
|
---|
881 | },
|
---|
882 | "selector": {
|
---|
883 | "type": "string",
|
---|
884 | "format": "html-selector",
|
---|
885 | "description": "The HTML selector to use for this component."
|
---|
886 | },
|
---|
887 | "skipSelector": {
|
---|
888 | "type": "boolean",
|
---|
889 | "default": false,
|
---|
890 | "description": "Specifies if the component should have a selector or not."
|
---|
891 | },
|
---|
892 | "module": {
|
---|
893 | "type": "string",
|
---|
894 | "description": "The declaring NgModule.",
|
---|
895 | "alias": "m"
|
---|
896 | },
|
---|
897 | "export": {
|
---|
898 | "type": "boolean",
|
---|
899 | "default": false,
|
---|
900 | "description": "The declaring NgModule exports this component.",
|
---|
901 | "x-user-analytics": 19
|
---|
902 | },
|
---|
903 | "lintFix": {
|
---|
904 | "type": "boolean",
|
---|
905 | "description": "Apply lint fixes after generating the component.",
|
---|
906 | "x-user-analytics": 15,
|
---|
907 | "x-deprecated": "Use \"ng lint --fix\" directly instead."
|
---|
908 | }
|
---|
909 | }
|
---|
910 | },
|
---|
911 | "SchematicsAngularDirectiveSchema": {
|
---|
912 | "title": "Angular Directive Options Schema",
|
---|
913 | "type": "object",
|
---|
914 | "description": "Creates a new, generic directive definition in the given or default project.",
|
---|
915 | "additionalProperties": false,
|
---|
916 | "properties": {
|
---|
917 | "name": {
|
---|
918 | "type": "string",
|
---|
919 | "description": "The name of the new directive.",
|
---|
920 | "$default": {
|
---|
921 | "$source": "argv",
|
---|
922 | "index": 0
|
---|
923 | },
|
---|
924 | "x-prompt": "What name would you like to use for the directive?"
|
---|
925 | },
|
---|
926 | "path": {
|
---|
927 | "type": "string",
|
---|
928 | "format": "path",
|
---|
929 | "description": "The path at which to create the interface that defines the directive, relative to the workspace root.",
|
---|
930 | "visible": false
|
---|
931 | },
|
---|
932 | "project": {
|
---|
933 | "type": "string",
|
---|
934 | "description": "The name of the project.",
|
---|
935 | "$default": {
|
---|
936 | "$source": "projectName"
|
---|
937 | }
|
---|
938 | },
|
---|
939 | "prefix": {
|
---|
940 | "type": "string",
|
---|
941 | "description": "A prefix to apply to generated selectors.",
|
---|
942 | "alias": "p",
|
---|
943 | "oneOf": [
|
---|
944 | {
|
---|
945 | "maxLength": 0
|
---|
946 | },
|
---|
947 | {
|
---|
948 | "minLength": 1,
|
---|
949 | "format": "html-selector"
|
---|
950 | }
|
---|
951 | ]
|
---|
952 | },
|
---|
953 | "skipTests": {
|
---|
954 | "type": "boolean",
|
---|
955 | "description": "Do not create \"spec.ts\" test files for the new class.",
|
---|
956 | "default": false,
|
---|
957 | "x-user-analytics": 12
|
---|
958 | },
|
---|
959 | "skipImport": {
|
---|
960 | "type": "boolean",
|
---|
961 | "description": "Do not import this directive into the owning NgModule.",
|
---|
962 | "default": false,
|
---|
963 | "x-user-analytics": 18
|
---|
964 | },
|
---|
965 | "selector": {
|
---|
966 | "type": "string",
|
---|
967 | "format": "html-selector",
|
---|
968 | "description": "The HTML selector to use for this directive."
|
---|
969 | },
|
---|
970 | "flat": {
|
---|
971 | "type": "boolean",
|
---|
972 | "description": "When true (the default), creates the new files at the top level of the current project.",
|
---|
973 | "default": true
|
---|
974 | },
|
---|
975 | "module": {
|
---|
976 | "type": "string",
|
---|
977 | "description": "The declaring NgModule.",
|
---|
978 | "alias": "m"
|
---|
979 | },
|
---|
980 | "export": {
|
---|
981 | "type": "boolean",
|
---|
982 | "default": false,
|
---|
983 | "description": "The declaring NgModule exports this directive.",
|
---|
984 | "x-user-analytics": 19
|
---|
985 | },
|
---|
986 | "lintFix": {
|
---|
987 | "type": "boolean",
|
---|
988 | "description": "Apply lint fixes after generating the directive.",
|
---|
989 | "x-user-analytics": 15,
|
---|
990 | "x-deprecated": "Use \"ng lint --fix\" directly instead."
|
---|
991 | }
|
---|
992 | }
|
---|
993 | },
|
---|
994 | "SchematicsAngularEnumSchema": {
|
---|
995 | "title": "Angular Enum Options Schema",
|
---|
996 | "type": "object",
|
---|
997 | "description": "Generates a new, generic enum definition for the given or default project.",
|
---|
998 | "additionalProperties": false,
|
---|
999 | "properties": {
|
---|
1000 | "name": {
|
---|
1001 | "type": "string",
|
---|
1002 | "description": "The name of the enum.",
|
---|
1003 | "$default": {
|
---|
1004 | "$source": "argv",
|
---|
1005 | "index": 0
|
---|
1006 | },
|
---|
1007 | "x-prompt": "What name would you like to use for the enum?"
|
---|
1008 | },
|
---|
1009 | "path": {
|
---|
1010 | "type": "string",
|
---|
1011 | "format": "path",
|
---|
1012 | "description": "The path at which to create the enum definition, relative to the current workspace.",
|
---|
1013 | "visible": false
|
---|
1014 | },
|
---|
1015 | "project": {
|
---|
1016 | "type": "string",
|
---|
1017 | "description": "The name of the project in which to create the enum. Default is the configured default project for the workspace.",
|
---|
1018 | "$default": {
|
---|
1019 | "$source": "projectName"
|
---|
1020 | }
|
---|
1021 | },
|
---|
1022 | "type": {
|
---|
1023 | "type": "string",
|
---|
1024 | "description": "Adds a developer-defined type to the filename, in the format \"name.type.ts\"."
|
---|
1025 | },
|
---|
1026 | "lintFix": {
|
---|
1027 | "type": "boolean",
|
---|
1028 | "description": "Apply lint fixes after generating the enum.",
|
---|
1029 | "x-user-analytics": 15,
|
---|
1030 | "x-deprecated": "Use \"ng lint --fix\" directly instead."
|
---|
1031 | }
|
---|
1032 | }
|
---|
1033 | },
|
---|
1034 | "SchematicsAngularGuardSchema": {
|
---|
1035 | "title": "Angular Guard Options Schema",
|
---|
1036 | "type": "object",
|
---|
1037 | "description": "Generates a new, generic route guard definition in the given or default project.",
|
---|
1038 | "additionalProperties": false,
|
---|
1039 | "properties": {
|
---|
1040 | "name": {
|
---|
1041 | "type": "string",
|
---|
1042 | "description": "The name of the new route guard.",
|
---|
1043 | "$default": {
|
---|
1044 | "$source": "argv",
|
---|
1045 | "index": 0
|
---|
1046 | },
|
---|
1047 | "x-prompt": "What name would you like to use for the guard?"
|
---|
1048 | },
|
---|
1049 | "skipTests": {
|
---|
1050 | "type": "boolean",
|
---|
1051 | "description": "Do not create \"spec.ts\" test files for the new guard.",
|
---|
1052 | "default": false,
|
---|
1053 | "x-user-analytics": 12
|
---|
1054 | },
|
---|
1055 | "flat": {
|
---|
1056 | "type": "boolean",
|
---|
1057 | "description": "When true (the default), creates the new files at the top level of the current project.",
|
---|
1058 | "default": true
|
---|
1059 | },
|
---|
1060 | "path": {
|
---|
1061 | "type": "string",
|
---|
1062 | "format": "path",
|
---|
1063 | "description": "The path at which to create the interface that defines the guard, relative to the current workspace.",
|
---|
1064 | "visible": false
|
---|
1065 | },
|
---|
1066 | "project": {
|
---|
1067 | "type": "string",
|
---|
1068 | "description": "The name of the project.",
|
---|
1069 | "$default": {
|
---|
1070 | "$source": "projectName"
|
---|
1071 | }
|
---|
1072 | },
|
---|
1073 | "lintFix": {
|
---|
1074 | "type": "boolean",
|
---|
1075 | "description": "Apply lint fixes after generating the guard.",
|
---|
1076 | "x-user-analytics": 15,
|
---|
1077 | "x-deprecated": "Use \"ng lint --fix\" directly instead."
|
---|
1078 | },
|
---|
1079 | "implements": {
|
---|
1080 | "type": "array",
|
---|
1081 | "description": "Specifies which interfaces to implement.",
|
---|
1082 | "uniqueItems": true,
|
---|
1083 | "minItems": 1,
|
---|
1084 | "items": {
|
---|
1085 | "enum": [
|
---|
1086 | "CanActivate",
|
---|
1087 | "CanActivateChild",
|
---|
1088 | "CanDeactivate",
|
---|
1089 | "CanLoad"
|
---|
1090 | ],
|
---|
1091 | "type": "string"
|
---|
1092 | },
|
---|
1093 | "default": [
|
---|
1094 | "CanActivate"
|
---|
1095 | ],
|
---|
1096 | "x-prompt": "Which interfaces would you like to implement?"
|
---|
1097 | }
|
---|
1098 | }
|
---|
1099 | },
|
---|
1100 | "SchematicsAngularInterceptorSchema": {
|
---|
1101 | "title": "Angular Interceptor Options Schema",
|
---|
1102 | "type": "object",
|
---|
1103 | "additionalProperties": false,
|
---|
1104 | "description": "Creates a new, generic interceptor definition in the given or default project.",
|
---|
1105 | "properties": {
|
---|
1106 | "name": {
|
---|
1107 | "type": "string",
|
---|
1108 | "description": "The name of the interceptor.",
|
---|
1109 | "$default": {
|
---|
1110 | "$source": "argv",
|
---|
1111 | "index": 0
|
---|
1112 | },
|
---|
1113 | "x-prompt": "What name would you like to use for the interceptor?"
|
---|
1114 | },
|
---|
1115 | "path": {
|
---|
1116 | "type": "string",
|
---|
1117 | "format": "path",
|
---|
1118 | "description": "The path at which to create the interceptor, relative to the workspace root.",
|
---|
1119 | "visible": false
|
---|
1120 | },
|
---|
1121 | "project": {
|
---|
1122 | "type": "string",
|
---|
1123 | "description": "The name of the project.",
|
---|
1124 | "$default": {
|
---|
1125 | "$source": "projectName"
|
---|
1126 | }
|
---|
1127 | },
|
---|
1128 | "flat": {
|
---|
1129 | "type": "boolean",
|
---|
1130 | "default": true,
|
---|
1131 | "description": "When true (the default), creates files at the top level of the project."
|
---|
1132 | },
|
---|
1133 | "skipTests": {
|
---|
1134 | "type": "boolean",
|
---|
1135 | "description": "Do not create \"spec.ts\" test files for the new interceptor.",
|
---|
1136 | "default": false,
|
---|
1137 | "x-user-analytics": 12
|
---|
1138 | },
|
---|
1139 | "lintFix": {
|
---|
1140 | "type": "boolean",
|
---|
1141 | "description": "Apply lint fixes after generating the interceptor.",
|
---|
1142 | "x-user-analytics": 15,
|
---|
1143 | "x-deprecated": "Use \"ng lint --fix\" directly instead."
|
---|
1144 | }
|
---|
1145 | }
|
---|
1146 | },
|
---|
1147 | "SchematicsAngularInterfaceSchema": {
|
---|
1148 | "title": "Angular Interface Options Schema",
|
---|
1149 | "type": "object",
|
---|
1150 | "additionalProperties": false,
|
---|
1151 | "description": "Creates a new, generic interface definition in the given or default project.",
|
---|
1152 | "properties": {
|
---|
1153 | "name": {
|
---|
1154 | "type": "string",
|
---|
1155 | "description": "The name of the interface.",
|
---|
1156 | "$default": {
|
---|
1157 | "$source": "argv",
|
---|
1158 | "index": 0
|
---|
1159 | },
|
---|
1160 | "x-prompt": "What name would you like to use for the interface?"
|
---|
1161 | },
|
---|
1162 | "path": {
|
---|
1163 | "type": "string",
|
---|
1164 | "format": "path",
|
---|
1165 | "description": "The path at which to create the interface, relative to the workspace root.",
|
---|
1166 | "visible": false
|
---|
1167 | },
|
---|
1168 | "project": {
|
---|
1169 | "type": "string",
|
---|
1170 | "description": "The name of the project.",
|
---|
1171 | "$default": {
|
---|
1172 | "$source": "projectName"
|
---|
1173 | }
|
---|
1174 | },
|
---|
1175 | "prefix": {
|
---|
1176 | "type": "string",
|
---|
1177 | "default": "",
|
---|
1178 | "description": "A prefix to apply to generated selectors."
|
---|
1179 | },
|
---|
1180 | "type": {
|
---|
1181 | "type": "string",
|
---|
1182 | "description": "Adds a developer-defined type to the filename, in the format \"name.type.ts\".",
|
---|
1183 | "$default": {
|
---|
1184 | "$source": "argv",
|
---|
1185 | "index": 1
|
---|
1186 | }
|
---|
1187 | },
|
---|
1188 | "lintFix": {
|
---|
1189 | "type": "boolean",
|
---|
1190 | "description": "Apply lint fixes after generating the interface.",
|
---|
1191 | "x-user-analytics": 15,
|
---|
1192 | "x-deprecated": "Use \"ng lint --fix\" directly instead."
|
---|
1193 | }
|
---|
1194 | }
|
---|
1195 | },
|
---|
1196 | "SchematicsAngularLibrarySchema": {
|
---|
1197 | "title": "Library Options Schema",
|
---|
1198 | "type": "object",
|
---|
1199 | "description": "Creates a new, generic library project in the current workspace.",
|
---|
1200 | "long-description": "./library-long.md",
|
---|
1201 | "additionalProperties": false,
|
---|
1202 | "properties": {
|
---|
1203 | "name": {
|
---|
1204 | "type": "string",
|
---|
1205 | "description": "The name of the library.",
|
---|
1206 | "$default": {
|
---|
1207 | "$source": "argv",
|
---|
1208 | "index": 0
|
---|
1209 | },
|
---|
1210 | "x-prompt": "What name would you like to use for the library?"
|
---|
1211 | },
|
---|
1212 | "entryFile": {
|
---|
1213 | "type": "string",
|
---|
1214 | "format": "path",
|
---|
1215 | "description": "The path at which to create the library's public API file, relative to the workspace root.",
|
---|
1216 | "default": "public-api"
|
---|
1217 | },
|
---|
1218 | "prefix": {
|
---|
1219 | "type": "string",
|
---|
1220 | "format": "html-selector",
|
---|
1221 | "description": "A prefix to apply to generated selectors.",
|
---|
1222 | "default": "lib",
|
---|
1223 | "alias": "p"
|
---|
1224 | },
|
---|
1225 | "skipPackageJson": {
|
---|
1226 | "type": "boolean",
|
---|
1227 | "default": false,
|
---|
1228 | "description": "Do not add dependencies to the \"package.json\" file. "
|
---|
1229 | },
|
---|
1230 | "skipInstall": {
|
---|
1231 | "description": "Do not install dependency packages.",
|
---|
1232 | "type": "boolean",
|
---|
1233 | "default": false
|
---|
1234 | },
|
---|
1235 | "skipTsConfig": {
|
---|
1236 | "type": "boolean",
|
---|
1237 | "default": false,
|
---|
1238 | "description": "Do not update \"tsconfig.json\" to add a path mapping for the new library. The path mapping is needed to use the library in an app, but can be disabled here to simplify development."
|
---|
1239 | },
|
---|
1240 | "lintFix": {
|
---|
1241 | "type": "boolean",
|
---|
1242 | "description": "Apply lint fixes after generating the library.",
|
---|
1243 | "x-user-analytics": 15,
|
---|
1244 | "x-deprecated": "Use \"ng lint --fix\" directly instead."
|
---|
1245 | }
|
---|
1246 | }
|
---|
1247 | },
|
---|
1248 | "SchematicsAngularPipeSchema": {
|
---|
1249 | "title": "Angular Pipe Options Schema",
|
---|
1250 | "type": "object",
|
---|
1251 | "additionalProperties": false,
|
---|
1252 | "description": "Creates a new, generic pipe definition in the given or default project.",
|
---|
1253 | "properties": {
|
---|
1254 | "name": {
|
---|
1255 | "type": "string",
|
---|
1256 | "description": "The name of the pipe.",
|
---|
1257 | "$default": {
|
---|
1258 | "$source": "argv",
|
---|
1259 | "index": 0
|
---|
1260 | },
|
---|
1261 | "x-prompt": "What name would you like to use for the pipe?"
|
---|
1262 | },
|
---|
1263 | "path": {
|
---|
1264 | "type": "string",
|
---|
1265 | "format": "path",
|
---|
1266 | "description": "The path at which to create the pipe, relative to the workspace root.",
|
---|
1267 | "visible": false
|
---|
1268 | },
|
---|
1269 | "project": {
|
---|
1270 | "type": "string",
|
---|
1271 | "description": "The name of the project.",
|
---|
1272 | "$default": {
|
---|
1273 | "$source": "projectName"
|
---|
1274 | }
|
---|
1275 | },
|
---|
1276 | "flat": {
|
---|
1277 | "type": "boolean",
|
---|
1278 | "default": true,
|
---|
1279 | "description": "When true (the default) creates files at the top level of the project."
|
---|
1280 | },
|
---|
1281 | "skipTests": {
|
---|
1282 | "type": "boolean",
|
---|
1283 | "description": "Do not create \"spec.ts\" test files for the new pipe.",
|
---|
1284 | "default": false,
|
---|
1285 | "x-user-analytics": 12
|
---|
1286 | },
|
---|
1287 | "skipImport": {
|
---|
1288 | "type": "boolean",
|
---|
1289 | "default": false,
|
---|
1290 | "description": "Do not import this pipe into the owning NgModule.",
|
---|
1291 | "x-user-analytics": 18
|
---|
1292 | },
|
---|
1293 | "module": {
|
---|
1294 | "type": "string",
|
---|
1295 | "description": "The declaring NgModule.",
|
---|
1296 | "alias": "m"
|
---|
1297 | },
|
---|
1298 | "export": {
|
---|
1299 | "type": "boolean",
|
---|
1300 | "default": false,
|
---|
1301 | "description": "The declaring NgModule exports this pipe.",
|
---|
1302 | "x-user-analytics": 19
|
---|
1303 | },
|
---|
1304 | "lintFix": {
|
---|
1305 | "type": "boolean",
|
---|
1306 | "default": false,
|
---|
1307 | "description": "Apply lint fixes after generating the pipe.",
|
---|
1308 | "x-user-analytics": 15,
|
---|
1309 | "x-deprecated": "Use \"ng lint --fix\" directly instead."
|
---|
1310 | }
|
---|
1311 | }
|
---|
1312 | },
|
---|
1313 | "SchematicsAngularNgNewSchema": {
|
---|
1314 | "title": "Angular Ng New Options Schema",
|
---|
1315 | "type": "object",
|
---|
1316 | "description": "Creates a new project by combining the workspace and application schematics.",
|
---|
1317 | "additionalProperties": false,
|
---|
1318 | "properties": {
|
---|
1319 | "directory": {
|
---|
1320 | "type": "string",
|
---|
1321 | "description": "The directory name to create the workspace in."
|
---|
1322 | },
|
---|
1323 | "name": {
|
---|
1324 | "description": "The name of the new workspace and initial project.",
|
---|
1325 | "type": "string",
|
---|
1326 | "format": "html-selector",
|
---|
1327 | "$default": {
|
---|
1328 | "$source": "argv",
|
---|
1329 | "index": 0
|
---|
1330 | },
|
---|
1331 | "x-prompt": "What name would you like to use for the new workspace and initial project?"
|
---|
1332 | },
|
---|
1333 | "skipInstall": {
|
---|
1334 | "description": "Do not install dependency packages.",
|
---|
1335 | "type": "boolean",
|
---|
1336 | "default": false
|
---|
1337 | },
|
---|
1338 | "linkCli": {
|
---|
1339 | "description": "Link the CLI to the global version (internal development only).",
|
---|
1340 | "type": "boolean",
|
---|
1341 | "default": false,
|
---|
1342 | "visible": false
|
---|
1343 | },
|
---|
1344 | "skipGit": {
|
---|
1345 | "description": "Do not initialize a git repository.",
|
---|
1346 | "type": "boolean",
|
---|
1347 | "default": false,
|
---|
1348 | "alias": "g"
|
---|
1349 | },
|
---|
1350 | "commit": {
|
---|
1351 | "description": "Initial git repository commit information.",
|
---|
1352 | "oneOf": [
|
---|
1353 | {
|
---|
1354 | "type": "boolean"
|
---|
1355 | },
|
---|
1356 | {
|
---|
1357 | "type": "object",
|
---|
1358 | "properties": {
|
---|
1359 | "name": {
|
---|
1360 | "type": "string"
|
---|
1361 | },
|
---|
1362 | "email": {
|
---|
1363 | "type": "string",
|
---|
1364 | "format": "email"
|
---|
1365 | },
|
---|
1366 | "message": {
|
---|
1367 | "type": "string"
|
---|
1368 | }
|
---|
1369 | }
|
---|
1370 | }
|
---|
1371 | ],
|
---|
1372 | "default": true
|
---|
1373 | },
|
---|
1374 | "newProjectRoot": {
|
---|
1375 | "description": "The path where new projects will be created, relative to the new workspace root.",
|
---|
1376 | "type": "string",
|
---|
1377 | "default": "projects"
|
---|
1378 | },
|
---|
1379 | "inlineStyle": {
|
---|
1380 | "description": "Include styles inline in the component TS file. By default, an external styles file is created and referenced in the component TypeScript file.",
|
---|
1381 | "type": "boolean",
|
---|
1382 | "alias": "s",
|
---|
1383 | "x-user-analytics": 9
|
---|
1384 | },
|
---|
1385 | "inlineTemplate": {
|
---|
1386 | "description": "Include template inline in the component TS file. By default, an external template file is created and referenced in the component TypeScript file.",
|
---|
1387 | "type": "boolean",
|
---|
1388 | "alias": "t",
|
---|
1389 | "x-user-analytics": 10
|
---|
1390 | },
|
---|
1391 | "viewEncapsulation": {
|
---|
1392 | "description": "The view encapsulation strategy to use in the initial project.",
|
---|
1393 | "enum": [
|
---|
1394 | "Emulated",
|
---|
1395 | "None",
|
---|
1396 | "ShadowDom"
|
---|
1397 | ],
|
---|
1398 | "type": "string",
|
---|
1399 | "x-user-analytics": 11
|
---|
1400 | },
|
---|
1401 | "version": {
|
---|
1402 | "type": "string",
|
---|
1403 | "description": "The version of the Angular CLI to use.",
|
---|
1404 | "visible": false,
|
---|
1405 | "$default": {
|
---|
1406 | "$source": "ng-cli-version"
|
---|
1407 | }
|
---|
1408 | },
|
---|
1409 | "routing": {
|
---|
1410 | "type": "boolean",
|
---|
1411 | "description": "Generate a routing module for the initial project.",
|
---|
1412 | "x-user-analytics": 17
|
---|
1413 | },
|
---|
1414 | "prefix": {
|
---|
1415 | "type": "string",
|
---|
1416 | "format": "html-selector",
|
---|
1417 | "description": "The prefix to apply to generated selectors for the initial project.",
|
---|
1418 | "minLength": 1,
|
---|
1419 | "default": "app",
|
---|
1420 | "alias": "p"
|
---|
1421 | },
|
---|
1422 | "style": {
|
---|
1423 | "description": "The file extension or preprocessor to use for style files.",
|
---|
1424 | "type": "string",
|
---|
1425 | "enum": [
|
---|
1426 | "css",
|
---|
1427 | "scss",
|
---|
1428 | "sass",
|
---|
1429 | "less"
|
---|
1430 | ],
|
---|
1431 | "x-user-analytics": 5
|
---|
1432 | },
|
---|
1433 | "skipTests": {
|
---|
1434 | "description": "Do not generate \"spec.ts\" test files for the new project.",
|
---|
1435 | "type": "boolean",
|
---|
1436 | "default": false,
|
---|
1437 | "alias": "S",
|
---|
1438 | "x-user-analytics": 12
|
---|
1439 | },
|
---|
1440 | "createApplication": {
|
---|
1441 | "description": "Create a new initial application project in the 'src' folder of the new workspace. When false, creates an empty workspace with no initial application. You can then use the generate application command so that all applications are created in the projects folder.",
|
---|
1442 | "type": "boolean",
|
---|
1443 | "default": true
|
---|
1444 | },
|
---|
1445 | "minimal": {
|
---|
1446 | "description": "Create a workspace without any testing frameworks. (Use for learning purposes only.)",
|
---|
1447 | "type": "boolean",
|
---|
1448 | "default": false,
|
---|
1449 | "x-user-analytics": 14
|
---|
1450 | },
|
---|
1451 | "strict": {
|
---|
1452 | "description": "Creates a workspace with stricter type checking and stricter bundle budgets settings. This setting helps improve maintainability and catch bugs ahead of time. For more information, see https://angular.io/guide/strict-mode",
|
---|
1453 | "type": "boolean",
|
---|
1454 | "default": true,
|
---|
1455 | "x-user-analytics": 7
|
---|
1456 | },
|
---|
1457 | "legacyBrowsers": {
|
---|
1458 | "type": "boolean",
|
---|
1459 | "description": "Add support for legacy browsers like Internet Explorer using differential loading.",
|
---|
1460 | "default": false,
|
---|
1461 | "x-deprecated": "Legacy browsers support is deprecated since version 12. For more information, see https://angular.io/guide/browser-support"
|
---|
1462 | },
|
---|
1463 | "packageManager": {
|
---|
1464 | "description": "The package manager used to install dependencies.",
|
---|
1465 | "type": "string",
|
---|
1466 | "enum": [
|
---|
1467 | "npm",
|
---|
1468 | "yarn",
|
---|
1469 | "pnpm",
|
---|
1470 | "cnpm"
|
---|
1471 | ]
|
---|
1472 | }
|
---|
1473 | }
|
---|
1474 | },
|
---|
1475 | "SchematicsAngularResolverSchema": {
|
---|
1476 | "title": "Angular resolver Options Schema",
|
---|
1477 | "type": "object",
|
---|
1478 | "additionalProperties": false,
|
---|
1479 | "description": "Generates a new, generic resolver definition in the given or default project.",
|
---|
1480 | "properties": {
|
---|
1481 | "name": {
|
---|
1482 | "type": "string",
|
---|
1483 | "description": "The name of the new resolver.",
|
---|
1484 | "$default": {
|
---|
1485 | "$source": "argv",
|
---|
1486 | "index": 0
|
---|
1487 | },
|
---|
1488 | "x-prompt": "What name would you like to use for the resolver?"
|
---|
1489 | },
|
---|
1490 | "skipTests": {
|
---|
1491 | "type": "boolean",
|
---|
1492 | "description": "Do not create \"spec.ts\" test files for the new resolver.",
|
---|
1493 | "default": false,
|
---|
1494 | "x-user-analytics": 12
|
---|
1495 | },
|
---|
1496 | "flat": {
|
---|
1497 | "type": "boolean",
|
---|
1498 | "description": "When true (the default), creates the new files at the top level of the current project.",
|
---|
1499 | "default": true
|
---|
1500 | },
|
---|
1501 | "path": {
|
---|
1502 | "type": "string",
|
---|
1503 | "format": "path",
|
---|
1504 | "description": "The path at which to create the interface that defines the resolver, relative to the current workspace.",
|
---|
1505 | "visible": false
|
---|
1506 | },
|
---|
1507 | "project": {
|
---|
1508 | "type": "string",
|
---|
1509 | "description": "The name of the project.",
|
---|
1510 | "$default": {
|
---|
1511 | "$source": "projectName"
|
---|
1512 | }
|
---|
1513 | }
|
---|
1514 | }
|
---|
1515 | },
|
---|
1516 | "SchematicsAngularServiceSchema": {
|
---|
1517 | "title": "Angular Service Options Schema",
|
---|
1518 | "type": "object",
|
---|
1519 | "additionalProperties": false,
|
---|
1520 | "description": "Creates a new, generic service definition in the given or default project.",
|
---|
1521 | "properties": {
|
---|
1522 | "name": {
|
---|
1523 | "type": "string",
|
---|
1524 | "description": "The name of the service.",
|
---|
1525 | "$default": {
|
---|
1526 | "$source": "argv",
|
---|
1527 | "index": 0
|
---|
1528 | },
|
---|
1529 | "x-prompt": "What name would you like to use for the service?"
|
---|
1530 | },
|
---|
1531 | "path": {
|
---|
1532 | "type": "string",
|
---|
1533 | "format": "path",
|
---|
1534 | "description": "The path at which to create the service, relative to the workspace root.",
|
---|
1535 | "visible": false
|
---|
1536 | },
|
---|
1537 | "project": {
|
---|
1538 | "type": "string",
|
---|
1539 | "description": "The name of the project.",
|
---|
1540 | "$default": {
|
---|
1541 | "$source": "projectName"
|
---|
1542 | }
|
---|
1543 | },
|
---|
1544 | "flat": {
|
---|
1545 | "type": "boolean",
|
---|
1546 | "default": true,
|
---|
1547 | "description": "When true (the default), creates files at the top level of the project."
|
---|
1548 | },
|
---|
1549 | "skipTests": {
|
---|
1550 | "type": "boolean",
|
---|
1551 | "description": "Do not create \"spec.ts\" test files for the new service.",
|
---|
1552 | "default": false,
|
---|
1553 | "x-user-analytics": 12
|
---|
1554 | },
|
---|
1555 | "lintFix": {
|
---|
1556 | "type": "boolean",
|
---|
1557 | "description": "Apply lint fixes after generating the service.",
|
---|
1558 | "x-user-analytics": 15,
|
---|
1559 | "x-deprecated": "Use \"ng lint --fix\" directly instead."
|
---|
1560 | }
|
---|
1561 | }
|
---|
1562 | },
|
---|
1563 | "SchematicsAngularWebWorkerSchema": {
|
---|
1564 | "title": "Angular Web Worker Options Schema",
|
---|
1565 | "type": "object",
|
---|
1566 | "additionalProperties": false,
|
---|
1567 | "description": "Creates a new, generic web worker definition in the given or default project.",
|
---|
1568 | "properties": {
|
---|
1569 | "path": {
|
---|
1570 | "type": "string",
|
---|
1571 | "format": "path",
|
---|
1572 | "description": "The path at which to create the worker file, relative to the current workspace.",
|
---|
1573 | "visible": false
|
---|
1574 | },
|
---|
1575 | "project": {
|
---|
1576 | "type": "string",
|
---|
1577 | "description": "The name of the project.",
|
---|
1578 | "$default": {
|
---|
1579 | "$source": "projectName"
|
---|
1580 | }
|
---|
1581 | },
|
---|
1582 | "target": {
|
---|
1583 | "type": "string",
|
---|
1584 | "description": "The target to apply web worker to.",
|
---|
1585 | "default": "build",
|
---|
1586 | "x-deprecated": "No longer has an effect."
|
---|
1587 | },
|
---|
1588 | "name": {
|
---|
1589 | "type": "string",
|
---|
1590 | "description": "The name of the worker.",
|
---|
1591 | "$default": {
|
---|
1592 | "$source": "argv",
|
---|
1593 | "index": 0
|
---|
1594 | },
|
---|
1595 | "x-prompt": "What name would you like to use for the worker?"
|
---|
1596 | },
|
---|
1597 | "snippet": {
|
---|
1598 | "type": "boolean",
|
---|
1599 | "default": true,
|
---|
1600 | "description": "Add a worker creation snippet in a sibling file of the same name."
|
---|
1601 | }
|
---|
1602 | }
|
---|
1603 | },
|
---|
1604 | "AngularDevkitBuildAngularAppShellSchema": {
|
---|
1605 | "title": "App Shell Target",
|
---|
1606 | "description": "App Shell target options for Build Facade.",
|
---|
1607 | "type": "object",
|
---|
1608 | "properties": {
|
---|
1609 | "browserTarget": {
|
---|
1610 | "type": "string",
|
---|
1611 | "description": "A browser builder target use for rendering the app shell in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.",
|
---|
1612 | "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$"
|
---|
1613 | },
|
---|
1614 | "serverTarget": {
|
---|
1615 | "type": "string",
|
---|
1616 | "description": "A server builder target use for rendering the app shell in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.",
|
---|
1617 | "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$"
|
---|
1618 | },
|
---|
1619 | "appModuleBundle": {
|
---|
1620 | "type": "string",
|
---|
1621 | "description": "Script that exports the Server AppModule to render. This should be the main JavaScript outputted by the server target. By default we will resolve the outputPath of the serverTarget and find a bundle named 'main' in it (whether or not there's a hash tag)."
|
---|
1622 | },
|
---|
1623 | "route": {
|
---|
1624 | "type": "string",
|
---|
1625 | "description": "The route to render.",
|
---|
1626 | "default": "/"
|
---|
1627 | },
|
---|
1628 | "inputIndexPath": {
|
---|
1629 | "type": "string",
|
---|
1630 | "description": "The input path for the index.html file. By default uses the output index.html of the browser target."
|
---|
1631 | },
|
---|
1632 | "outputIndexPath": {
|
---|
1633 | "type": "string",
|
---|
1634 | "description": "The output path of the index.html file. By default will overwrite the input file."
|
---|
1635 | }
|
---|
1636 | },
|
---|
1637 | "additionalProperties": false
|
---|
1638 | },
|
---|
1639 | "AngularDevkitBuildAngularBrowserSchema": {
|
---|
1640 | "title": "Webpack browser schema for Build Facade.",
|
---|
1641 | "description": "Browser target options",
|
---|
1642 | "type": "object",
|
---|
1643 | "properties": {
|
---|
1644 | "assets": {
|
---|
1645 | "type": "array",
|
---|
1646 | "description": "List of static application assets.",
|
---|
1647 | "default": [],
|
---|
1648 | "items": {
|
---|
1649 | "$ref": "#/definitions/AngularDevkitBuildAngularBrowserSchema/definitions/assetPattern"
|
---|
1650 | }
|
---|
1651 | },
|
---|
1652 | "main": {
|
---|
1653 | "type": "string",
|
---|
1654 | "description": "The full path for the main entry point to the app, relative to the current workspace."
|
---|
1655 | },
|
---|
1656 | "polyfills": {
|
---|
1657 | "type": "string",
|
---|
1658 | "description": "The full path for the polyfills file, relative to the current workspace."
|
---|
1659 | },
|
---|
1660 | "tsConfig": {
|
---|
1661 | "type": "string",
|
---|
1662 | "description": "The full path for the TypeScript configuration file, relative to the current workspace."
|
---|
1663 | },
|
---|
1664 | "scripts": {
|
---|
1665 | "description": "Global scripts to be included in the build.",
|
---|
1666 | "type": "array",
|
---|
1667 | "default": [],
|
---|
1668 | "items": {
|
---|
1669 | "$ref": "#/definitions/AngularDevkitBuildAngularBrowserSchema/definitions/extraEntryPoint"
|
---|
1670 | }
|
---|
1671 | },
|
---|
1672 | "styles": {
|
---|
1673 | "description": "Global styles to be included in the build.",
|
---|
1674 | "type": "array",
|
---|
1675 | "default": [],
|
---|
1676 | "items": {
|
---|
1677 | "$ref": "#/definitions/AngularDevkitBuildAngularBrowserSchema/definitions/extraEntryPoint"
|
---|
1678 | }
|
---|
1679 | },
|
---|
1680 | "inlineStyleLanguage": {
|
---|
1681 | "description": "The stylesheet language to use for the application's inline component styles.",
|
---|
1682 | "type": "string",
|
---|
1683 | "default": "css",
|
---|
1684 | "enum": [
|
---|
1685 | "css",
|
---|
1686 | "less",
|
---|
1687 | "sass",
|
---|
1688 | "scss"
|
---|
1689 | ]
|
---|
1690 | },
|
---|
1691 | "stylePreprocessorOptions": {
|
---|
1692 | "description": "Options to pass to style preprocessors.",
|
---|
1693 | "type": "object",
|
---|
1694 | "properties": {
|
---|
1695 | "includePaths": {
|
---|
1696 | "description": "Paths to include. Paths will be resolved to workspace root.",
|
---|
1697 | "type": "array",
|
---|
1698 | "items": {
|
---|
1699 | "type": "string"
|
---|
1700 | },
|
---|
1701 | "default": []
|
---|
1702 | }
|
---|
1703 | },
|
---|
1704 | "additionalProperties": false
|
---|
1705 | },
|
---|
1706 | "optimization": {
|
---|
1707 | "description": "Enables optimization of the build output. Including minification of scripts and styles, tree-shaking, dead-code elimination, inlining of critical CSS and fonts inlining. For more information, see https://angular.io/guide/workspace-config#optimization-configuration.",
|
---|
1708 | "x-user-analytics": 16,
|
---|
1709 | "default": true,
|
---|
1710 | "oneOf": [
|
---|
1711 | {
|
---|
1712 | "type": "object",
|
---|
1713 | "properties": {
|
---|
1714 | "scripts": {
|
---|
1715 | "type": "boolean",
|
---|
1716 | "description": "Enables optimization of the scripts output.",
|
---|
1717 | "default": true
|
---|
1718 | },
|
---|
1719 | "styles": {
|
---|
1720 | "description": "Enables optimization of the styles output.",
|
---|
1721 | "default": true,
|
---|
1722 | "oneOf": [
|
---|
1723 | {
|
---|
1724 | "type": "object",
|
---|
1725 | "properties": {
|
---|
1726 | "minify": {
|
---|
1727 | "type": "boolean",
|
---|
1728 | "description": "Minify CSS definitions by removing extraneous whitespace and comments, merging identifiers and minimizing values.",
|
---|
1729 | "default": true
|
---|
1730 | },
|
---|
1731 | "inlineCritical": {
|
---|
1732 | "type": "boolean",
|
---|
1733 | "description": "Extract and inline critical CSS definitions to improve first paint time.",
|
---|
1734 | "default": true
|
---|
1735 | }
|
---|
1736 | },
|
---|
1737 | "additionalProperties": false
|
---|
1738 | },
|
---|
1739 | {
|
---|
1740 | "type": "boolean"
|
---|
1741 | }
|
---|
1742 | ]
|
---|
1743 | },
|
---|
1744 | "fonts": {
|
---|
1745 | "description": "Enables optimization for fonts. This option requires internet access. `HTTPS_PROXY` environment variable can be used to specify a proxy server.",
|
---|
1746 | "default": true,
|
---|
1747 | "oneOf": [
|
---|
1748 | {
|
---|
1749 | "type": "object",
|
---|
1750 | "properties": {
|
---|
1751 | "inline": {
|
---|
1752 | "type": "boolean",
|
---|
1753 | "description": "Reduce render blocking requests by inlining external Google Fonts and Adobe Fonts CSS definitions in the application's HTML index file. This option requires internet access. `HTTPS_PROXY` environment variable can be used to specify a proxy server.",
|
---|
1754 | "default": true
|
---|
1755 | }
|
---|
1756 | },
|
---|
1757 | "additionalProperties": false
|
---|
1758 | },
|
---|
1759 | {
|
---|
1760 | "type": "boolean"
|
---|
1761 | }
|
---|
1762 | ]
|
---|
1763 | }
|
---|
1764 | },
|
---|
1765 | "additionalProperties": false
|
---|
1766 | },
|
---|
1767 | {
|
---|
1768 | "type": "boolean"
|
---|
1769 | }
|
---|
1770 | ]
|
---|
1771 | },
|
---|
1772 | "fileReplacements": {
|
---|
1773 | "description": "Replace compilation source files with other compilation source files in the build.",
|
---|
1774 | "type": "array",
|
---|
1775 | "items": {
|
---|
1776 | "$ref": "#/definitions/AngularDevkitBuildAngularBrowserSchema/definitions/fileReplacement"
|
---|
1777 | },
|
---|
1778 | "default": []
|
---|
1779 | },
|
---|
1780 | "outputPath": {
|
---|
1781 | "type": "string",
|
---|
1782 | "description": "The full path for the new output directory, relative to the current workspace.\n\nBy default, writes output to a folder named dist/ in the current project."
|
---|
1783 | },
|
---|
1784 | "resourcesOutputPath": {
|
---|
1785 | "type": "string",
|
---|
1786 | "description": "The path where style resources will be placed, relative to outputPath.",
|
---|
1787 | "default": ""
|
---|
1788 | },
|
---|
1789 | "aot": {
|
---|
1790 | "type": "boolean",
|
---|
1791 | "description": "Build using Ahead of Time compilation.",
|
---|
1792 | "x-user-analytics": 13,
|
---|
1793 | "default": true
|
---|
1794 | },
|
---|
1795 | "sourceMap": {
|
---|
1796 | "description": "Output source maps for scripts and styles. For more information, see https://angular.io/guide/workspace-config#source-map-configuration.",
|
---|
1797 | "default": false,
|
---|
1798 | "oneOf": [
|
---|
1799 | {
|
---|
1800 | "type": "object",
|
---|
1801 | "properties": {
|
---|
1802 | "scripts": {
|
---|
1803 | "type": "boolean",
|
---|
1804 | "description": "Output source maps for all scripts.",
|
---|
1805 | "default": true
|
---|
1806 | },
|
---|
1807 | "styles": {
|
---|
1808 | "type": "boolean",
|
---|
1809 | "description": "Output source maps for all styles.",
|
---|
1810 | "default": true
|
---|
1811 | },
|
---|
1812 | "hidden": {
|
---|
1813 | "type": "boolean",
|
---|
1814 | "description": "Output source maps used for error reporting tools.",
|
---|
1815 | "default": false
|
---|
1816 | },
|
---|
1817 | "vendor": {
|
---|
1818 | "type": "boolean",
|
---|
1819 | "description": "Resolve vendor packages source maps.",
|
---|
1820 | "default": false
|
---|
1821 | }
|
---|
1822 | },
|
---|
1823 | "additionalProperties": false
|
---|
1824 | },
|
---|
1825 | {
|
---|
1826 | "type": "boolean"
|
---|
1827 | }
|
---|
1828 | ]
|
---|
1829 | },
|
---|
1830 | "vendorChunk": {
|
---|
1831 | "type": "boolean",
|
---|
1832 | "description": "Generate a seperate bundle containing only vendor libraries. This option should only used for development.",
|
---|
1833 | "default": false
|
---|
1834 | },
|
---|
1835 | "commonChunk": {
|
---|
1836 | "type": "boolean",
|
---|
1837 | "description": "Generate a seperate bundle containing code used across multiple bundles.",
|
---|
1838 | "default": true
|
---|
1839 | },
|
---|
1840 | "baseHref": {
|
---|
1841 | "type": "string",
|
---|
1842 | "description": "Base url for the application being built."
|
---|
1843 | },
|
---|
1844 | "deployUrl": {
|
---|
1845 | "type": "string",
|
---|
1846 | "description": "URL where files will be deployed."
|
---|
1847 | },
|
---|
1848 | "verbose": {
|
---|
1849 | "type": "boolean",
|
---|
1850 | "description": "Adds more details to output logging.",
|
---|
1851 | "default": false
|
---|
1852 | },
|
---|
1853 | "progress": {
|
---|
1854 | "type": "boolean",
|
---|
1855 | "description": "Log progress to the console while building.",
|
---|
1856 | "default": true
|
---|
1857 | },
|
---|
1858 | "i18nMissingTranslation": {
|
---|
1859 | "type": "string",
|
---|
1860 | "description": "How to handle missing translations for i18n.",
|
---|
1861 | "enum": [
|
---|
1862 | "warning",
|
---|
1863 | "error",
|
---|
1864 | "ignore"
|
---|
1865 | ],
|
---|
1866 | "default": "warning"
|
---|
1867 | },
|
---|
1868 | "localize": {
|
---|
1869 | "description": "Translate the bundles in one or more locales.",
|
---|
1870 | "oneOf": [
|
---|
1871 | {
|
---|
1872 | "type": "boolean",
|
---|
1873 | "description": "Translate all locales."
|
---|
1874 | },
|
---|
1875 | {
|
---|
1876 | "type": "array",
|
---|
1877 | "description": "List of locales ID's to translate.",
|
---|
1878 | "minItems": 1,
|
---|
1879 | "items": {
|
---|
1880 | "type": "string",
|
---|
1881 | "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-[a-zA-Z]{5,8})?(-x(-[a-zA-Z0-9]{1,8})+)?$"
|
---|
1882 | }
|
---|
1883 | }
|
---|
1884 | ]
|
---|
1885 | },
|
---|
1886 | "extractCss": {
|
---|
1887 | "type": "boolean",
|
---|
1888 | "description": "Extract CSS from global styles into '.css' files instead of '.js'.",
|
---|
1889 | "default": true,
|
---|
1890 | "x-deprecated": "Deprecated since version 11.0. No longer required to disable CSS extraction for HMR."
|
---|
1891 | },
|
---|
1892 | "watch": {
|
---|
1893 | "type": "boolean",
|
---|
1894 | "description": "Run build when files change.",
|
---|
1895 | "default": false
|
---|
1896 | },
|
---|
1897 | "outputHashing": {
|
---|
1898 | "type": "string",
|
---|
1899 | "description": "Define the output filename cache-busting hashing mode.",
|
---|
1900 | "default": "none",
|
---|
1901 | "enum": [
|
---|
1902 | "none",
|
---|
1903 | "all",
|
---|
1904 | "media",
|
---|
1905 | "bundles"
|
---|
1906 | ]
|
---|
1907 | },
|
---|
1908 | "poll": {
|
---|
1909 | "type": "number",
|
---|
1910 | "description": "Enable and define the file watching poll time period in milliseconds."
|
---|
1911 | },
|
---|
1912 | "deleteOutputPath": {
|
---|
1913 | "type": "boolean",
|
---|
1914 | "description": "Delete the output path before building.",
|
---|
1915 | "default": true
|
---|
1916 | },
|
---|
1917 | "preserveSymlinks": {
|
---|
1918 | "type": "boolean",
|
---|
1919 | "description": "Do not use the real path when resolving modules. If unset then will default to `true` if NodeJS option --preserve-symlinks is set."
|
---|
1920 | },
|
---|
1921 | "extractLicenses": {
|
---|
1922 | "type": "boolean",
|
---|
1923 | "description": "Extract all licenses in a separate file.",
|
---|
1924 | "default": true
|
---|
1925 | },
|
---|
1926 | "showCircularDependencies": {
|
---|
1927 | "type": "boolean",
|
---|
1928 | "description": "Show circular dependency warnings on builds.",
|
---|
1929 | "default": false,
|
---|
1930 | "x-deprecated": "The recommended method to detect circular dependencies in project code is to use either a lint rule or other external tooling."
|
---|
1931 | },
|
---|
1932 | "buildOptimizer": {
|
---|
1933 | "type": "boolean",
|
---|
1934 | "description": "Enables '@angular-devkit/build-optimizer' optimizations when using the 'aot' option.",
|
---|
1935 | "default": true
|
---|
1936 | },
|
---|
1937 | "namedChunks": {
|
---|
1938 | "type": "boolean",
|
---|
1939 | "description": "Use file name for lazy loaded chunks.",
|
---|
1940 | "default": false
|
---|
1941 | },
|
---|
1942 | "subresourceIntegrity": {
|
---|
1943 | "type": "boolean",
|
---|
1944 | "description": "Enables the use of subresource integrity validation.",
|
---|
1945 | "default": false
|
---|
1946 | },
|
---|
1947 | "serviceWorker": {
|
---|
1948 | "type": "boolean",
|
---|
1949 | "description": "Generates a service worker config for production builds.",
|
---|
1950 | "default": false
|
---|
1951 | },
|
---|
1952 | "ngswConfigPath": {
|
---|
1953 | "type": "string",
|
---|
1954 | "description": "Path to ngsw-config.json."
|
---|
1955 | },
|
---|
1956 | "index": {
|
---|
1957 | "description": "Configures the generation of the application's HTML index.",
|
---|
1958 | "oneOf": [
|
---|
1959 | {
|
---|
1960 | "type": "string",
|
---|
1961 | "description": "The path of a file to use for the application's HTML index. The filename of the specified path will be used for the generated file and will be created in the root of the application's configured output path."
|
---|
1962 | },
|
---|
1963 | {
|
---|
1964 | "type": "object",
|
---|
1965 | "description": "",
|
---|
1966 | "properties": {
|
---|
1967 | "input": {
|
---|
1968 | "type": "string",
|
---|
1969 | "minLength": 1,
|
---|
1970 | "description": "The path of a file to use for the application's generated HTML index."
|
---|
1971 | },
|
---|
1972 | "output": {
|
---|
1973 | "type": "string",
|
---|
1974 | "minLength": 1,
|
---|
1975 | "default": "index.html",
|
---|
1976 | "description": "The output path of the application's generated HTML index file. The full provided path will be used and will be considered relative to the application's configured output path."
|
---|
1977 | }
|
---|
1978 | }
|
---|
1979 | }
|
---|
1980 | ]
|
---|
1981 | },
|
---|
1982 | "statsJson": {
|
---|
1983 | "type": "boolean",
|
---|
1984 | "description": "Generates a 'stats.json' file which can be analyzed using tools such as 'webpack-bundle-analyzer'.",
|
---|
1985 | "default": false
|
---|
1986 | },
|
---|
1987 | "budgets": {
|
---|
1988 | "description": "Budget thresholds to ensure parts of your application stay within boundaries which you set.",
|
---|
1989 | "type": "array",
|
---|
1990 | "items": {
|
---|
1991 | "$ref": "#/definitions/AngularDevkitBuildAngularBrowserSchema/definitions/budget"
|
---|
1992 | },
|
---|
1993 | "default": []
|
---|
1994 | },
|
---|
1995 | "webWorkerTsConfig": {
|
---|
1996 | "type": "string",
|
---|
1997 | "description": "TypeScript configuration for Web Worker modules."
|
---|
1998 | },
|
---|
1999 | "crossOrigin": {
|
---|
2000 | "type": "string",
|
---|
2001 | "description": "Define the crossorigin attribute setting of elements that provide CORS support.",
|
---|
2002 | "default": "none",
|
---|
2003 | "enum": [
|
---|
2004 | "none",
|
---|
2005 | "anonymous",
|
---|
2006 | "use-credentials"
|
---|
2007 | ]
|
---|
2008 | },
|
---|
2009 | "allowedCommonJsDependencies": {
|
---|
2010 | "description": "A list of CommonJS packages that are allowed to be used without a build time warning.",
|
---|
2011 | "type": "array",
|
---|
2012 | "items": {
|
---|
2013 | "type": "string"
|
---|
2014 | },
|
---|
2015 | "default": []
|
---|
2016 | }
|
---|
2017 | },
|
---|
2018 | "additionalProperties": false,
|
---|
2019 | "definitions": {
|
---|
2020 | "assetPattern": {
|
---|
2021 | "oneOf": [
|
---|
2022 | {
|
---|
2023 | "type": "object",
|
---|
2024 | "properties": {
|
---|
2025 | "followSymlinks": {
|
---|
2026 | "type": "boolean",
|
---|
2027 | "default": false,
|
---|
2028 | "description": "Allow glob patterns to follow symlink directories. This allows subdirectories of the symlink to be searched."
|
---|
2029 | },
|
---|
2030 | "glob": {
|
---|
2031 | "type": "string",
|
---|
2032 | "description": "The pattern to match."
|
---|
2033 | },
|
---|
2034 | "input": {
|
---|
2035 | "type": "string",
|
---|
2036 | "description": "The input directory path in which to apply 'glob'. Defaults to the project root."
|
---|
2037 | },
|
---|
2038 | "ignore": {
|
---|
2039 | "description": "An array of globs to ignore.",
|
---|
2040 | "type": "array",
|
---|
2041 | "items": {
|
---|
2042 | "type": "string"
|
---|
2043 | }
|
---|
2044 | },
|
---|
2045 | "output": {
|
---|
2046 | "type": "string",
|
---|
2047 | "description": "Absolute path within the output."
|
---|
2048 | }
|
---|
2049 | },
|
---|
2050 | "additionalProperties": false
|
---|
2051 | },
|
---|
2052 | {
|
---|
2053 | "type": "string"
|
---|
2054 | }
|
---|
2055 | ]
|
---|
2056 | },
|
---|
2057 | "fileReplacement": {
|
---|
2058 | "oneOf": [
|
---|
2059 | {
|
---|
2060 | "type": "object",
|
---|
2061 | "properties": {
|
---|
2062 | "src": {
|
---|
2063 | "type": "string",
|
---|
2064 | "pattern": "\\.(([cm]?j|t)sx?|json)$"
|
---|
2065 | },
|
---|
2066 | "replaceWith": {
|
---|
2067 | "type": "string",
|
---|
2068 | "pattern": "\\.(([cm]?j|t)sx?|json)$"
|
---|
2069 | }
|
---|
2070 | },
|
---|
2071 | "additionalProperties": false
|
---|
2072 | },
|
---|
2073 | {
|
---|
2074 | "type": "object",
|
---|
2075 | "properties": {
|
---|
2076 | "replace": {
|
---|
2077 | "type": "string",
|
---|
2078 | "pattern": "\\.(([cm]?j|t)sx?|json)$"
|
---|
2079 | },
|
---|
2080 | "with": {
|
---|
2081 | "type": "string",
|
---|
2082 | "pattern": "\\.(([cm]?j|t)sx?|json)$"
|
---|
2083 | }
|
---|
2084 | },
|
---|
2085 | "additionalProperties": false
|
---|
2086 | }
|
---|
2087 | ]
|
---|
2088 | },
|
---|
2089 | "extraEntryPoint": {
|
---|
2090 | "oneOf": [
|
---|
2091 | {
|
---|
2092 | "type": "object",
|
---|
2093 | "properties": {
|
---|
2094 | "input": {
|
---|
2095 | "type": "string",
|
---|
2096 | "description": "The file to include."
|
---|
2097 | },
|
---|
2098 | "bundleName": {
|
---|
2099 | "type": "string",
|
---|
2100 | "pattern": "^[\\w\\-.]*$",
|
---|
2101 | "description": "The bundle name for this extra entry point."
|
---|
2102 | },
|
---|
2103 | "inject": {
|
---|
2104 | "type": "boolean",
|
---|
2105 | "description": "If the bundle will be referenced in the HTML file.",
|
---|
2106 | "default": true
|
---|
2107 | }
|
---|
2108 | },
|
---|
2109 | "additionalProperties": false
|
---|
2110 | },
|
---|
2111 | {
|
---|
2112 | "type": "string",
|
---|
2113 | "description": "The file to include."
|
---|
2114 | }
|
---|
2115 | ]
|
---|
2116 | },
|
---|
2117 | "budget": {
|
---|
2118 | "type": "object",
|
---|
2119 | "properties": {
|
---|
2120 | "type": {
|
---|
2121 | "type": "string",
|
---|
2122 | "description": "The type of budget.",
|
---|
2123 | "enum": [
|
---|
2124 | "all",
|
---|
2125 | "allScript",
|
---|
2126 | "any",
|
---|
2127 | "anyScript",
|
---|
2128 | "anyComponentStyle",
|
---|
2129 | "bundle",
|
---|
2130 | "initial"
|
---|
2131 | ]
|
---|
2132 | },
|
---|
2133 | "name": {
|
---|
2134 | "type": "string",
|
---|
2135 | "description": "The name of the bundle."
|
---|
2136 | },
|
---|
2137 | "baseline": {
|
---|
2138 | "type": "string",
|
---|
2139 | "description": "The baseline size for comparison."
|
---|
2140 | },
|
---|
2141 | "maximumWarning": {
|
---|
2142 | "type": "string",
|
---|
2143 | "description": "The maximum threshold for warning relative to the baseline."
|
---|
2144 | },
|
---|
2145 | "maximumError": {
|
---|
2146 | "type": "string",
|
---|
2147 | "description": "The maximum threshold for error relative to the baseline."
|
---|
2148 | },
|
---|
2149 | "minimumWarning": {
|
---|
2150 | "type": "string",
|
---|
2151 | "description": "The minimum threshold for warning relative to the baseline."
|
---|
2152 | },
|
---|
2153 | "minimumError": {
|
---|
2154 | "type": "string",
|
---|
2155 | "description": "The minimum threshold for error relative to the baseline."
|
---|
2156 | },
|
---|
2157 | "warning": {
|
---|
2158 | "type": "string",
|
---|
2159 | "description": "The threshold for warning relative to the baseline (min & max)."
|
---|
2160 | },
|
---|
2161 | "error": {
|
---|
2162 | "type": "string",
|
---|
2163 | "description": "The threshold for error relative to the baseline (min & max)."
|
---|
2164 | }
|
---|
2165 | },
|
---|
2166 | "additionalProperties": false
|
---|
2167 | }
|
---|
2168 | }
|
---|
2169 | },
|
---|
2170 | "AngularDevkitBuildAngularDevServerSchema": {
|
---|
2171 | "title": "Dev Server Target",
|
---|
2172 | "description": "Dev Server target options for Build Facade.",
|
---|
2173 | "type": "object",
|
---|
2174 | "properties": {
|
---|
2175 | "browserTarget": {
|
---|
2176 | "type": "string",
|
---|
2177 | "description": "A browser builder target to serve in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.",
|
---|
2178 | "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$"
|
---|
2179 | },
|
---|
2180 | "port": {
|
---|
2181 | "type": "number",
|
---|
2182 | "description": "Port to listen on.",
|
---|
2183 | "default": 4200
|
---|
2184 | },
|
---|
2185 | "host": {
|
---|
2186 | "type": "string",
|
---|
2187 | "description": "Host to listen on.",
|
---|
2188 | "default": "localhost"
|
---|
2189 | },
|
---|
2190 | "proxyConfig": {
|
---|
2191 | "type": "string",
|
---|
2192 | "description": "Proxy configuration file. For more information, see https://angular.io/guide/build#proxying-to-a-backend-server."
|
---|
2193 | },
|
---|
2194 | "ssl": {
|
---|
2195 | "type": "boolean",
|
---|
2196 | "description": "Serve using HTTPS.",
|
---|
2197 | "default": false
|
---|
2198 | },
|
---|
2199 | "sslKey": {
|
---|
2200 | "type": "string",
|
---|
2201 | "description": "SSL key to use for serving HTTPS."
|
---|
2202 | },
|
---|
2203 | "sslCert": {
|
---|
2204 | "type": "string",
|
---|
2205 | "description": "SSL certificate to use for serving HTTPS."
|
---|
2206 | },
|
---|
2207 | "headers": {
|
---|
2208 | "type": "object",
|
---|
2209 | "description": "Custom HTTP headers to be added to all responses.",
|
---|
2210 | "propertyNames": {
|
---|
2211 | "pattern": "^[-_A-Za-z0-9]+$"
|
---|
2212 | },
|
---|
2213 | "additionalProperties": {
|
---|
2214 | "type": "string"
|
---|
2215 | }
|
---|
2216 | },
|
---|
2217 | "open": {
|
---|
2218 | "type": "boolean",
|
---|
2219 | "description": "Opens the url in default browser.",
|
---|
2220 | "default": false,
|
---|
2221 | "alias": "o"
|
---|
2222 | },
|
---|
2223 | "verbose": {
|
---|
2224 | "type": "boolean",
|
---|
2225 | "description": "Adds more details to output logging."
|
---|
2226 | },
|
---|
2227 | "liveReload": {
|
---|
2228 | "type": "boolean",
|
---|
2229 | "description": "Whether to reload the page on change, using live-reload.",
|
---|
2230 | "default": true
|
---|
2231 | },
|
---|
2232 | "publicHost": {
|
---|
2233 | "type": "string",
|
---|
2234 | "description": "The URL that the browser client (or live-reload client, if enabled) should use to connect to the development server. Use for a complex dev server setup, such as one with reverse proxies."
|
---|
2235 | },
|
---|
2236 | "allowedHosts": {
|
---|
2237 | "type": "array",
|
---|
2238 | "description": "List of hosts that are allowed to access the dev server.",
|
---|
2239 | "default": [],
|
---|
2240 | "items": {
|
---|
2241 | "type": "string"
|
---|
2242 | }
|
---|
2243 | },
|
---|
2244 | "servePath": {
|
---|
2245 | "type": "string",
|
---|
2246 | "description": "The pathname where the app will be served."
|
---|
2247 | },
|
---|
2248 | "disableHostCheck": {
|
---|
2249 | "type": "boolean",
|
---|
2250 | "description": "Don't verify connected clients are part of allowed hosts.",
|
---|
2251 | "default": false
|
---|
2252 | },
|
---|
2253 | "hmr": {
|
---|
2254 | "type": "boolean",
|
---|
2255 | "description": "Enable hot module replacement.",
|
---|
2256 | "default": false
|
---|
2257 | },
|
---|
2258 | "watch": {
|
---|
2259 | "type": "boolean",
|
---|
2260 | "description": "Rebuild on change.",
|
---|
2261 | "default": true
|
---|
2262 | },
|
---|
2263 | "hmrWarning": {
|
---|
2264 | "type": "boolean",
|
---|
2265 | "description": "Show a warning when the --hmr option is enabled.",
|
---|
2266 | "default": true,
|
---|
2267 | "x-deprecated": "No longer has an effect."
|
---|
2268 | },
|
---|
2269 | "servePathDefaultWarning": {
|
---|
2270 | "type": "boolean",
|
---|
2271 | "description": "Show a warning when deploy-url/base-href use unsupported serve path values.",
|
---|
2272 | "default": true,
|
---|
2273 | "x-deprecated": "No longer has an effect."
|
---|
2274 | },
|
---|
2275 | "optimization": {
|
---|
2276 | "description": "Enables optimization of the build output. Including minification of scripts and styles, tree-shaking, dead-code elimination, tree-shaking and fonts inlining. For more information, see https://angular.io/guide/workspace-config#optimization-configuration.",
|
---|
2277 | "x-user-analytics": 16,
|
---|
2278 | "oneOf": [
|
---|
2279 | {
|
---|
2280 | "type": "object",
|
---|
2281 | "properties": {
|
---|
2282 | "scripts": {
|
---|
2283 | "type": "boolean",
|
---|
2284 | "description": "Enables optimization of the scripts output.",
|
---|
2285 | "default": true
|
---|
2286 | },
|
---|
2287 | "styles": {
|
---|
2288 | "type": "boolean",
|
---|
2289 | "description": "Enables optimization of the styles output.",
|
---|
2290 | "default": true
|
---|
2291 | }
|
---|
2292 | },
|
---|
2293 | "additionalProperties": false
|
---|
2294 | },
|
---|
2295 | {
|
---|
2296 | "type": "boolean"
|
---|
2297 | }
|
---|
2298 | ],
|
---|
2299 | "x-deprecated": "Use the \"optimization\" option in the browser builder instead."
|
---|
2300 | },
|
---|
2301 | "aot": {
|
---|
2302 | "type": "boolean",
|
---|
2303 | "description": "Build using Ahead of Time compilation.",
|
---|
2304 | "x-user-analytics": 13,
|
---|
2305 | "x-deprecated": "Use the \"aot\" option in the browser builder instead."
|
---|
2306 | },
|
---|
2307 | "sourceMap": {
|
---|
2308 | "description": "Output source maps for scripts and styles. For more information, see https://angular.io/guide/workspace-config#source-map-configuration.",
|
---|
2309 | "oneOf": [
|
---|
2310 | {
|
---|
2311 | "type": "object",
|
---|
2312 | "properties": {
|
---|
2313 | "scripts": {
|
---|
2314 | "type": "boolean",
|
---|
2315 | "description": "Output source maps for all scripts.",
|
---|
2316 | "default": true
|
---|
2317 | },
|
---|
2318 | "styles": {
|
---|
2319 | "type": "boolean",
|
---|
2320 | "description": "Output source maps for all styles.",
|
---|
2321 | "default": true
|
---|
2322 | },
|
---|
2323 | "hidden": {
|
---|
2324 | "type": "boolean",
|
---|
2325 | "description": "Output source maps used for error reporting tools.",
|
---|
2326 | "default": false
|
---|
2327 | },
|
---|
2328 | "vendor": {
|
---|
2329 | "type": "boolean",
|
---|
2330 | "description": "Resolve vendor packages source maps.",
|
---|
2331 | "default": false
|
---|
2332 | }
|
---|
2333 | },
|
---|
2334 | "additionalProperties": false
|
---|
2335 | },
|
---|
2336 | {
|
---|
2337 | "type": "boolean"
|
---|
2338 | }
|
---|
2339 | ],
|
---|
2340 | "x-deprecated": "Use the \"sourceMap\" option in the browser builder instead."
|
---|
2341 | },
|
---|
2342 | "vendorChunk": {
|
---|
2343 | "type": "boolean",
|
---|
2344 | "description": "Generate a seperate bundle containing only vendor libraries. This option should only used for development.",
|
---|
2345 | "x-deprecated": "Use the \"vendorChunk\" option in the browser builder instead."
|
---|
2346 | },
|
---|
2347 | "commonChunk": {
|
---|
2348 | "type": "boolean",
|
---|
2349 | "description": "Generate a seperate bundle containing code used across multiple bundles.",
|
---|
2350 | "x-deprecated": "Use the \"commonChunk\" option in the browser builder instead."
|
---|
2351 | },
|
---|
2352 | "baseHref": {
|
---|
2353 | "type": "string",
|
---|
2354 | "description": "Base url for the application being built.",
|
---|
2355 | "x-deprecated": "Use the \"baseHref\" option in the browser builder instead."
|
---|
2356 | },
|
---|
2357 | "deployUrl": {
|
---|
2358 | "type": "string",
|
---|
2359 | "description": "URL where files will be deployed.",
|
---|
2360 | "x-deprecated": "Use the \"deployUrl\" option in the browser builder instead."
|
---|
2361 | },
|
---|
2362 | "progress": {
|
---|
2363 | "type": "boolean",
|
---|
2364 | "description": "Log progress to the console while building.",
|
---|
2365 | "x-deprecated": "Use the \"progress\" option in the browser builder instead."
|
---|
2366 | },
|
---|
2367 | "poll": {
|
---|
2368 | "type": "number",
|
---|
2369 | "description": "Enable and define the file watching poll time period in milliseconds."
|
---|
2370 | }
|
---|
2371 | },
|
---|
2372 | "additionalProperties": false
|
---|
2373 | },
|
---|
2374 | "AngularDevkitBuildAngularExtractI18nSchema": {
|
---|
2375 | "title": "Extract i18n Target",
|
---|
2376 | "description": "Extract i18n target options for Build Facade.",
|
---|
2377 | "type": "object",
|
---|
2378 | "properties": {
|
---|
2379 | "browserTarget": {
|
---|
2380 | "type": "string",
|
---|
2381 | "description": "A browser builder target to extract i18n messages in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.",
|
---|
2382 | "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$"
|
---|
2383 | },
|
---|
2384 | "format": {
|
---|
2385 | "type": "string",
|
---|
2386 | "description": "Output format for the generated file.",
|
---|
2387 | "default": "xlf",
|
---|
2388 | "enum": [
|
---|
2389 | "xmb",
|
---|
2390 | "xlf",
|
---|
2391 | "xlif",
|
---|
2392 | "xliff",
|
---|
2393 | "xlf2",
|
---|
2394 | "xliff2",
|
---|
2395 | "json",
|
---|
2396 | "arb",
|
---|
2397 | "legacy-migrate"
|
---|
2398 | ]
|
---|
2399 | },
|
---|
2400 | "progress": {
|
---|
2401 | "type": "boolean",
|
---|
2402 | "description": "Log progress to the console.",
|
---|
2403 | "default": true
|
---|
2404 | },
|
---|
2405 | "outputPath": {
|
---|
2406 | "type": "string",
|
---|
2407 | "description": "Path where output will be placed."
|
---|
2408 | },
|
---|
2409 | "outFile": {
|
---|
2410 | "type": "string",
|
---|
2411 | "description": "Name of the file to output."
|
---|
2412 | }
|
---|
2413 | },
|
---|
2414 | "additionalProperties": false
|
---|
2415 | },
|
---|
2416 | "AngularDevkitBuildAngularKarmaSchema": {
|
---|
2417 | "title": "Karma Target",
|
---|
2418 | "description": "Karma target options for Build Facade.",
|
---|
2419 | "type": "object",
|
---|
2420 | "properties": {
|
---|
2421 | "main": {
|
---|
2422 | "type": "string",
|
---|
2423 | "description": "The name of the main entry-point file."
|
---|
2424 | },
|
---|
2425 | "tsConfig": {
|
---|
2426 | "type": "string",
|
---|
2427 | "description": "The name of the TypeScript configuration file."
|
---|
2428 | },
|
---|
2429 | "karmaConfig": {
|
---|
2430 | "type": "string",
|
---|
2431 | "description": "The name of the Karma configuration file."
|
---|
2432 | },
|
---|
2433 | "polyfills": {
|
---|
2434 | "type": "string",
|
---|
2435 | "description": "The name of the polyfills file."
|
---|
2436 | },
|
---|
2437 | "assets": {
|
---|
2438 | "type": "array",
|
---|
2439 | "description": "List of static application assets.",
|
---|
2440 | "default": [],
|
---|
2441 | "items": {
|
---|
2442 | "$ref": "#/definitions/AngularDevkitBuildAngularKarmaSchema/definitions/assetPattern"
|
---|
2443 | }
|
---|
2444 | },
|
---|
2445 | "scripts": {
|
---|
2446 | "description": "Global scripts to be included in the build.",
|
---|
2447 | "type": "array",
|
---|
2448 | "default": [],
|
---|
2449 | "items": {
|
---|
2450 | "$ref": "#/definitions/AngularDevkitBuildAngularKarmaSchema/definitions/extraEntryPoint"
|
---|
2451 | }
|
---|
2452 | },
|
---|
2453 | "styles": {
|
---|
2454 | "description": "Global styles to be included in the build.",
|
---|
2455 | "type": "array",
|
---|
2456 | "default": [],
|
---|
2457 | "items": {
|
---|
2458 | "$ref": "#/definitions/AngularDevkitBuildAngularKarmaSchema/definitions/extraEntryPoint"
|
---|
2459 | }
|
---|
2460 | },
|
---|
2461 | "inlineStyleLanguage": {
|
---|
2462 | "description": "The stylesheet language to use for the application's inline component styles.",
|
---|
2463 | "type": "string",
|
---|
2464 | "default": "css",
|
---|
2465 | "enum": [
|
---|
2466 | "css",
|
---|
2467 | "less",
|
---|
2468 | "sass",
|
---|
2469 | "scss"
|
---|
2470 | ]
|
---|
2471 | },
|
---|
2472 | "stylePreprocessorOptions": {
|
---|
2473 | "description": "Options to pass to style preprocessors",
|
---|
2474 | "type": "object",
|
---|
2475 | "properties": {
|
---|
2476 | "includePaths": {
|
---|
2477 | "description": "Paths to include. Paths will be resolved to workspace root.",
|
---|
2478 | "type": "array",
|
---|
2479 | "items": {
|
---|
2480 | "type": "string"
|
---|
2481 | },
|
---|
2482 | "default": []
|
---|
2483 | }
|
---|
2484 | },
|
---|
2485 | "additionalProperties": false
|
---|
2486 | },
|
---|
2487 | "include": {
|
---|
2488 | "type": "array",
|
---|
2489 | "items": {
|
---|
2490 | "type": "string"
|
---|
2491 | },
|
---|
2492 | "description": "Globs of files to include, relative to workspace or project root. \nThere are 2 special cases:\n - when a path to directory is provided, all spec files ending \".spec.@(ts|tsx)\" will be included\n - when a path to a file is provided, and a matching spec file exists it will be included instead"
|
---|
2493 | },
|
---|
2494 | "sourceMap": {
|
---|
2495 | "description": "Output source maps for scripts and styles. For more information, see https://angular.io/guide/workspace-config#source-map-configuration.",
|
---|
2496 | "default": true,
|
---|
2497 | "oneOf": [
|
---|
2498 | {
|
---|
2499 | "type": "object",
|
---|
2500 | "properties": {
|
---|
2501 | "scripts": {
|
---|
2502 | "type": "boolean",
|
---|
2503 | "description": "Output source maps for all scripts.",
|
---|
2504 | "default": true
|
---|
2505 | },
|
---|
2506 | "styles": {
|
---|
2507 | "type": "boolean",
|
---|
2508 | "description": "Output source maps for all styles.",
|
---|
2509 | "default": true
|
---|
2510 | },
|
---|
2511 | "vendor": {
|
---|
2512 | "type": "boolean",
|
---|
2513 | "description": "Resolve vendor packages source maps.",
|
---|
2514 | "default": false
|
---|
2515 | }
|
---|
2516 | },
|
---|
2517 | "additionalProperties": false
|
---|
2518 | },
|
---|
2519 | {
|
---|
2520 | "type": "boolean"
|
---|
2521 | }
|
---|
2522 | ]
|
---|
2523 | },
|
---|
2524 | "progress": {
|
---|
2525 | "type": "boolean",
|
---|
2526 | "description": "Log progress to the console while building.",
|
---|
2527 | "default": true
|
---|
2528 | },
|
---|
2529 | "watch": {
|
---|
2530 | "type": "boolean",
|
---|
2531 | "description": "Run build when files change."
|
---|
2532 | },
|
---|
2533 | "poll": {
|
---|
2534 | "type": "number",
|
---|
2535 | "description": "Enable and define the file watching poll time period in milliseconds."
|
---|
2536 | },
|
---|
2537 | "preserveSymlinks": {
|
---|
2538 | "type": "boolean",
|
---|
2539 | "description": "Do not use the real path when resolving modules. If unset then will default to `true` if NodeJS option --preserve-symlinks is set."
|
---|
2540 | },
|
---|
2541 | "browsers": {
|
---|
2542 | "type": "string",
|
---|
2543 | "description": "Override which browsers tests are run against."
|
---|
2544 | },
|
---|
2545 | "codeCoverage": {
|
---|
2546 | "type": "boolean",
|
---|
2547 | "description": "Output a code coverage report.",
|
---|
2548 | "default": false
|
---|
2549 | },
|
---|
2550 | "codeCoverageExclude": {
|
---|
2551 | "type": "array",
|
---|
2552 | "description": "Globs to exclude from code coverage.",
|
---|
2553 | "items": {
|
---|
2554 | "type": "string"
|
---|
2555 | },
|
---|
2556 | "default": []
|
---|
2557 | },
|
---|
2558 | "fileReplacements": {
|
---|
2559 | "description": "Replace compilation source files with other compilation source files in the build.",
|
---|
2560 | "type": "array",
|
---|
2561 | "items": {
|
---|
2562 | "oneOf": [
|
---|
2563 | {
|
---|
2564 | "type": "object",
|
---|
2565 | "properties": {
|
---|
2566 | "src": {
|
---|
2567 | "type": "string"
|
---|
2568 | },
|
---|
2569 | "replaceWith": {
|
---|
2570 | "type": "string"
|
---|
2571 | }
|
---|
2572 | },
|
---|
2573 | "additionalProperties": false
|
---|
2574 | },
|
---|
2575 | {
|
---|
2576 | "type": "object",
|
---|
2577 | "properties": {
|
---|
2578 | "replace": {
|
---|
2579 | "type": "string"
|
---|
2580 | },
|
---|
2581 | "with": {
|
---|
2582 | "type": "string"
|
---|
2583 | }
|
---|
2584 | },
|
---|
2585 | "additionalProperties": false
|
---|
2586 | }
|
---|
2587 | ]
|
---|
2588 | },
|
---|
2589 | "default": []
|
---|
2590 | },
|
---|
2591 | "reporters": {
|
---|
2592 | "type": "array",
|
---|
2593 | "description": "Karma reporters to use. Directly passed to the karma runner.",
|
---|
2594 | "items": {
|
---|
2595 | "type": "string"
|
---|
2596 | }
|
---|
2597 | },
|
---|
2598 | "webWorkerTsConfig": {
|
---|
2599 | "type": "string",
|
---|
2600 | "description": "TypeScript configuration for Web Worker modules."
|
---|
2601 | }
|
---|
2602 | },
|
---|
2603 | "additionalProperties": false,
|
---|
2604 | "definitions": {
|
---|
2605 | "assetPattern": {
|
---|
2606 | "oneOf": [
|
---|
2607 | {
|
---|
2608 | "type": "object",
|
---|
2609 | "properties": {
|
---|
2610 | "glob": {
|
---|
2611 | "type": "string",
|
---|
2612 | "description": "The pattern to match."
|
---|
2613 | },
|
---|
2614 | "input": {
|
---|
2615 | "type": "string",
|
---|
2616 | "description": "The input directory path in which to apply 'glob'. Defaults to the project root."
|
---|
2617 | },
|
---|
2618 | "output": {
|
---|
2619 | "type": "string",
|
---|
2620 | "description": "Absolute path within the output."
|
---|
2621 | },
|
---|
2622 | "ignore": {
|
---|
2623 | "description": "An array of globs to ignore.",
|
---|
2624 | "type": "array",
|
---|
2625 | "items": {
|
---|
2626 | "type": "string"
|
---|
2627 | }
|
---|
2628 | }
|
---|
2629 | },
|
---|
2630 | "additionalProperties": false
|
---|
2631 | },
|
---|
2632 | {
|
---|
2633 | "type": "string"
|
---|
2634 | }
|
---|
2635 | ]
|
---|
2636 | },
|
---|
2637 | "extraEntryPoint": {
|
---|
2638 | "oneOf": [
|
---|
2639 | {
|
---|
2640 | "type": "object",
|
---|
2641 | "properties": {
|
---|
2642 | "input": {
|
---|
2643 | "type": "string",
|
---|
2644 | "description": "The file to include."
|
---|
2645 | },
|
---|
2646 | "bundleName": {
|
---|
2647 | "type": "string",
|
---|
2648 | "pattern": "^[\\w\\-.]*$",
|
---|
2649 | "description": "The bundle name for this extra entry point."
|
---|
2650 | },
|
---|
2651 | "inject": {
|
---|
2652 | "type": "boolean",
|
---|
2653 | "description": "If the bundle will be referenced in the HTML file.",
|
---|
2654 | "default": true
|
---|
2655 | }
|
---|
2656 | },
|
---|
2657 | "additionalProperties": false
|
---|
2658 | },
|
---|
2659 | {
|
---|
2660 | "type": "string",
|
---|
2661 | "description": "The file to include."
|
---|
2662 | }
|
---|
2663 | ]
|
---|
2664 | }
|
---|
2665 | }
|
---|
2666 | },
|
---|
2667 | "AngularDevkitBuildAngularProtractorSchema": {
|
---|
2668 | "title": "Protractor Target",
|
---|
2669 | "description": "Protractor target options for Build Facade.",
|
---|
2670 | "type": "object",
|
---|
2671 | "properties": {
|
---|
2672 | "protractorConfig": {
|
---|
2673 | "type": "string",
|
---|
2674 | "description": "The name of the Protractor configuration file."
|
---|
2675 | },
|
---|
2676 | "devServerTarget": {
|
---|
2677 | "type": "string",
|
---|
2678 | "description": "A dev-server builder target to run tests against in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.",
|
---|
2679 | "pattern": "^([^:\\s]+:[^:\\s]+(:[^\\s]+)?)?$"
|
---|
2680 | },
|
---|
2681 | "grep": {
|
---|
2682 | "type": "string",
|
---|
2683 | "description": "Execute specs whose names match the pattern, which is internally compiled to a RegExp."
|
---|
2684 | },
|
---|
2685 | "invertGrep": {
|
---|
2686 | "type": "boolean",
|
---|
2687 | "description": "Invert the selection specified by the 'grep' option.",
|
---|
2688 | "default": false
|
---|
2689 | },
|
---|
2690 | "specs": {
|
---|
2691 | "type": "array",
|
---|
2692 | "description": "Override specs in the protractor config.",
|
---|
2693 | "default": [],
|
---|
2694 | "items": {
|
---|
2695 | "type": "string",
|
---|
2696 | "description": "Spec name."
|
---|
2697 | }
|
---|
2698 | },
|
---|
2699 | "suite": {
|
---|
2700 | "type": "string",
|
---|
2701 | "description": "Override suite in the protractor config."
|
---|
2702 | },
|
---|
2703 | "webdriverUpdate": {
|
---|
2704 | "type": "boolean",
|
---|
2705 | "description": "Try to update webdriver.",
|
---|
2706 | "default": true
|
---|
2707 | },
|
---|
2708 | "port": {
|
---|
2709 | "type": "number",
|
---|
2710 | "description": "The port to use to serve the application."
|
---|
2711 | },
|
---|
2712 | "host": {
|
---|
2713 | "type": "string",
|
---|
2714 | "description": "Host to listen on."
|
---|
2715 | },
|
---|
2716 | "baseUrl": {
|
---|
2717 | "type": "string",
|
---|
2718 | "description": "Base URL for protractor to connect to."
|
---|
2719 | }
|
---|
2720 | },
|
---|
2721 | "additionalProperties": false
|
---|
2722 | },
|
---|
2723 | "AngularDevkitBuildAngularServerSchema": {
|
---|
2724 | "title": "Universal Target",
|
---|
2725 | "type": "object",
|
---|
2726 | "properties": {
|
---|
2727 | "main": {
|
---|
2728 | "type": "string",
|
---|
2729 | "description": "The name of the main entry-point file."
|
---|
2730 | },
|
---|
2731 | "tsConfig": {
|
---|
2732 | "type": "string",
|
---|
2733 | "default": "tsconfig.app.json",
|
---|
2734 | "description": "The name of the TypeScript configuration file."
|
---|
2735 | },
|
---|
2736 | "inlineStyleLanguage": {
|
---|
2737 | "description": "The stylesheet language to use for the application's inline component styles.",
|
---|
2738 | "type": "string",
|
---|
2739 | "default": "css",
|
---|
2740 | "enum": [
|
---|
2741 | "css",
|
---|
2742 | "less",
|
---|
2743 | "sass",
|
---|
2744 | "scss"
|
---|
2745 | ]
|
---|
2746 | },
|
---|
2747 | "stylePreprocessorOptions": {
|
---|
2748 | "description": "Options to pass to style preprocessors",
|
---|
2749 | "type": "object",
|
---|
2750 | "properties": {
|
---|
2751 | "includePaths": {
|
---|
2752 | "description": "Paths to include. Paths will be resolved to workspace root.",
|
---|
2753 | "type": "array",
|
---|
2754 | "items": {
|
---|
2755 | "type": "string"
|
---|
2756 | },
|
---|
2757 | "default": []
|
---|
2758 | }
|
---|
2759 | },
|
---|
2760 | "additionalProperties": false
|
---|
2761 | },
|
---|
2762 | "optimization": {
|
---|
2763 | "description": "Enables optimization of the build output. Including minification of scripts and styles, tree-shaking and dead-code elimination. For more information, see https://angular.io/guide/workspace-config#optimization-configuration.",
|
---|
2764 | "x-user-analytics": 16,
|
---|
2765 | "default": true,
|
---|
2766 | "oneOf": [
|
---|
2767 | {
|
---|
2768 | "type": "object",
|
---|
2769 | "properties": {
|
---|
2770 | "scripts": {
|
---|
2771 | "type": "boolean",
|
---|
2772 | "description": "Enables optimization of the scripts output.",
|
---|
2773 | "default": true
|
---|
2774 | },
|
---|
2775 | "styles": {
|
---|
2776 | "type": "boolean",
|
---|
2777 | "description": "Enables optimization of the styles output.",
|
---|
2778 | "default": true
|
---|
2779 | }
|
---|
2780 | },
|
---|
2781 | "additionalProperties": false
|
---|
2782 | },
|
---|
2783 | {
|
---|
2784 | "type": "boolean"
|
---|
2785 | }
|
---|
2786 | ]
|
---|
2787 | },
|
---|
2788 | "fileReplacements": {
|
---|
2789 | "description": "Replace compilation source files with other compilation source files in the build.",
|
---|
2790 | "type": "array",
|
---|
2791 | "items": {
|
---|
2792 | "$ref": "#/definitions/AngularDevkitBuildAngularServerSchema/definitions/fileReplacement"
|
---|
2793 | },
|
---|
2794 | "default": []
|
---|
2795 | },
|
---|
2796 | "outputPath": {
|
---|
2797 | "type": "string",
|
---|
2798 | "description": "Path where output will be placed."
|
---|
2799 | },
|
---|
2800 | "resourcesOutputPath": {
|
---|
2801 | "type": "string",
|
---|
2802 | "description": "The path where style resources will be placed, relative to outputPath.",
|
---|
2803 | "default": ""
|
---|
2804 | },
|
---|
2805 | "sourceMap": {
|
---|
2806 | "description": "Output source maps for scripts and styles. For more information, see https://angular.io/guide/workspace-config#source-map-configuration.",
|
---|
2807 | "default": false,
|
---|
2808 | "oneOf": [
|
---|
2809 | {
|
---|
2810 | "type": "object",
|
---|
2811 | "properties": {
|
---|
2812 | "scripts": {
|
---|
2813 | "type": "boolean",
|
---|
2814 | "description": "Output source maps for all scripts.",
|
---|
2815 | "default": true
|
---|
2816 | },
|
---|
2817 | "styles": {
|
---|
2818 | "type": "boolean",
|
---|
2819 | "description": "Output source maps for all styles.",
|
---|
2820 | "default": true
|
---|
2821 | },
|
---|
2822 | "hidden": {
|
---|
2823 | "type": "boolean",
|
---|
2824 | "description": "Output source maps used for error reporting tools.",
|
---|
2825 | "default": false
|
---|
2826 | },
|
---|
2827 | "vendor": {
|
---|
2828 | "type": "boolean",
|
---|
2829 | "description": "Resolve vendor packages source maps.",
|
---|
2830 | "default": false
|
---|
2831 | }
|
---|
2832 | },
|
---|
2833 | "additionalProperties": false
|
---|
2834 | },
|
---|
2835 | {
|
---|
2836 | "type": "boolean"
|
---|
2837 | }
|
---|
2838 | ]
|
---|
2839 | },
|
---|
2840 | "deployUrl": {
|
---|
2841 | "type": "string",
|
---|
2842 | "description": "URL where files will be deployed."
|
---|
2843 | },
|
---|
2844 | "verbose": {
|
---|
2845 | "type": "boolean",
|
---|
2846 | "description": "Adds more details to output logging.",
|
---|
2847 | "default": false
|
---|
2848 | },
|
---|
2849 | "progress": {
|
---|
2850 | "type": "boolean",
|
---|
2851 | "description": "Log progress to the console while building.",
|
---|
2852 | "default": true
|
---|
2853 | },
|
---|
2854 | "i18nMissingTranslation": {
|
---|
2855 | "type": "string",
|
---|
2856 | "description": "How to handle missing translations for i18n.",
|
---|
2857 | "enum": [
|
---|
2858 | "warning",
|
---|
2859 | "error",
|
---|
2860 | "ignore"
|
---|
2861 | ],
|
---|
2862 | "default": "warning"
|
---|
2863 | },
|
---|
2864 | "localize": {
|
---|
2865 | "description": "Translate the bundles in one or more locales.",
|
---|
2866 | "oneOf": [
|
---|
2867 | {
|
---|
2868 | "type": "boolean",
|
---|
2869 | "description": "Translate all locales."
|
---|
2870 | },
|
---|
2871 | {
|
---|
2872 | "type": "array",
|
---|
2873 | "description": "List of locales ID's to translate.",
|
---|
2874 | "minItems": 1,
|
---|
2875 | "items": {
|
---|
2876 | "type": "string",
|
---|
2877 | "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-[a-zA-Z]{5,8})?(-x(-[a-zA-Z0-9]{1,8})+)?$"
|
---|
2878 | }
|
---|
2879 | }
|
---|
2880 | ]
|
---|
2881 | },
|
---|
2882 | "outputHashing": {
|
---|
2883 | "type": "string",
|
---|
2884 | "description": "Define the output filename cache-busting hashing mode.",
|
---|
2885 | "default": "none",
|
---|
2886 | "enum": [
|
---|
2887 | "none",
|
---|
2888 | "all",
|
---|
2889 | "media",
|
---|
2890 | "bundles"
|
---|
2891 | ]
|
---|
2892 | },
|
---|
2893 | "deleteOutputPath": {
|
---|
2894 | "type": "boolean",
|
---|
2895 | "description": "Delete the output path before building.",
|
---|
2896 | "default": true
|
---|
2897 | },
|
---|
2898 | "preserveSymlinks": {
|
---|
2899 | "type": "boolean",
|
---|
2900 | "description": "Do not use the real path when resolving modules. If unset then will default to `true` if NodeJS option --preserve-symlinks is set."
|
---|
2901 | },
|
---|
2902 | "extractLicenses": {
|
---|
2903 | "type": "boolean",
|
---|
2904 | "description": "Extract all licenses in a separate file, in the case of production builds only.",
|
---|
2905 | "default": true
|
---|
2906 | },
|
---|
2907 | "showCircularDependencies": {
|
---|
2908 | "type": "boolean",
|
---|
2909 | "description": "Show circular dependency warnings on builds.",
|
---|
2910 | "default": false,
|
---|
2911 | "x-deprecated": "The recommended method to detect circular dependencies in project code is to use either a lint rule or other external tooling."
|
---|
2912 | },
|
---|
2913 | "namedChunks": {
|
---|
2914 | "type": "boolean",
|
---|
2915 | "description": "Use file name for lazy loaded chunks.",
|
---|
2916 | "default": false
|
---|
2917 | },
|
---|
2918 | "bundleDependencies": {
|
---|
2919 | "description": "Which external dependencies to bundle into the bundle. By default, all of node_modules will be bundled.",
|
---|
2920 | "default": true,
|
---|
2921 | "oneOf": [
|
---|
2922 | {
|
---|
2923 | "type": "boolean"
|
---|
2924 | },
|
---|
2925 | {
|
---|
2926 | "type": "string",
|
---|
2927 | "enum": [
|
---|
2928 | "none",
|
---|
2929 | "all"
|
---|
2930 | ]
|
---|
2931 | }
|
---|
2932 | ]
|
---|
2933 | },
|
---|
2934 | "externalDependencies": {
|
---|
2935 | "description": "Exclude the listed external dependencies from being bundled into the bundle. Instead, the created bundle relies on these dependencies to be available during runtime.",
|
---|
2936 | "type": "array",
|
---|
2937 | "items": {
|
---|
2938 | "type": "string"
|
---|
2939 | },
|
---|
2940 | "default": []
|
---|
2941 | },
|
---|
2942 | "statsJson": {
|
---|
2943 | "type": "boolean",
|
---|
2944 | "description": "Generates a 'stats.json' file which can be analyzed using tools such as 'webpack-bundle-analyzer'.",
|
---|
2945 | "default": false
|
---|
2946 | },
|
---|
2947 | "watch": {
|
---|
2948 | "type": "boolean",
|
---|
2949 | "description": "Run build when files change.",
|
---|
2950 | "default": false
|
---|
2951 | },
|
---|
2952 | "poll": {
|
---|
2953 | "type": "number",
|
---|
2954 | "description": "Enable and define the file watching poll time period in milliseconds."
|
---|
2955 | }
|
---|
2956 | },
|
---|
2957 | "additionalProperties": false,
|
---|
2958 | "definitions": {
|
---|
2959 | "fileReplacement": {
|
---|
2960 | "oneOf": [
|
---|
2961 | {
|
---|
2962 | "type": "object",
|
---|
2963 | "properties": {
|
---|
2964 | "src": {
|
---|
2965 | "type": "string",
|
---|
2966 | "pattern": "\\.(([cm]?j|t)sx?|json)$"
|
---|
2967 | },
|
---|
2968 | "replaceWith": {
|
---|
2969 | "type": "string",
|
---|
2970 | "pattern": "\\.(([cm]?j|t)sx?|json)$"
|
---|
2971 | }
|
---|
2972 | },
|
---|
2973 | "additionalProperties": false
|
---|
2974 | },
|
---|
2975 | {
|
---|
2976 | "type": "object",
|
---|
2977 | "properties": {
|
---|
2978 | "replace": {
|
---|
2979 | "type": "string",
|
---|
2980 | "pattern": "\\.(([cm]?j|t)sx?|json)$"
|
---|
2981 | },
|
---|
2982 | "with": {
|
---|
2983 | "type": "string",
|
---|
2984 | "pattern": "\\.(([cm]?j|t)sx?|json)$"
|
---|
2985 | }
|
---|
2986 | },
|
---|
2987 | "additionalProperties": false
|
---|
2988 | }
|
---|
2989 | ]
|
---|
2990 | }
|
---|
2991 | }
|
---|
2992 | },
|
---|
2993 | "AngularDevkitBuildAngularTslintSchema": {
|
---|
2994 | "title": "TSlint Target",
|
---|
2995 | "description": "TSlint target options for Build Facade.",
|
---|
2996 | "type": "object",
|
---|
2997 | "properties": {
|
---|
2998 | "tslintConfig": {
|
---|
2999 | "type": "string",
|
---|
3000 | "description": "The name of the TSLint configuration file."
|
---|
3001 | },
|
---|
3002 | "tsConfig": {
|
---|
3003 | "description": "The name of the TypeScript configuration file.",
|
---|
3004 | "oneOf": [
|
---|
3005 | {
|
---|
3006 | "type": "string"
|
---|
3007 | },
|
---|
3008 | {
|
---|
3009 | "type": "array",
|
---|
3010 | "items": {
|
---|
3011 | "type": "string"
|
---|
3012 | }
|
---|
3013 | }
|
---|
3014 | ]
|
---|
3015 | },
|
---|
3016 | "fix": {
|
---|
3017 | "type": "boolean",
|
---|
3018 | "description": "Fixes linting errors (may overwrite linted files).",
|
---|
3019 | "default": false
|
---|
3020 | },
|
---|
3021 | "typeCheck": {
|
---|
3022 | "type": "boolean",
|
---|
3023 | "description": "Controls the type check for linting.",
|
---|
3024 | "default": false
|
---|
3025 | },
|
---|
3026 | "force": {
|
---|
3027 | "type": "boolean",
|
---|
3028 | "description": "Succeeds even if there was linting errors.",
|
---|
3029 | "default": false
|
---|
3030 | },
|
---|
3031 | "silent": {
|
---|
3032 | "type": "boolean",
|
---|
3033 | "description": "Show output text.",
|
---|
3034 | "default": false
|
---|
3035 | },
|
---|
3036 | "format": {
|
---|
3037 | "type": "string",
|
---|
3038 | "description": "Output format (prose, json, stylish, verbose, pmd, msbuild, checkstyle, vso, fileslist).",
|
---|
3039 | "default": "stylish",
|
---|
3040 | "anyOf": [
|
---|
3041 | {
|
---|
3042 | "enum": [
|
---|
3043 | "checkstyle",
|
---|
3044 | "codeFrame",
|
---|
3045 | "filesList",
|
---|
3046 | "json",
|
---|
3047 | "junit",
|
---|
3048 | "msbuild",
|
---|
3049 | "pmd",
|
---|
3050 | "prose",
|
---|
3051 | "stylish",
|
---|
3052 | "tap",
|
---|
3053 | "verbose",
|
---|
3054 | "vso"
|
---|
3055 | ]
|
---|
3056 | },
|
---|
3057 | {
|
---|
3058 | "minLength": 1
|
---|
3059 | }
|
---|
3060 | ]
|
---|
3061 | },
|
---|
3062 | "exclude": {
|
---|
3063 | "type": "array",
|
---|
3064 | "description": "Files to exclude from linting.",
|
---|
3065 | "default": [],
|
---|
3066 | "items": {
|
---|
3067 | "type": "string"
|
---|
3068 | }
|
---|
3069 | },
|
---|
3070 | "files": {
|
---|
3071 | "type": "array",
|
---|
3072 | "description": "Files to include in linting.",
|
---|
3073 | "default": [],
|
---|
3074 | "items": {
|
---|
3075 | "type": "string"
|
---|
3076 | }
|
---|
3077 | }
|
---|
3078 | },
|
---|
3079 | "additionalProperties": false
|
---|
3080 | },
|
---|
3081 | "AngularDevkitBuildAngularNgPackagrSchema": {
|
---|
3082 | "title": "ng-packagr Target",
|
---|
3083 | "description": "ng-packagr target options for Build Architect. Use to build library projects.",
|
---|
3084 | "type": "object",
|
---|
3085 | "properties": {
|
---|
3086 | "project": {
|
---|
3087 | "type": "string",
|
---|
3088 | "description": "The file path for the ng-packagr configuration file, relative to the current workspace."
|
---|
3089 | },
|
---|
3090 | "tsConfig": {
|
---|
3091 | "type": "string",
|
---|
3092 | "description": "The full path for the TypeScript configuration file, relative to the current workspace."
|
---|
3093 | },
|
---|
3094 | "watch": {
|
---|
3095 | "type": "boolean",
|
---|
3096 | "description": "Run build when files change.",
|
---|
3097 | "default": false
|
---|
3098 | }
|
---|
3099 | },
|
---|
3100 | "additionalProperties": false
|
---|
3101 | }
|
---|
3102 | }
|
---|
3103 | } |
---|