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
}

0 commit comments

Comments
 (0)