Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit c0d8f2c

Browse files
filipesilvaclydin
authored andcommitted
fix(@angular-devkit/schematics): use correct additionalProperties schema property
1 parent bff651c commit c0d8f2c

File tree

1 file changed

+23
-25
lines changed

1 file changed

+23
-25
lines changed

packages/angular_devkit/schematics/collection-schema.json

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,30 @@
77
"schematics": {
88
"type": "object",
99
"description": "A map of schematic names to schematic details",
10-
"properties": {
11-
"additionalProperty": {
12-
"type": "object",
13-
"properties": {
14-
"factory": {
15-
"type": "string",
16-
"description": "A folder or file path to the schematic factory"
17-
},
18-
"description": {
19-
"type": "string",
20-
"description": "A description for the schematic"
21-
},
22-
"extends": {
23-
"type": "string",
24-
"description": "An schematic override. It can be a local schematic or from another collection (in the format 'collection:schematic')"
25-
},
26-
"schema": {
27-
"type": "string",
28-
"description": "Location of the schema.json file of the schematic"
29-
}
10+
"additionalProperties": {
11+
"type": "object",
12+
"properties": {
13+
"factory": {
14+
"type": "string",
15+
"description": "A folder or file path to the schematic factory"
3016
},
31-
"required": [
32-
"factory",
33-
"description"
34-
]
35-
}
17+
"description": {
18+
"type": "string",
19+
"description": "A description for the schematic"
20+
},
21+
"extends": {
22+
"type": "string",
23+
"description": "An schematic override. It can be a local schematic or from another collection (in the format 'collection:schematic')"
24+
},
25+
"schema": {
26+
"type": "string",
27+
"description": "Location of the schema.json file of the schematic"
28+
}
29+
},
30+
"required": [
31+
"factory",
32+
"description"
33+
]
3634
}
3735
},
3836
"version": {

0 commit comments

Comments
 (0)