Skip to content

Commit 295d470

Browse files
Broccoalexeagle
authored andcommitted
fix(@schematics/angular): Allow additionalProperties in schematics options
fixes #11681
1 parent 409f42a commit 295d470

File tree

17 files changed

+17
-34
lines changed

17 files changed

+17
-34
lines changed

packages/schematics/angular/app-shell/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,5 @@
9898
"required": [
9999
"clientProject",
100100
"universalProject"
101-
],
102-
"additionalProperties": false
101+
]
103102
}

packages/schematics/angular/application/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,5 @@
6363
"description": "Do not add dependencies to package.json."
6464
}
6565
},
66-
"required": [],
67-
"additionalProperties": false
66+
"required": []
6867
}

packages/schematics/angular/class/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,5 @@
3636
"default": ""
3737
}
3838
},
39-
"required": [],
40-
"additionalProperties": false
39+
"required": []
4140
}

packages/schematics/angular/component/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,5 @@
105105
"description": "Specifies if the component is an entry component of declaring module."
106106
}
107107
},
108-
"required": [],
109-
"additionalProperties": false
108+
"required": []
110109
}

packages/schematics/angular/directive/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,5 @@
7070
"description": "Specifies if declaring module exports the directive."
7171
}
7272
},
73-
"required": [],
74-
"additionalProperties": false
73+
"required": []
7574
}

packages/schematics/angular/e2e/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,5 @@
3030
},
3131
"required": [
3232
"relatedAppName"
33-
],
34-
"additionalProperties": false
33+
]
3534
}

packages/schematics/angular/enum/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,5 @@
2626
}
2727
}
2828
},
29-
"required": [],
30-
"additionalProperties": false
29+
"required": []
3130
}

packages/schematics/angular/guard/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,5 @@
3636
}
3737
}
3838
},
39-
"required": [],
40-
"additionalProperties": false
39+
"required": []
4140
}

packages/schematics/angular/interface/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,5 @@
3939
}
4040
}
4141
},
42-
"required": [],
43-
"additionalProperties": false
42+
"required": []
4443
}

packages/schematics/angular/library/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,5 @@
3636
"description": "Do not update tsconfig.json for development experience."
3737
}
3838
},
39-
"required": [],
40-
"additionalProperties": false
39+
"required": []
4140
}

packages/schematics/angular/module/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,5 @@
5858
"alias": "m"
5959
}
6060
},
61-
"required": [],
62-
"additionalProperties": false
61+
"required": []
6362
}

packages/schematics/angular/ng-new/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,5 @@
113113
},
114114
"required": [
115115
"version"
116-
],
117-
"additionalProperties": false
116+
]
118117
}

packages/schematics/angular/pipe/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,5 @@
5252
"description": "Specifies if declaring module exports the pipe."
5353
}
5454
},
55-
"required": [],
56-
"additionalProperties": false
55+
"required": []
5756
}

packages/schematics/angular/service-worker/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,5 @@
2222
"default": "production"
2323
}
2424
},
25-
"required": [],
26-
"additionalProperties": false
25+
"required": []
2726
}

packages/schematics/angular/service/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,5 @@
3636
"description": "Specifies if a spec file is generated."
3737
}
3838
},
39-
"required": [],
40-
"additionalProperties": false
39+
"required": []
4140
}

packages/schematics/angular/universal/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,5 @@
6161
},
6262
"required": [
6363
"clientProject"
64-
],
65-
"additionalProperties": false
64+
]
6665
}

packages/schematics/angular/workspace/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,5 @@
7070
"required": [
7171
"name",
7272
"version"
73-
],
74-
"additionalProperties": false
73+
]
7574
}

0 commit comments

Comments
 (0)