From c3acf3cc26b9e37a3b8f4c369f42731f46b522ee Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Fri, 24 Sep 2021 14:32:40 +0200 Subject: [PATCH] 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 --- packages/angular/cli/lib/config/workspace-schema.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/angular/cli/lib/config/workspace-schema.json b/packages/angular/cli/lib/config/workspace-schema.json index d3364a054d3b..b40cee9713bc 100644 --- a/packages/angular/cli/lib/config/workspace-schema.json +++ b/packages/angular/cli/lib/config/workspace-schema.json @@ -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"