Skip to content

Commit f64087b

Browse files
Broccohansl
authored andcommitted
fix(@schematics/angular): Allow additionalProperties in schematics options
fixes #11681
1 parent 99ad3f4 commit f64087b

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
@@ -110,6 +110,5 @@
110110
"description": "Specifies whether to apply lint fixes after generating the component."
111111
}
112112
},
113-
"required": [],
114-
"additionalProperties": false
113+
"required": []
115114
}

packages/schematics/angular/directive/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,5 @@
7575
"description": "Specifies whether to apply lint fixes after generating the directive."
7676
}
7777
},
78-
"required": [],
79-
"additionalProperties": false
78+
"required": []
8079
}

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
@@ -31,6 +31,5 @@
3131
"description": "Specifies whether to apply lint fixes after generating the enum."
3232
}
3333
},
34-
"required": [],
35-
"additionalProperties": false
34+
"required": []
3635
}

packages/schematics/angular/guard/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,5 @@
4141
"description": "Specifies whether to apply lint fixes after generating the guard."
4242
}
4343
},
44-
"required": [],
45-
"additionalProperties": false
44+
"required": []
4645
}

packages/schematics/angular/interface/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,5 @@
4444
"description": "Specifies whether to apply lint fixes after generating the directive."
4545
}
4646
},
47-
"required": [],
48-
"additionalProperties": false
47+
"required": []
4948
}

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
@@ -57,6 +57,5 @@
5757
"description": "Specifies whether to apply lint fixes after generating the pipe."
5858
}
5959
},
60-
"required": [],
61-
"additionalProperties": false
60+
"required": []
6261
}

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
@@ -41,6 +41,5 @@
4141
"description": "Specifies whether to apply lint fixes after generating the pipe."
4242
}
4343
},
44-
"required": [],
45-
"additionalProperties": false
44+
"required": []
4645
}

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)