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