Skip to content

Commit

Permalink
fix(@angular/cli): remove unused cli project options.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
alan-agius4 authored and clydin committed Sep 29, 2021
1 parent 4e3ebbe commit c3acf3c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/angular/cli/lib/config/workspace-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,10 @@
"type": "object",
"properties": {
"cli": {
"$ref": "#/definitions/cliOptions"
"defaultCollection": {
"description": "The default schematics collection to use.",
"type": "string"
}
},
"schematics": {
"$ref": "#/definitions/schematicOptions"
Expand Down

0 comments on commit c3acf3c

Please sign in to comment.