mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
`--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
26 lines
765 B
JSON
26 lines
765 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "SchematicsAngularLocalizeNgAdd",
|
|
"title": "Angular Localize Ng Add Schema",
|
|
"type": "object",
|
|
"properties": {
|
|
"project": {
|
|
"type": "string",
|
|
"description": "The name of the project.",
|
|
"$default": {
|
|
"$source": "projectName"
|
|
}
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "The name of the project.",
|
|
"x-deprecated": "Use the \"project\" option instead."
|
|
},
|
|
"useAtRuntime": {
|
|
"type": "boolean",
|
|
"description": "If set then `@angular/localize` is included in the `dependencies` section of `package.json`, rather than `devDependencies`, which is the default.",
|
|
"default": false
|
|
}
|
|
},
|
|
"required": []
|
|
}
|