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
}

0 commit comments

Comments
 (0)