| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- export interface Schema {
- /**
- * Initial git repository commit information.
- */
- commit?: CommitUnion;
- /**
- * When true (the default), creates a new initial app project in the src folder of the new
- * workspace. When false, creates an empty workspace with no initial app. You can then use
- * the generate application command so that all apps are created in the projects folder.
- */
- createApplication?: boolean;
- /**
- * The directory name to create the workspace in.
- */
- directory?: string;
- /**
- * When true, includes styles inline in the component TS file. By default, an external
- * styles file is created and referenced in the component TS file.
- */
- inlineStyle?: boolean;
- /**
- * When true, includes template inline in the component TS file. By default, an external
- * template file is created and referenced in the component TS file.
- */
- inlineTemplate?: boolean;
- /**
- * When true, links the CLI to the global version (internal development only).
- */
- linkCli?: boolean;
- /**
- * When true, creates a project 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;
- /**
- * When true, generates a routing module for the initial project.
- */
- routing?: boolean;
- /**
- * When true, does not initialize a git repository.
- */
- skipGit?: boolean;
- /**
- * When true, does not install dependency packages.
- */
- skipInstall?: boolean;
- /**
- * When true, does not generate "spec.ts" test files for the new project.
- */
- skipTests?: boolean;
- /**
- * Creates a workspace with stricter TypeScript compiler options.
- */
- 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",
- Styl = "styl"
- }
- /**
- * The view encapsulation strategy to use in the initial project.
- */
- export declare enum ViewEncapsulation {
- Emulated = "Emulated",
- Native = "Native",
- None = "None",
- ShadowDom = "ShadowDom"
- }
|