Files
angular__angular/packages/localize/schematics/ng-add/schema.d.ts
Alan Agius 392c56749a fix(localize): add --project option to ng-add schematic (#46664)
`--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
2022-07-06 15:49:05 -07:00

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;
}