1 | /**
|
2 | * Generates a new basic app definition in the "projects" subfolder of the workspace.
|
3 | */
|
4 | export interface Schema {
|
5 | /**
|
6 | * When true, includes styles inline in the root component.ts file. Only CSS styles can be
|
7 | * included inline. Default is false, meaning that an external styles file is created and
|
8 | * referenced in the root component.ts file.
|
9 | */
|
10 | inlineStyle?: boolean;
|
11 | /**
|
12 | * When true, includes template inline in the root component.ts file. Default is false,
|
13 | * meaning that an external template file is created and referenced in the root component.ts
|
14 | * file.
|
15 | */
|
16 | inlineTemplate?: boolean;
|
17 | /**
|
18 | * Add support for legacy browsers like Internet Explorer using differential loading.
|
19 | */
|
20 | legacyBrowsers?: boolean;
|
21 | /**
|
22 | * When true, applies lint fixes after generating the application.
|
23 | */
|
24 | lintFix?: boolean;
|
25 | /**
|
26 | * When true, creates a bare-bones project without any testing frameworks. (Use for learning
|
27 | * purposes only.)
|
28 | */
|
29 | minimal?: boolean;
|
30 | /**
|
31 | * The name of the new app.
|
32 | */
|
33 | name: string;
|
34 | /**
|
35 | * A prefix to apply to generated selectors.
|
36 | */
|
37 | prefix?: string;
|
38 | /**
|
39 | * The root directory of the new app.
|
40 | */
|
41 | projectRoot?: string;
|
42 | /**
|
43 | * When true, creates a routing NgModule.
|
44 | */
|
45 | routing?: boolean;
|
46 | /**
|
47 | * Skip installing dependency packages.
|
48 | */
|
49 | skipInstall?: boolean;
|
50 | /**
|
51 | * When true, does not add dependencies to the "package.json" file.
|
52 | */
|
53 | skipPackageJson?: boolean;
|
54 | /**
|
55 | * When true, does not create "spec.ts" test files for the app.
|
56 | */
|
57 | skipTests?: boolean;
|
58 | /**
|
59 | * Creates an application with stricter build optimization options.
|
60 | */
|
61 | strict?: boolean;
|
62 | /**
|
63 | * The file extension or preprocessor to use for style files.
|
64 | */
|
65 | style?: Style;
|
66 | /**
|
67 | * The view encapsulation strategy to use in the new app.
|
68 | */
|
69 | viewEncapsulation?: ViewEncapsulation;
|
70 | }
|
71 | /**
|
72 | * The file extension or preprocessor to use for style files.
|
73 | */
|
74 | export declare enum Style {
|
75 | Css = "css",
|
76 | Less = "less",
|
77 | Sass = "sass",
|
78 | Scss = "scss",
|
79 | Styl = "styl"
|
80 | }
|
81 | /**
|
82 | * The view encapsulation strategy to use in the new app.
|
83 | */
|
84 | export declare enum ViewEncapsulation {
|
85 | Emulated = "Emulated",
|
86 | Native = "Native",
|
87 | None = "None",
|
88 | ShadowDom = "ShadowDom"
|
89 | }
|