38 lines
1 KiB
TypeScript
Executable file
38 lines
1 KiB
TypeScript
Executable file
/**
|
|
* Creates a new, generic library project in the current workspace.
|
|
*/
|
|
export interface Schema {
|
|
/**
|
|
* The path at which to create the library's public API file, relative to the workspace root.
|
|
*/
|
|
entryFile?: string;
|
|
/**
|
|
* The name of the library.
|
|
*/
|
|
name: string;
|
|
/**
|
|
* A prefix to apply to generated selectors.
|
|
*/
|
|
prefix?: string;
|
|
/**
|
|
* The root directory of the new library.
|
|
*/
|
|
projectRoot?: string;
|
|
/**
|
|
* Do not install dependency packages.
|
|
*/
|
|
skipInstall?: boolean;
|
|
/**
|
|
* Do not add dependencies to the "package.json" file.
|
|
*/
|
|
skipPackageJson?: boolean;
|
|
/**
|
|
* Do not update "tsconfig.json" to add a path mapping for the new library. The path mapping
|
|
* is needed to use the library in an app, but can be disabled here to simplify development.
|
|
*/
|
|
skipTsConfig?: boolean;
|
|
/**
|
|
* Creates a library based upon the standalone API, without NgModules.
|
|
*/
|
|
standalone?: boolean;
|
|
}
|