1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
/**
* Creates a new project by combining the workspace and application schematics.
*/
export interface Schema {
/**
* Initial git repository commit information.
*/
commit?: CommitUnion;
/**
* 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.
*/
createApplication?: boolean;
/**
* The directory name to create the workspace in.
*/
directory?: string;
/**
* Include styles inline in the component TS file. By default, an external styles file is
* created and referenced in the component TypeScript file.
*/
inlineStyle?: boolean;
/**
* Include template inline in the component TS file. By default, an external template file
* is created and referenced in the component TypeScript file.
*/
inlineTemplate?: boolean;
/**
* Link the CLI to the global version (internal development only).
*/
linkCli?: boolean;
/**
* Create a workspace without any testing frameworks. (Use for learning purposes only.)
*/
minimal?: boolean;
/**
* The name of the new workspace and initial project.
*/
name: string;
/**
* The path where new projects will be created, relative to the new workspace root.
*/
newProjectRoot?: string;
/**
* The package manager used to install dependencies.
*/
packageManager?: PackageManager;
/**
* The prefix to apply to generated selectors for the initial project.
*/
prefix?: string;
/**
* Generate a routing module for the initial project.
*/
routing?: boolean;
/**
* Do not initialize a git repository.
*/
skipGit?: boolean;
/**
* Do not install dependency packages.
*/
skipInstall?: boolean;
/**
* Do not generate "spec.ts" test files for the new project.
*/
skipTests?: boolean;
/**
* 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
*/
strict?: boolean;
/**
* The file extension or preprocessor to use for style files.
*/
style?: Style;
/**
* The version of the Angular CLI to use.
*/
version: string;
/**
* The view encapsulation strategy to use in the initial project.
*/
viewEncapsulation?: ViewEncapsulation;
}
/**
* Initial git repository commit information.
*/
export declare type CommitUnion = boolean | CommitObject;
export interface CommitObject {
email: string;
message?: string;
name: string;
}
/**
* The package manager used to install dependencies.
*/
export declare enum PackageManager {
Cnpm = "cnpm",
Npm = "npm",
Pnpm = "pnpm",
Yarn = "yarn"
}
/**
* The file extension or preprocessor to use for style files.
*/
export declare enum Style {
Css = "css",
Less = "less",
Sass = "sass",
Scss = "scss"
}
/**
* The view encapsulation strategy to use in the initial project.
*/
export declare enum ViewEncapsulation {
Emulated = "Emulated",
None = "None",
ShadowDom = "ShadowDom"
}
|