In Angular CLI version 12, JSON Schema `draft-04` will no longer be supported. Therefore `id` will need to be updated to `$id`. - We replace id with $id, this no longer valid in draft-07. - Replace all $schemas to http://json-schema.org/draft-07/schema, this is needed to "pin" the schema to draft-07. More information about this draft can be found https://json-schema.org/draft-07/json-schema-release-notes.html PR Close #41574
22 lines
608 B
JSON
22 lines
608 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "SchematicsAngularLocalizeNgAdd",
|
|
"title": "Angular Localize Ng Add Schema",
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "The name of the project.",
|
|
"$default": {
|
|
"$source": "projectName"
|
|
}
|
|
},
|
|
"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": []
|
|
}
|