Skip to content

Commit c3acf3c

Browse files
alan-agius4clydin
authored andcommitted
fix(@angular/cli): remove unused cli project options.
This fixes the JSON workspace schema and removed options projects `.project.cli`. Currently only `defaultCollection` is used from `projects.cli` other options are ignored. https://github.com/angular/angular-cli/blob/9afe185fc61390efec6bfbb16a0586487fd6f118/packages/angular/cli/models/schematic-command.ts#L381
1 parent 4e3ebbe commit c3acf3c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/angular/cli/lib/config/workspace-schema.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,10 @@
139139
"type": "object",
140140
"properties": {
141141
"cli": {
142-
"$ref": "#/definitions/cliOptions"
142+
"defaultCollection": {
143+
"description": "The default schematics collection to use.",
144+
"type": "string"
145+
}
143146
},
144147
"schematics": {
145148
"$ref": "#/definitions/schematicOptions"

0 commit comments

Comments
 (0)