mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
392c56749a
`--project` is unwritten standard to provide the project name. With this change we allow the project name to be provided using the `--project` command line argument and remove the ambiguity with other schematics. PR Close #46664
27 lines
623 B
TypeScript
27 lines
623 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
|
|
export interface Schema {
|
|
/**
|
|
* The name of the project.
|
|
*/
|
|
project?: string;
|
|
/**
|
|
* The name of the project.
|
|
* @deprecated use the `project` option instead.
|
|
*/
|
|
name?: string;
|
|
/**
|
|
* Will this project use $localize at runtime?
|
|
*
|
|
* If true then the dependency is included in the `dependencies` section of package.json, rather
|
|
* than `devDependencies`.
|
|
*/
|
|
useAtRuntime?: boolean;
|
|
}
|