source: trip-planner-front/node_modules/@schematics/angular/ng-new/schema.d.ts@ eed0bf8

Last change on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 3.6 KB
RevLine 
[6a3a178]1/**
2 * Creates a new project by combining the workspace and application schematics.
3 */
4export interface Schema {
5 /**
6 * Initial git repository commit information.
7 */
8 commit?: CommitUnion;
9 /**
10 * Create a new initial application project in the 'src' folder of the new workspace. When
11 * false, creates an empty workspace with no initial application. You can then use the
12 * generate application command so that all applications are created in the projects folder.
13 */
14 createApplication?: boolean;
15 /**
16 * The directory name to create the workspace in.
17 */
18 directory?: string;
19 /**
20 * Include styles inline in the component TS file. By default, an external styles file is
21 * created and referenced in the component TypeScript file.
22 */
23 inlineStyle?: boolean;
24 /**
25 * Include template inline in the component TS file. By default, an external template file
26 * is created and referenced in the component TypeScript file.
27 */
28 inlineTemplate?: boolean;
29 /**
30 * Add support for legacy browsers like Internet Explorer using differential loading.
31 * @deprecated Legacy browsers support is deprecated since version 12. For more information,
32 * see https://angular.io/guide/browser-support
33 */
34 legacyBrowsers?: boolean;
35 /**
36 * Link the CLI to the global version (internal development only).
37 */
38 linkCli?: boolean;
39 /**
40 * Create a workspace without any testing frameworks. (Use for learning purposes only.)
41 */
42 minimal?: boolean;
43 /**
44 * The name of the new workspace and initial project.
45 */
46 name: string;
47 /**
48 * The path where new projects will be created, relative to the new workspace root.
49 */
50 newProjectRoot?: string;
51 /**
52 * The package manager used to install dependencies.
53 */
54 packageManager?: PackageManager;
55 /**
56 * The prefix to apply to generated selectors for the initial project.
57 */
58 prefix?: string;
59 /**
60 * Generate a routing module for the initial project.
61 */
62 routing?: boolean;
63 /**
64 * Do not initialize a git repository.
65 */
66 skipGit?: boolean;
67 /**
68 * Do not install dependency packages.
69 */
70 skipInstall?: boolean;
71 /**
72 * Do not generate "spec.ts" test files for the new project.
73 */
74 skipTests?: boolean;
75 /**
76 * Creates a workspace with stricter type checking and stricter bundle budgets settings.
77 * This setting helps improve maintainability and catch bugs ahead of time. For more
78 * information, see https://angular.io/guide/strict-mode
79 */
80 strict?: boolean;
81 /**
82 * The file extension or preprocessor to use for style files.
83 */
84 style?: Style;
85 /**
86 * The version of the Angular CLI to use.
87 */
88 version: string;
89 /**
90 * The view encapsulation strategy to use in the initial project.
91 */
92 viewEncapsulation?: ViewEncapsulation;
93}
94/**
95 * Initial git repository commit information.
96 */
97export declare type CommitUnion = boolean | CommitObject;
98export interface CommitObject {
99 email: string;
100 message?: string;
101 name: string;
102}
103/**
104 * The package manager used to install dependencies.
105 */
106export declare enum PackageManager {
107 Cnpm = "cnpm",
108 Npm = "npm",
109 Pnpm = "pnpm",
110 Yarn = "yarn"
111}
112/**
113 * The file extension or preprocessor to use for style files.
114 */
115export declare enum Style {
116 Css = "css",
117 Less = "less",
118 Sass = "sass",
119 Scss = "scss"
120}
121/**
122 * The view encapsulation strategy to use in the initial project.
123 */
124export declare enum ViewEncapsulation {
125 Emulated = "Emulated",
126 None = "None",
127 ShadowDom = "ShadowDom"
128}
Note: See TracBrowser for help on using the repository browser.