angular-cn/packages/elements/schematics/ng-add
Alan Agius 5332a4a919 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
2021-04-14 18:50:32 -07:00
..
BUILD.bazel fix(elements): schematics fails with schema.json not found error (#35211) 2020-02-11 11:42:52 -08:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
index_spec.ts fix(elements): update type castings for JSON.parse usage (#40710) 2021-02-09 10:48:43 -08:00
schema.d.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
schema.json refactor: update `$schema` and `id` keywords (#41574) 2021-04-14 18:50:32 -07:00