angular/packages/localize/schematics/ng-add/schema.json
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

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": []
}