refactor: update `$schema` and `id` keywords (#41574)
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
This commit is contained in:
parent
0d55d4557f
commit
5332a4a919
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"$schema": "http://json-schema.org/schema",
|
||||
"id": "SchematicsAngularElementsNgAdd",
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "SchematicsAngularElementsNgAdd",
|
||||
"title": "Angular Elements Ng Add Schema",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"$schema": "http://json-schema.org/schema",
|
||||
"id": "SchematicsAngularLocalizeNgAdd",
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "SchematicsAngularLocalizeNgAdd",
|
||||
"title": "Angular Localize Ng Add Schema",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
Loading…
Reference in New Issue