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
23 lines
538 B
JSON
23 lines
538 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "SchematicsAngularElementsNgAdd",
|
|
"title": "Angular Elements Ng Add Schema",
|
|
"type": "object",
|
|
"properties": {
|
|
"project": {
|
|
"type": "string",
|
|
"description": "The name of the project.",
|
|
"$default": {
|
|
"$source": "projectName"
|
|
}
|
|
},
|
|
"skipPackageJson": {
|
|
"description": "When true, does not add dependencies to the \"package.json\" file.",
|
|
"type": "boolean",
|
|
"default": false
|
|
}
|
|
},
|
|
"required": [
|
|
]
|
|
}
|