From 9ccf9a94335b325dbc20df73236761a8882bd92b Mon Sep 17 00:00:00 2001 From: Colum Ferry Date: Wed, 25 Jan 2023 09:21:33 +0000 Subject: [PATCH] feat(angular): add x-priority to executors (#14543) (cherry picked from commit d23264f820af0b52d7a8c0c4edd064c3dd0e1cad) --- .../angular/executors/module-federation-dev-server.json | 3 ++- .../packages/angular/executors/module-federation-dev-ssr.json | 3 ++- .../generated/packages/angular/executors/ng-packagr-lite.json | 3 ++- docs/generated/packages/angular/executors/package.json | 3 ++- .../generated/packages/angular/executors/webpack-browser.json | 4 +++- .../packages/angular/executors/webpack-dev-server.json | 3 ++- docs/generated/packages/angular/executors/webpack-server.json | 4 +++- .../src/builders/module-federation-dev-server/schema.json | 3 ++- .../src/builders/module-federation-dev-ssr/schema.json | 3 ++- packages/angular/src/builders/webpack-browser/schema.json | 4 +++- packages/angular/src/builders/webpack-dev-server/schema.json | 3 ++- packages/angular/src/builders/webpack-server/schema.json | 4 +++- packages/angular/src/executors/ng-packagr-lite/schema.json | 3 ++- packages/angular/src/executors/package/schema.json | 3 ++- 14 files changed, 32 insertions(+), 14 deletions(-) diff --git a/docs/generated/packages/angular/executors/module-federation-dev-server.json b/docs/generated/packages/angular/executors/module-federation-dev-server.json index 02d810ff6f57f..571d98fb25bcc 100644 --- a/docs/generated/packages/angular/executors/module-federation-dev-server.json +++ b/docs/generated/packages/angular/executors/module-federation-dev-server.json @@ -101,7 +101,8 @@ "devRemotes": { "type": "array", "items": { "type": "string" }, - "description": "List of remote applications to run in development mode (i.e. using serve target)." + "description": "List of remote applications to run in development mode (i.e. using serve target).", + "x-priority": "important" }, "skipRemotes": { "type": "array", diff --git a/docs/generated/packages/angular/executors/module-federation-dev-ssr.json b/docs/generated/packages/angular/executors/module-federation-dev-ssr.json index eeae7fc679b20..973528cd8ec0f 100644 --- a/docs/generated/packages/angular/executors/module-federation-dev-ssr.json +++ b/docs/generated/packages/angular/executors/module-federation-dev-ssr.json @@ -66,7 +66,8 @@ "devRemotes": { "type": "array", "items": { "type": "string" }, - "description": "List of remote applications to run in development mode (i.e. using serve target)." + "description": "List of remote applications to run in development mode (i.e. using serve target).", + "x-priority": "important" }, "skipRemotes": { "type": "array", diff --git a/docs/generated/packages/angular/executors/ng-packagr-lite.json b/docs/generated/packages/angular/executors/ng-packagr-lite.json index 0b4d3602d8c4e..ecdd95ec29885 100644 --- a/docs/generated/packages/angular/executors/ng-packagr-lite.json +++ b/docs/generated/packages/angular/executors/ng-packagr-lite.json @@ -32,7 +32,8 @@ "type": "string", "description": "The full path for the TypeScript configuration file, relative to the workspace root.", "x-completion-type": "file", - "x-completion-glob": "tsconfig.*.json" + "x-completion-glob": "tsconfig.*.json", + "x-priority": "important" }, "watch": { "type": "boolean", diff --git a/docs/generated/packages/angular/executors/package.json b/docs/generated/packages/angular/executors/package.json index f01785dce1ea4..d89faf0e6d96f 100644 --- a/docs/generated/packages/angular/executors/package.json +++ b/docs/generated/packages/angular/executors/package.json @@ -35,7 +35,8 @@ "type": "string", "description": "The full path for the TypeScript configuration file, relative to the workspace root.", "x-completion-type": "file", - "x-completion-glob": "tsconfig.*.json" + "x-completion-glob": "tsconfig.*.json", + "x-priority": "important" }, "watch": { "type": "boolean", diff --git a/docs/generated/packages/angular/executors/webpack-browser.json b/docs/generated/packages/angular/executors/webpack-browser.json index ebd544539fef1..9c3ea1ba54629 100644 --- a/docs/generated/packages/angular/executors/webpack-browser.json +++ b/docs/generated/packages/angular/executors/webpack-browser.json @@ -159,7 +159,8 @@ "pattern": "\\.(?:css|scss|sass|less|styl)$" } ] - } + }, + "x-priority": "important" }, "inlineStyleLanguage": { "description": "The stylesheet language to use for the application's inline component styles.", @@ -550,6 +551,7 @@ "type": "string" } }, + "x-priority": "important", "additionalProperties": false }, "buildLibsFromSource": { diff --git a/docs/generated/packages/angular/executors/webpack-dev-server.json b/docs/generated/packages/angular/executors/webpack-dev-server.json index 05c80b831c35f..dc48a9996a0d3 100644 --- a/docs/generated/packages/angular/executors/webpack-dev-server.json +++ b/docs/generated/packages/angular/executors/webpack-dev-server.json @@ -101,7 +101,8 @@ }, "buildLibsFromSource": { "type": "boolean", - "description": "Read buildable libraries from source instead of building them separately. If not set, it will take the value specified in the `browserTarget` options, or it will default to `true` if it's also not set in the `browserTarget` options." + "description": "Read buildable libraries from source instead of building them separately. If not set, it will take the value specified in the `browserTarget` options, or it will default to `true` if it's also not set in the `browserTarget` options.", + "x-priority": "important" } }, "additionalProperties": false, diff --git a/docs/generated/packages/angular/executors/webpack-server.json b/docs/generated/packages/angular/executors/webpack-server.json index 6aa0c74f68868..0e4c9fa6347cc 100644 --- a/docs/generated/packages/angular/executors/webpack-server.json +++ b/docs/generated/packages/angular/executors/webpack-server.json @@ -284,12 +284,14 @@ "type": "string" } }, + "x-priority": "important", "additionalProperties": false }, "buildLibsFromSource": { "type": "boolean", "description": "Read buildable libraries from source instead of building them separately.", - "default": true + "default": true, + "x-priority": "important" } }, "additionalProperties": false, diff --git a/packages/angular/src/builders/module-federation-dev-server/schema.json b/packages/angular/src/builders/module-federation-dev-server/schema.json index 738c69df9121e..d2480b000ecfa 100644 --- a/packages/angular/src/builders/module-federation-dev-server/schema.json +++ b/packages/angular/src/builders/module-federation-dev-server/schema.json @@ -109,7 +109,8 @@ "items": { "type": "string" }, - "description": "List of remote applications to run in development mode (i.e. using serve target)." + "description": "List of remote applications to run in development mode (i.e. using serve target).", + "x-priority": "important" }, "skipRemotes": { "type": "array", diff --git a/packages/angular/src/builders/module-federation-dev-ssr/schema.json b/packages/angular/src/builders/module-federation-dev-ssr/schema.json index 701458a070245..0b2a7787d99cf 100644 --- a/packages/angular/src/builders/module-federation-dev-ssr/schema.json +++ b/packages/angular/src/builders/module-federation-dev-ssr/schema.json @@ -65,7 +65,8 @@ "items": { "type": "string" }, - "description": "List of remote applications to run in development mode (i.e. using serve target)." + "description": "List of remote applications to run in development mode (i.e. using serve target).", + "x-priority": "important" }, "skipRemotes": { "type": "array", diff --git a/packages/angular/src/builders/webpack-browser/schema.json b/packages/angular/src/builders/webpack-browser/schema.json index ed6500274fcad..b96d21bd00b8c 100644 --- a/packages/angular/src/builders/webpack-browser/schema.json +++ b/packages/angular/src/builders/webpack-browser/schema.json @@ -128,7 +128,8 @@ "pattern": "\\.(?:css|scss|sass|less|styl)$" } ] - } + }, + "x-priority": "important" }, "inlineStyleLanguage": { "description": "The stylesheet language to use for the application's inline component styles.", @@ -454,6 +455,7 @@ "type": "string" } }, + "x-priority": "important", "additionalProperties": false }, "buildLibsFromSource": { diff --git a/packages/angular/src/builders/webpack-dev-server/schema.json b/packages/angular/src/builders/webpack-dev-server/schema.json index 1eb15684f77ce..df8e9d4ffa549 100644 --- a/packages/angular/src/builders/webpack-dev-server/schema.json +++ b/packages/angular/src/builders/webpack-dev-server/schema.json @@ -107,7 +107,8 @@ }, "buildLibsFromSource": { "type": "boolean", - "description": "Read buildable libraries from source instead of building them separately. If not set, it will take the value specified in the `browserTarget` options, or it will default to `true` if it's also not set in the `browserTarget` options." + "description": "Read buildable libraries from source instead of building them separately. If not set, it will take the value specified in the `browserTarget` options, or it will default to `true` if it's also not set in the `browserTarget` options.", + "x-priority": "important" } }, "additionalProperties": false, diff --git a/packages/angular/src/builders/webpack-server/schema.json b/packages/angular/src/builders/webpack-server/schema.json index c04484d683724..9df1e9a20051c 100644 --- a/packages/angular/src/builders/webpack-server/schema.json +++ b/packages/angular/src/builders/webpack-server/schema.json @@ -235,12 +235,14 @@ "type": "string" } }, + "x-priority": "important", "additionalProperties": false }, "buildLibsFromSource": { "type": "boolean", "description": "Read buildable libraries from source instead of building them separately.", - "default": true + "default": true, + "x-priority": "important" } }, "additionalProperties": false, diff --git a/packages/angular/src/executors/ng-packagr-lite/schema.json b/packages/angular/src/executors/ng-packagr-lite/schema.json index a435690103eef..eb0824f2ca3e2 100644 --- a/packages/angular/src/executors/ng-packagr-lite/schema.json +++ b/packages/angular/src/executors/ng-packagr-lite/schema.json @@ -29,7 +29,8 @@ "type": "string", "description": "The full path for the TypeScript configuration file, relative to the workspace root.", "x-completion-type": "file", - "x-completion-glob": "tsconfig.*.json" + "x-completion-glob": "tsconfig.*.json", + "x-priority": "important" }, "watch": { "type": "boolean", diff --git a/packages/angular/src/executors/package/schema.json b/packages/angular/src/executors/package/schema.json index f226b0387f6ce..f962c360e7c87 100644 --- a/packages/angular/src/executors/package/schema.json +++ b/packages/angular/src/executors/package/schema.json @@ -29,7 +29,8 @@ "type": "string", "description": "The full path for the TypeScript configuration file, relative to the workspace root.", "x-completion-type": "file", - "x-completion-glob": "tsconfig.*.json" + "x-completion-glob": "tsconfig.*.json", + "x-priority": "important" }, "watch": { "type": "boolean",