UNPKG

981 BTypeScriptView 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 * When true, applies lint fixes after generating the library.
11 */
12 lintFix?: boolean;
13 /**
14 * The name of the library.
15 */
16 name?: string;
17 /**
18 * A prefix to apply to generated selectors.
19 */
20 prefix?: string;
21 /**
22 * When true, does not install dependency packages.
23 */
24 skipInstall?: boolean;
25 /**
26 * When true, does not add dependencies to the "package.json" file.
27 */
28 skipPackageJson?: boolean;
29 /**
30 * When true, does not update "tsconfig.base.json" to add a path mapping for the new
31 * library. The path mapping is needed to use the library in an app, but can be disabled
32 * here to simplify development.
33 */
34 skipTsConfig?: boolean;
35}