UNPKG

1.03 kBTypeScriptView Raw
1/**
2 * Creates a new, generic library project in the current workspace.
3 */
4export interface Schema {
5 /**
6 * The path at which to create the library's public API file, relative to the workspace root.
7 */
8 entryFile?: string;
9 /**
10 * The name of the library.
11 */
12 name: string;
13 /**
14 * A prefix to apply to generated selectors.
15 */
16 prefix?: string;
17 /**
18 * The root directory of the new library.
19 */
20 projectRoot?: string;
21 /**
22 * Do not install dependency packages.
23 */
24 skipInstall?: boolean;
25 /**
26 * Do not add dependencies to the "package.json" file.
27 */
28 skipPackageJson?: boolean;
29 /**
30 * Do not update "tsconfig.json" to add a path mapping for the new library. The path mapping
31 * is needed to use the library in an app, but can be disabled here to simplify development.
32 */
33 skipTsConfig?: boolean;
34 /**
35 * Creates a library based upon the standalone API, without NgModules.
36 */
37 standalone?: boolean;
38}