From a22bd54f3f932fc2ddcb2a5cee0f769eaf68a355 Mon Sep 17 00:00:00 2001 From: Colum Ferry Date: Mon, 16 Jan 2023 12:19:33 +0000 Subject: [PATCH] feat(angular): add priority flags to generators (#14299) --- .../angular/generators/add-linting.json | 15 +++++++---- .../angular/generators/application.json | 18 ++++++++----- .../generators/change-storybook-targets.json | 3 ++- .../generators/component-cypress-spec.json | 18 ++++++++----- .../angular/generators/component-story.json | 15 +++++++---- .../angular/generators/component-test.json | 15 +++++++---- .../angular/generators/component.json | 9 ++++--- .../generators/convert-to-with-mf.json | 3 ++- .../generators/convert-tslint-to-eslint.json | 6 +++-- .../cypress-component-configuration.json | 9 ++++--- .../angular/generators/downgrade-module.json | 12 ++++++--- .../packages/angular/generators/host.json | 15 +++++++---- .../packages/angular/generators/init.json | 18 ++++++++----- .../angular/generators/karma-project.json | 9 ++++--- .../packages/angular/generators/karma.json | 3 ++- .../library-secondary-entry-point.json | 6 +++-- .../packages/angular/generators/library.json | 27 ++++++++++++------- .../packages/angular/generators/move.json | 9 ++++--- .../packages/angular/generators/ng-add.json | 21 ++++++++++----- .../packages/angular/generators/ngrx.json | 17 +++++++----- .../packages/angular/generators/remote.json | 9 ++++--- .../angular/generators/scam-directive.json | 12 ++++++--- .../angular/generators/scam-pipe.json | 12 ++++++--- .../generators/scam-to-standalone.json | 9 ++++--- .../packages/angular/generators/scam.json | 9 ++++--- .../packages/angular/generators/setup-mf.json | 9 ++++--- .../angular/generators/setup-ssr.json | 3 ++- .../angular/generators/setup-tailwind.json | 6 +++-- .../packages/angular/generators/stories.json | 9 ++++--- .../generators/storybook-configuration.json | 3 ++- .../angular/generators/upgrade-module.json | 15 +++++++---- .../angular/generators/web-worker.json | 9 ++++--- .../src/generators/add-linting/schema.json | 15 +++++++---- .../src/generators/application/schema.json | 18 ++++++++----- .../change-storybook-targets/schema.json | 3 ++- .../component-cypress-spec/schema.json | 18 ++++++++----- .../generators/component-story/schema.json | 15 +++++++---- .../src/generators/component-test/schema.json | 15 +++++++---- .../src/generators/component/schema.json | 9 ++++--- .../generators/convert-to-with-mf/schema.json | 3 ++- .../convert-tslint-to-eslint/schema.json | 6 +++-- .../schema.json | 9 ++++--- .../generators/downgrade-module/schema.json | 12 ++++++--- .../angular/src/generators/host/schema.json | 15 +++++++---- .../angular/src/generators/init/schema.json | 18 ++++++++----- .../src/generators/karma-project/schema.json | 9 ++++--- .../angular/src/generators/karma/schema.json | 3 ++- .../library-secondary-entry-point/schema.json | 6 +++-- .../src/generators/library/schema.json | 27 ++++++++++++------- .../angular/src/generators/move/schema.json | 9 ++++--- .../angular/src/generators/ng-add/schema.json | 21 ++++++++++----- .../angular/src/generators/ngrx/schema.json | 17 +++++++----- .../angular/src/generators/remote/schema.json | 9 ++++--- .../src/generators/scam-directive/schema.json | 12 ++++++--- .../src/generators/scam-pipe/schema.json | 12 ++++++--- .../generators/scam-to-standalone/schema.json | 9 ++++--- .../angular/src/generators/scam/schema.json | 9 ++++--- .../src/generators/setup-mf/schema.json | 9 ++++--- .../src/generators/setup-ssr/schema.json | 3 ++- .../src/generators/setup-tailwind/schema.json | 6 +++-- .../src/generators/stories/schema.json | 9 ++++--- .../storybook-configuration/schema.json | 3 ++- .../src/generators/upgrade-module/schema.json | 15 +++++++---- .../src/generators/web-worker/schema.json | 9 ++++--- 64 files changed, 470 insertions(+), 236 deletions(-) diff --git a/docs/generated/packages/angular/generators/add-linting.json b/docs/generated/packages/angular/generators/add-linting.json index affe18c442..2baf5f7a7a 100644 --- a/docs/generated/packages/angular/generators/add-linting.json +++ b/docs/generated/packages/angular/generators/add-linting.json @@ -18,15 +18,18 @@ "prefix": { "type": "string", "format": "html-selector", - "description": "The prefix to apply to generated selectors." + "description": "The prefix to apply to generated selectors.", + "x-priority": "important" }, "projectName": { "type": "string", - "description": "The name of the project." + "description": "The name of the project.", + "x-priority": "important" }, "projectRoot": { "type": "string", - "description": "The path to the root of the selected project." + "description": "The path to the root of the selected project.", + "x-priority": "important" }, "setParserOptionsProject": { "type": "boolean", @@ -36,12 +39,14 @@ "skipFormat": { "type": "boolean", "description": "Skip formatting files.", - "default": false + "default": false, + "x-priority": "internal" }, "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not add dependencies to `package.json`." + "description": "Do not add dependencies to `package.json`.", + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/docs/generated/packages/angular/generators/application.json b/docs/generated/packages/angular/generators/application.json index 5177cc464f..1cd3b83521 100644 --- a/docs/generated/packages/angular/generators/application.json +++ b/docs/generated/packages/angular/generators/application.json @@ -18,7 +18,8 @@ }, "directory": { "description": "The directory of the new application.", - "type": "string" + "type": "string", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", @@ -49,7 +50,8 @@ "type": "boolean", "description": "Generate a routing module.", "default": false, - "x-prompt": "Would you like to configure routing for this application?" + "x-prompt": "Would you like to configure routing for this application?", + "x-priority": "important" }, "inlineStyle": { "description": "Specifies if the style will be in the ts file.", @@ -83,12 +85,14 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not add dependencies to `package.json`." + "description": "Do not add dependencies to `package.json`.", + "x-priority": "internal" }, "unitTestRunner": { "type": "string", @@ -123,7 +127,8 @@ }, "standaloneConfig": { "description": "Split the project configuration into `/project.json` rather than including it inside `workspace.json`.", - "type": "boolean" + "type": "boolean", + "x-priority": "internal" }, "port": { "type": "number", @@ -148,7 +153,8 @@ "description": "Create an application at the root of the workspace.", "type": "boolean", "default": false, - "hidden": true + "hidden": true, + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/docs/generated/packages/angular/generators/change-storybook-targets.json b/docs/generated/packages/angular/generators/change-storybook-targets.json index a7a12e9829..350d7e84aa 100644 --- a/docs/generated/packages/angular/generators/change-storybook-targets.json +++ b/docs/generated/packages/angular/generators/change-storybook-targets.json @@ -12,7 +12,8 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/docs/generated/packages/angular/generators/component-cypress-spec.json b/docs/generated/packages/angular/generators/component-cypress-spec.json index e17bff1c8a..0bf16b4ba6 100644 --- a/docs/generated/packages/angular/generators/component-cypress-spec.json +++ b/docs/generated/packages/angular/generators/component-cypress-spec.json @@ -11,27 +11,32 @@ "projectName": { "type": "string", "description": "The name of the project.", - "examples": ["ui-samples"] + "examples": ["ui-samples"], + "x-priority": "important" }, "projectPath": { "type": "string", "description": "Path to the project.", - "examples": ["libs/ui-samples"] + "examples": ["libs/ui-samples"], + "x-priority": "important" }, "componentName": { "type": "string", "description": "Class name of the component.", - "examples": ["AwesomeComponent"] + "examples": ["AwesomeComponent"], + "x-priority": "important" }, "componentPath": { "type": "string", "description": "Relative path to the component file from the project root.", - "examples": ["awesome"] + "examples": ["awesome"], + "x-priority": "important" }, "componentFileName": { "type": "string", "description": "Component file name without the `.ts` extension.", - "examples": ["awesome.component"] + "examples": ["awesome.component"], + "x-priority": "important" }, "cypressProject": { "type": "string", @@ -44,7 +49,8 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/docs/generated/packages/angular/generators/component-story.json b/docs/generated/packages/angular/generators/component-story.json index 2c683f2bb1..5b82d4749c 100644 --- a/docs/generated/packages/angular/generators/component-story.json +++ b/docs/generated/packages/angular/generators/component-story.json @@ -11,27 +11,32 @@ "projectPath": { "type": "string", "description": "Path to the project.", - "examples": ["libs/ui-samples"] + "examples": ["libs/ui-samples"], + "x-priority": "important" }, "componentName": { "type": "string", "description": "Class name of the component.", - "examples": ["AwesomeComponent"] + "examples": ["AwesomeComponent"], + "x-priority": "important" }, "componentPath": { "type": "string", "description": "Relative path to the component file from the project root.", - "examples": ["awesome"] + "examples": ["awesome"], + "x-priority": "important" }, "componentFileName": { "type": "string", "description": "Component file name without the `.ts` extension.", - "examples": ["awesome.component"] + "examples": ["awesome.component"], + "x-priority": "important" }, "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/docs/generated/packages/angular/generators/component-test.json b/docs/generated/packages/angular/generators/component-test.json index 294478866b..6419d00c89 100644 --- a/docs/generated/packages/angular/generators/component-test.json +++ b/docs/generated/packages/angular/generators/component-test.json @@ -12,30 +12,35 @@ "type": "string", "description": "The name of the project where the component is located.", "x-dropdown": "projects", - "x-prompt": "What project is the component located in?" + "x-prompt": "What project is the component located in?", + "x-priority": "important" }, "componentName": { "type": "string", "description": "Class name of the component to create a test for.", "examples": ["MyFancyButtonComponent"], - "x-prompt": "What is the class name of the component to create a test for?" + "x-prompt": "What is the class name of the component to create a test for?", + "x-priority": "important" }, "componentDir": { "type": "string", "description": "Relative path to the folder that contains the component from the project root.", "examples": ["src/lib/my-fancy-button"], - "x-prompt": "What is the path to the component directory from the project root?" + "x-prompt": "What is the path to the component directory from the project root?", + "x-priority": "important" }, "componentFileName": { "type": "string", "description": "File name that contains the component without the `.ts` extension.", "examples": ["my-fancy-button.component"], - "x-prompt": "What is the file name that contains the component?" + "x-prompt": "What is the file name that contains the component?", + "x-priority": "important" }, "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/docs/generated/packages/angular/generators/component.json b/docs/generated/packages/angular/generators/component.json index d38800397a..6dd138f8c4 100644 --- a/docs/generated/packages/angular/generators/component.json +++ b/docs/generated/packages/angular/generators/component.json @@ -19,7 +19,8 @@ "project": { "type": "string", "description": "The name of the project.", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "name": { "type": "string", @@ -48,7 +49,8 @@ "standalone": { "description": "Whether the generated component is standalone. _Note: This is only supported in Angular versions >= 14.1.0_", "type": "boolean", - "default": false + "default": false, + "x-priority": "important" }, "viewEncapsulation": { "description": "The view encapsulation strategy to use in the new component.", @@ -107,7 +109,8 @@ "export": { "type": "boolean", "description": "Specifies if the component should be exported in the declaring `NgModule`. Additionally, if the project is a library, the component will be exported from the project's entry point (normally `index.ts`) if the module it belongs to is also exported or if the component is standalone.", - "default": false + "default": false, + "x-priority": "important" } }, "required": ["name"], diff --git a/docs/generated/packages/angular/generators/convert-to-with-mf.json b/docs/generated/packages/angular/generators/convert-to-with-mf.json index d1aab12317..a55a9b326e 100644 --- a/docs/generated/packages/angular/generators/convert-to-with-mf.json +++ b/docs/generated/packages/angular/generators/convert-to-with-mf.json @@ -20,7 +20,8 @@ "type": "string", "description": "The name of the micro frontend project to migrate.", "$default": { "$source": "argv", "index": 0 }, - "x-prompt": "What micro frontend project would you like to migrate?" + "x-prompt": "What micro frontend project would you like to migrate?", + "x-priority": "important" } }, "presets": [] diff --git a/docs/generated/packages/angular/generators/convert-tslint-to-eslint.json b/docs/generated/packages/angular/generators/convert-tslint-to-eslint.json index d30c53b5ef..f6a62fd9a1 100644 --- a/docs/generated/packages/angular/generators/convert-tslint-to-eslint.json +++ b/docs/generated/packages/angular/generators/convert-tslint-to-eslint.json @@ -27,7 +27,8 @@ "description": "The name of the Angular project to convert. Please note, if the project is an Angular app with an associated Cypress e2e project, it will also attempt to convert that.", "type": "string", "$default": { "$source": "argv", "index": 0 }, - "x-prompt": "Which Angular project would you like to convert from TSLint to ESLint?" + "x-prompt": "Which Angular project would you like to convert from TSLint to ESLint?", + "x-priority": "important" }, "ignoreExistingTslintConfig": { "type": "boolean", @@ -44,7 +45,8 @@ "skipFormat": { "type": "boolean", "description": "Skip formatting files.", - "default": false + "default": false, + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/docs/generated/packages/angular/generators/cypress-component-configuration.json b/docs/generated/packages/angular/generators/cypress-component-configuration.json index e75ebe326b..c1ae9b98bc 100644 --- a/docs/generated/packages/angular/generators/cypress-component-configuration.json +++ b/docs/generated/packages/angular/generators/cypress-component-configuration.json @@ -13,7 +13,8 @@ "type": "string", "description": "The name of the project to add cypress component testing configuration to", "x-dropdown": "projects", - "x-prompt": "What project should we add Cypress component testing to?" + "x-prompt": "What project should we add Cypress component testing to?", + "x-priority": "important" }, "generateTests": { "type": "boolean", @@ -24,12 +25,14 @@ "buildTarget": { "type": "string", "description": "A build target used to configure Cypress component testing in the format of `project:target[:configuration]`. The build target should be an angular app. If not provided we will try to infer it from your projects usage.", - "pattern": "^[^:\\s]+:[^:\\s]+(:\\S+)?$" + "pattern": "^[^:\\s]+:[^:\\s]+(:\\S+)?$", + "x-priority": "important" }, "skipFormat": { "type": "boolean", "description": "Skip formatting files", - "default": false + "default": false, + "x-priority": "internal" } }, "required": ["project"], diff --git a/docs/generated/packages/angular/generators/downgrade-module.json b/docs/generated/packages/angular/generators/downgrade-module.json index 17132c7b91..b3656ef525 100644 --- a/docs/generated/packages/angular/generators/downgrade-module.json +++ b/docs/generated/packages/angular/generators/downgrade-module.json @@ -11,12 +11,14 @@ "properties": { "project": { "type": "string", - "description": "The name of the project." + "description": "The name of the project.", + "x-priority": "important" }, "name": { "type": "string", "description": "The name of the main AngularJS module.", - "$default": { "$source": "argv", "index": 0 } + "$default": { "$source": "argv", "index": 0 }, + "x-priority": "important" }, "angularJsImport": { "type": "string", @@ -25,12 +27,14 @@ "skipFormat": { "type": "boolean", "description": "Skip formatting files.", - "default": false + "default": false, + "x-priority": "internal" }, "skipPackageJson": { "type": "boolean", "description": "Do not add `@angular/upgrade` to `package.json` (e.g., `--skipPackageJson`).", - "default": false + "default": false, + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/docs/generated/packages/angular/generators/host.json b/docs/generated/packages/angular/generators/host.json index 1e13d5b140..f36c9aa5a3 100644 --- a/docs/generated/packages/angular/generators/host.json +++ b/docs/generated/packages/angular/generators/host.json @@ -22,7 +22,8 @@ }, "remotes": { "type": "array", - "description": "The names of the remote applications to add to the host." + "description": "The names of the remote applications to add to the host.", + "x-priority": "important" }, "dynamic": { "type": "boolean", @@ -90,12 +91,14 @@ "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not add dependencies to `package.json`." + "description": "Do not add dependencies to `package.json`.", + "x-priority": "internal" }, "skipPostInstall": { "type": "boolean", "default": false, - "description": "Do not add or append `ngcc` to the `postinstall` script in `package.json`." + "description": "Do not add or append `ngcc` to the `postinstall` script in `package.json`.", + "x-priority": "internal" }, "unitTestRunner": { "type": "string", @@ -145,7 +148,8 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "standalone": { "type": "boolean", @@ -155,7 +159,8 @@ "ssr": { "description": "Whether to configure SSR for the host application", "type": "boolean", - "default": false + "default": false, + "x-priority": "important" } }, "additionalProperties": false, diff --git a/docs/generated/packages/angular/generators/init.json b/docs/generated/packages/angular/generators/init.json index 7e839c77ff..8a5cf7cecc 100644 --- a/docs/generated/packages/angular/generators/init.json +++ b/docs/generated/packages/angular/generators/init.json @@ -19,29 +19,34 @@ "type": "string", "enum": ["karma", "jest", "none"], "description": "Test runner to use for unit tests.", - "default": "jest" + "default": "jest", + "x-priority": "important" }, "e2eTestRunner": { "type": "string", "enum": ["protractor", "cypress", "none"], "description": "Test runner to use for end to end (e2e) tests.", - "default": "cypress" + "default": "cypress", + "x-priority": "important" }, "skipInstall": { "type": "boolean", "description": "Skip installing after adding `@nrwl/workspace`.", - "default": false + "default": false, + "x-priority": "internal" }, "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "linter": { "description": "The tool to use for running lint checks.", "type": "string", "enum": ["eslint", "none"], - "default": "eslint" + "default": "eslint", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", @@ -71,7 +76,8 @@ "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not add dependencies to `package.json`." + "description": "Do not add dependencies to `package.json`.", + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/docs/generated/packages/angular/generators/karma-project.json b/docs/generated/packages/angular/generators/karma-project.json index 23915155ba..67dd000bfa 100644 --- a/docs/generated/packages/angular/generators/karma-project.json +++ b/docs/generated/packages/angular/generators/karma-project.json @@ -12,17 +12,20 @@ "project": { "type": "string", "description": "The name of the project.", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "skipPackageJson": { "description": "Skip updating package.json.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/docs/generated/packages/angular/generators/karma.json b/docs/generated/packages/angular/generators/karma.json index b86082a91e..c49a85a47b 100644 --- a/docs/generated/packages/angular/generators/karma.json +++ b/docs/generated/packages/angular/generators/karma.json @@ -18,7 +18,8 @@ "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not add dependencies to `package.json`." + "description": "Do not add dependencies to `package.json`.", + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/docs/generated/packages/angular/generators/library-secondary-entry-point.json b/docs/generated/packages/angular/generators/library-secondary-entry-point.json index 297a729628..de9f14fc71 100644 --- a/docs/generated/packages/angular/generators/library-secondary-entry-point.json +++ b/docs/generated/packages/angular/generators/library-secondary-entry-point.json @@ -14,14 +14,16 @@ "description": "The name of the secondary entry point.", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What name would you like to use for the secondary entry point?", - "pattern": "^[a-zA-Z].*$" + "pattern": "^[a-zA-Z].*$", + "x-priority": "important" }, "library": { "type": "string", "description": "The name of the library to create the secondary entry point for.", "x-prompt": "What library would you like to create the secondary entry point for?", "pattern": "^[a-zA-Z].*$", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "skipModule": { "type": "boolean", diff --git a/docs/generated/packages/angular/generators/library.json b/docs/generated/packages/angular/generators/library.json index 4f15844124..d53447025e 100644 --- a/docs/generated/packages/angular/generators/library.json +++ b/docs/generated/packages/angular/generators/library.json @@ -18,17 +18,20 @@ }, "directory": { "type": "string", - "description": "A directory where the library is placed." + "description": "A directory where the library is placed.", + "x-priority": "important" }, "publishable": { "type": "boolean", "default": false, - "description": "Generate a publishable library." + "description": "Generate a publishable library.", + "x-priority": "important" }, "buildable": { "type": "boolean", "default": false, - "description": "Generate a buildable library." + "description": "Generate a buildable library.", + "x-priority": "important" }, "prefix": { "type": "string", @@ -39,7 +42,8 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "simpleModuleName": { "description": "Keep the module name simple (when using `--directory`).", @@ -60,7 +64,8 @@ "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not add dependencies to `package.json`." + "description": "Do not add dependencies to `package.json`.", + "x-priority": "internal" }, "skipTsConfig": { "type": "boolean", @@ -70,16 +75,19 @@ "routing": { "type": "boolean", "default": false, - "description": "Add router configuration. See `lazy` for more information." + "description": "Add router configuration. See `lazy` for more information.", + "x-priority": "important" }, "lazy": { "type": "boolean", "default": false, - "description": "Add `RouterModule.forChild` when set to true, and a simple array of routes when set to false." + "description": "Add `RouterModule.forChild` when set to true, and a simple array of routes when set to false.", + "x-priority": "important" }, "parent": { "type": "string", - "description": "Path to the parent route configuration using `loadChildren` or `children`, depending on what `lazy` is set to." + "description": "Path to the parent route configuration using `loadChildren` or `children`, depending on what `lazy` is set to.", + "x-priority": "important" }, "tags": { "type": "string", @@ -108,7 +116,8 @@ }, "standaloneConfig": { "description": "Split the project configuration into `/project.json` rather than including it inside `workspace.json`.", - "type": "boolean" + "type": "boolean", + "x-priority": "internal" }, "compilationMode": { "description": "Specifies the compilation mode to use. If not specified, it will default to `partial` for publishable libraries and to `full` for buildable libraries. The `full` value can not be used for publishable libraries.", diff --git a/docs/generated/packages/angular/generators/move.json b/docs/generated/packages/angular/generators/move.json index fb648023d4..6da5bef439 100644 --- a/docs/generated/packages/angular/generators/move.json +++ b/docs/generated/packages/angular/generators/move.json @@ -19,12 +19,14 @@ "type": "string", "alias": "project", "description": "The name of the Angular project to move.", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "destination": { "type": "string", "description": "The folder to move the Angular project into.", - "$default": { "$source": "argv", "index": 0 } + "$default": { "$source": "argv", "index": 0 }, + "x-priority": "important" }, "importPath": { "type": "string", @@ -39,7 +41,8 @@ "type": "boolean", "aliases": ["skip-format"], "description": "Skip formatting files.", - "default": false + "default": false, + "x-priority": "internal" } }, "required": ["projectName", "destination"], diff --git a/docs/generated/packages/angular/generators/ng-add.json b/docs/generated/packages/angular/generators/ng-add.json index 9e574a36cd..6b23d0ab79 100644 --- a/docs/generated/packages/angular/generators/ng-add.json +++ b/docs/generated/packages/angular/generators/ng-add.json @@ -11,21 +11,25 @@ "properties": { "npmScope": { "type": "string", - "description": "Npm scope for importing libs. NOTE: only used if running the generator in an Angular CLI workspace." + "description": "Npm scope for importing libs. NOTE: only used if running the generator in an Angular CLI workspace.", + "x-priority": "important" }, "defaultBase": { "type": "string", - "description": "Default base branch for affected. NOTE: only used if running the generator in an Angular CLI workspace." + "description": "Default base branch for affected. NOTE: only used if running the generator in an Angular CLI workspace.", + "x-priority": "important" }, "skipInstall": { "type": "boolean", "description": "Skip installing added packages.", - "default": false + "default": false, + "x-priority": "internal" }, "preserveAngularCliLayout": { "type": "boolean", "description": "Preserve the Angular CLI layout instead of moving the app into apps. NOTE: only used if running the generator in an Angular CLI workspace.", - "default": false + "default": false, + "x-priority": "important" }, "unitTestRunner": { "type": "string", @@ -42,7 +46,8 @@ "skipFormat": { "description": "Skip formatting files. NOTE: only used if running the generator in an Nx workspace.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "linter": { "description": "The tool to use for running lint checks. NOTE: only used if running the generator in an Nx workspace.", @@ -59,12 +64,14 @@ "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not add dependencies to `package.json`. NOTE: only used if running the generator in an Nx workspace." + "description": "Do not add dependencies to `package.json`. NOTE: only used if running the generator in an Nx workspace.", + "x-priority": "internal" }, "skipPostInstall": { "type": "boolean", "default": false, - "description": "Do not add or append `ngcc` to the `postinstall` script in `package.json`. NOTE: only used if running the generator in an Nx workspace." + "description": "Do not add or append `ngcc` to the `postinstall` script in `package.json`. NOTE: only used if running the generator in an Nx workspace.", + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/docs/generated/packages/angular/generators/ngrx.json b/docs/generated/packages/angular/generators/ngrx.json index 20a06ebe15..b0d308733c 100644 --- a/docs/generated/packages/angular/generators/ngrx.json +++ b/docs/generated/packages/angular/generators/ngrx.json @@ -23,7 +23,8 @@ "type": "string", "description": "Name of the NgRx feature state, such as `products` or `users`. Recommended to use the plural form of the name.", "$default": { "$source": "argv", "index": 0 }, - "x-prompt": "What name would you like to use for the NgRx feature state? An example would be `users`." + "x-prompt": "What name would you like to use for the NgRx feature state? An example would be `users`.", + "x-priority": "important" }, "module": { "type": "string", @@ -32,8 +33,9 @@ }, "parent": { "type": "string", - "description": "The path to the `NgModule` or the `Routes` definition file (for Standalone API usage) where the feature state will be registered. _Note: The Standalone API usage is only supported in Angular versions >= 14.1.0_.", - "x-prompt": "What is the path to the module or Routes definition where this NgRx state should be registered?" + "description": "The path to the `NgModule` or the `Routes` definition file (for Standalone API usage) where the feature state will be registered. The host directory will create/use the new state directory. _Note: The Standalone API usage is only supported in Angular versions >= 14.1.0_.", + "x-prompt": "What is the path to the module or Routes definition where this NgRx state should be registered?", + "x-priority": "important" }, "route": { "type": "string", @@ -49,7 +51,8 @@ "type": "boolean", "default": false, "description": "Setup root or feature state management with NgRx.", - "x-prompt": "Is this the root state of the application?" + "x-prompt": "Is this the root state of the application?", + "x-priority": "important" }, "facade": { "type": "boolean", @@ -70,12 +73,14 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not update the `package.json` with NgRx dependencies." + "description": "Do not update the `package.json` with NgRx dependencies.", + "x-priority": "internal" }, "barrels": { "type": "boolean", diff --git a/docs/generated/packages/angular/generators/remote.json b/docs/generated/packages/angular/generators/remote.json index 5cc9923aa8..37d4849017 100644 --- a/docs/generated/packages/angular/generators/remote.json +++ b/docs/generated/packages/angular/generators/remote.json @@ -23,7 +23,8 @@ "host": { "type": "string", "description": "The name of the host app to attach this remote app to.", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "port": { "type": "number", @@ -90,7 +91,8 @@ "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not add dependencies to `package.json`." + "description": "Do not add dependencies to `package.json`.", + "x-priority": "internal" }, "unitTestRunner": { "type": "string", @@ -140,7 +142,8 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "standalone": { "description": "Whether to generate a remote application with standalone components. _Note: This is only supported in Angular versions >= 14.1.0_", diff --git a/docs/generated/packages/angular/generators/scam-directive.json b/docs/generated/packages/angular/generators/scam-directive.json index 0c22252b80..2a1073256b 100644 --- a/docs/generated/packages/angular/generators/scam-directive.json +++ b/docs/generated/packages/angular/generators/scam-directive.json @@ -25,13 +25,15 @@ "project": { "type": "string", "description": "The name of the project.", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "name": { "type": "string", "description": "The name of the directive.", "$default": { "$source": "argv", "index": 0 }, - "x-prompt": "What name would you like to use for the directive?" + "x-prompt": "What name would you like to use for the directive?", + "x-priority": "important" }, "skipTests": { "type": "boolean", @@ -41,7 +43,8 @@ "inlineScam": { "type": "boolean", "description": "Create the `NgModule` in the same file as the Directive.", - "default": true + "default": true, + "x-priority": "important" }, "flat": { "type": "boolean", @@ -65,7 +68,8 @@ "export": { "type": "boolean", "description": "Specifies if the SCAM should be exported from the project's entry point (normally `index.ts`). It only applies to libraries.", - "default": true + "default": true, + "x-priority": "important" } }, "required": ["name"], diff --git a/docs/generated/packages/angular/generators/scam-pipe.json b/docs/generated/packages/angular/generators/scam-pipe.json index e1bf33e8c5..2bdb2f5e09 100644 --- a/docs/generated/packages/angular/generators/scam-pipe.json +++ b/docs/generated/packages/angular/generators/scam-pipe.json @@ -25,13 +25,15 @@ "project": { "type": "string", "description": "The name of the project.", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "name": { "type": "string", "description": "The name of the pipe.", "$default": { "$source": "argv", "index": 0 }, - "x-prompt": "What name would you like to use for the pipe?" + "x-prompt": "What name would you like to use for the pipe?", + "x-priority": "important" }, "skipTests": { "type": "boolean", @@ -41,7 +43,8 @@ "inlineScam": { "type": "boolean", "description": "Create the NgModule in the same file as the Pipe.", - "default": true + "default": true, + "x-priority": "important" }, "flat": { "type": "boolean", @@ -51,7 +54,8 @@ "export": { "type": "boolean", "description": "Specifies if the SCAM should be exported from the project's entry point (normally `index.ts`). It only applies to libraries.", - "default": true + "default": true, + "x-priority": "important" } }, "required": ["name"], diff --git a/docs/generated/packages/angular/generators/scam-to-standalone.json b/docs/generated/packages/angular/generators/scam-to-standalone.json index 39d2a6d373..f77d84c8ff 100644 --- a/docs/generated/packages/angular/generators/scam-to-standalone.json +++ b/docs/generated/packages/angular/generators/scam-to-standalone.json @@ -12,17 +12,20 @@ "component": { "type": "string", "description": "The path to the SCAM component file, relative to the root of the project containing the SCAM.", - "$default": { "$source": "argv", "index": 0 } + "$default": { "$source": "argv", "index": 0 }, + "x-priority": "important" }, "project": { "type": "string", "description": "The project containing the SCAM.", "x-prompt": "What project contains the SCAM?", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "skipFormat": { "type": "boolean", - "description": "Skip formatting the workspace after the generator completes." + "description": "Skip formatting the workspace after the generator completes.", + "x-priority": "internal" } }, "examplesFile": "## Examples\n\n{% tabs %}\n\n{% tab label=\"Basic Usage\" %}\n\nThis generator allows you to convert an Inline SCAM to a Standalone Component. It's important that the SCAM you wish to convert has it's NgModule within the same file for the generator to be able to correctly convert the component to Standalone.\n\n```bash\n\nnx g @nrwl/angular:scam-to-standalone --component=libs/mylib/src/lib/myscam/myscam.component.ts --project=mylib\n\n```\n\n{% /tab %}\n\n{% /tabs %}\n", diff --git a/docs/generated/packages/angular/generators/scam.json b/docs/generated/packages/angular/generators/scam.json index 461fcb7979..049da8fa5a 100644 --- a/docs/generated/packages/angular/generators/scam.json +++ b/docs/generated/packages/angular/generators/scam.json @@ -25,7 +25,8 @@ "project": { "type": "string", "description": "The name of the project.", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "name": { "type": "string", @@ -78,7 +79,8 @@ "inlineScam": { "type": "boolean", "description": "Create the `NgModule` in the same file as the component.", - "default": true + "default": true, + "x-priority": "important" }, "flat": { "type": "boolean", @@ -112,7 +114,8 @@ "export": { "type": "boolean", "description": "Specifies if the SCAM should be exported from the project's entry point (normally `index.ts`). It only applies to libraries.", - "default": true + "default": true, + "x-priority": "important" } }, "required": ["name"], diff --git a/docs/generated/packages/angular/generators/setup-mf.json b/docs/generated/packages/angular/generators/setup-mf.json index 263b943f11..d7eb1a7cd3 100644 --- a/docs/generated/packages/angular/generators/setup-mf.json +++ b/docs/generated/packages/angular/generators/setup-mf.json @@ -42,16 +42,19 @@ }, "routing": { "type": "boolean", - "description": "Generate a routing setup to allow a host application to route to the remote application." + "description": "Generate a routing setup to allow a host application to route to the remote application.", + "x-priority": "important" }, "skipFormat": { "type": "boolean", - "description": "Skip formatting the workspace after the generator completes." + "description": "Skip formatting the workspace after the generator completes.", + "x-priority": "internal" }, "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not add dependencies to `package.json`." + "description": "Do not add dependencies to `package.json`.", + "x-priority": "internal" }, "skipE2E": { "type": "boolean", diff --git a/docs/generated/packages/angular/generators/setup-ssr.json b/docs/generated/packages/angular/generators/setup-ssr.json index 902c1be422..7c22fc118e 100644 --- a/docs/generated/packages/angular/generators/setup-ssr.json +++ b/docs/generated/packages/angular/generators/setup-ssr.json @@ -51,7 +51,8 @@ }, "skipFormat": { "type": "boolean", - "description": "Skip formatting the workspace after the generator completes." + "description": "Skip formatting the workspace after the generator completes.", + "x-priority": "internal" } }, "required": ["project"], diff --git a/docs/generated/packages/angular/generators/setup-tailwind.json b/docs/generated/packages/angular/generators/setup-tailwind.json index 7cef69960e..8efbb2de4b 100644 --- a/docs/generated/packages/angular/generators/setup-tailwind.json +++ b/docs/generated/packages/angular/generators/setup-tailwind.json @@ -22,7 +22,8 @@ }, "skipFormat": { "type": "boolean", - "description": "Skips formatting the workspace after the generator completes." + "description": "Skips formatting the workspace after the generator completes.", + "x-priority": "internal" }, "stylesEntryPoint": { "type": "string", @@ -31,7 +32,8 @@ "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not add dependencies to `package.json`." + "description": "Do not add dependencies to `package.json`.", + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/docs/generated/packages/angular/generators/stories.json b/docs/generated/packages/angular/generators/stories.json index 74fb25f218..8a3c3034d2 100644 --- a/docs/generated/packages/angular/generators/stories.json +++ b/docs/generated/packages/angular/generators/stories.json @@ -15,12 +15,14 @@ "description": "Project for which to generate stories.", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What's the name of the project for which you want to generate stories?", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "generateCypressSpecs": { "type": "boolean", "description": "Specifies whether to automatically generate `*.spec.ts` files in the Cypress e2e app generated by the `cypress-configure` generator.", - "x-prompt": "Do you want to generate Cypress specs as well?" + "x-prompt": "Do you want to generate Cypress specs as well?", + "x-priority": "important" }, "cypressProject": { "type": "string", @@ -29,7 +31,8 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "ignorePaths": { "type": "array", diff --git a/docs/generated/packages/angular/generators/storybook-configuration.json b/docs/generated/packages/angular/generators/storybook-configuration.json index d426d1a964..c005704d73 100644 --- a/docs/generated/packages/angular/generators/storybook-configuration.json +++ b/docs/generated/packages/angular/generators/storybook-configuration.json @@ -58,7 +58,8 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "ignorePaths": { "type": "array", diff --git a/docs/generated/packages/angular/generators/upgrade-module.json b/docs/generated/packages/angular/generators/upgrade-module.json index 9183be4f04..5c5109b762 100644 --- a/docs/generated/packages/angular/generators/upgrade-module.json +++ b/docs/generated/packages/angular/generators/upgrade-module.json @@ -11,12 +11,14 @@ "properties": { "project": { "type": "string", - "description": "The name of the project." + "description": "The name of the project.", + "x-priority": "important" }, "name": { "type": "string", "description": "The name of the main AngularJS module.", - "$default": { "$source": "argv", "index": 0 } + "$default": { "$source": "argv", "index": 0 }, + "x-priority": "important" }, "angularJsImport": { "type": "string", @@ -29,17 +31,20 @@ "skipFormat": { "type": "boolean", "description": "Skip formatting files.", - "default": false + "default": false, + "x-priority": "internal" }, "skipPackageJson": { "type": "boolean", "description": "Do not add `@angular/upgrade` to `package.json` (e.g., `--skipPackageJson`).", - "default": false + "default": false, + "x-priority": "internal" }, "router": { "type": "boolean", "description": "Sets up router synchronization (e.g., `--router`).", - "default": false + "default": false, + "x-priority": "important" } }, "additionalProperties": false, diff --git a/docs/generated/packages/angular/generators/web-worker.json b/docs/generated/packages/angular/generators/web-worker.json index 242245f978..7fde5ed9e7 100644 --- a/docs/generated/packages/angular/generators/web-worker.json +++ b/docs/generated/packages/angular/generators/web-worker.json @@ -17,13 +17,15 @@ "project": { "type": "string", "description": "The name of the project.", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "name": { "type": "string", "description": "The name of the worker.", "$default": { "$source": "argv", "index": 0 }, - "x-prompt": "What name would you like to use for the worker?" + "x-prompt": "What name would you like to use for the worker?", + "x-priority": "important" }, "snippet": { "type": "boolean", @@ -33,7 +35,8 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/packages/angular/src/generators/add-linting/schema.json b/packages/angular/src/generators/add-linting/schema.json index cbd3d9cb36..2e74b4667a 100644 --- a/packages/angular/src/generators/add-linting/schema.json +++ b/packages/angular/src/generators/add-linting/schema.json @@ -15,15 +15,18 @@ "prefix": { "type": "string", "format": "html-selector", - "description": "The prefix to apply to generated selectors." + "description": "The prefix to apply to generated selectors.", + "x-priority": "important" }, "projectName": { "type": "string", - "description": "The name of the project." + "description": "The name of the project.", + "x-priority": "important" }, "projectRoot": { "type": "string", - "description": "The path to the root of the selected project." + "description": "The path to the root of the selected project.", + "x-priority": "important" }, "setParserOptionsProject": { "type": "boolean", @@ -33,12 +36,14 @@ "skipFormat": { "type": "boolean", "description": "Skip formatting files.", - "default": false + "default": false, + "x-priority": "internal" }, "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not add dependencies to `package.json`." + "description": "Do not add dependencies to `package.json`.", + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/packages/angular/src/generators/application/schema.json b/packages/angular/src/generators/application/schema.json index ecf29aef3c..7bc020b154 100644 --- a/packages/angular/src/generators/application/schema.json +++ b/packages/angular/src/generators/application/schema.json @@ -18,7 +18,8 @@ }, "directory": { "description": "The directory of the new application.", - "type": "string" + "type": "string", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", @@ -52,7 +53,8 @@ "type": "boolean", "description": "Generate a routing module.", "default": false, - "x-prompt": "Would you like to configure routing for this application?" + "x-prompt": "Would you like to configure routing for this application?", + "x-priority": "important" }, "inlineStyle": { "description": "Specifies if the style will be in the ts file.", @@ -86,12 +88,14 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not add dependencies to `package.json`." + "description": "Do not add dependencies to `package.json`.", + "x-priority": "internal" }, "unitTestRunner": { "type": "string", @@ -126,7 +130,8 @@ }, "standaloneConfig": { "description": "Split the project configuration into `/project.json` rather than including it inside `workspace.json`.", - "type": "boolean" + "type": "boolean", + "x-priority": "internal" }, "port": { "type": "number", @@ -151,7 +156,8 @@ "description": "Create an application at the root of the workspace.", "type": "boolean", "default": false, - "hidden": true + "hidden": true, + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/packages/angular/src/generators/change-storybook-targets/schema.json b/packages/angular/src/generators/change-storybook-targets/schema.json index 6680d20fae..62a93aa814 100644 --- a/packages/angular/src/generators/change-storybook-targets/schema.json +++ b/packages/angular/src/generators/change-storybook-targets/schema.json @@ -9,7 +9,8 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/packages/angular/src/generators/component-cypress-spec/schema.json b/packages/angular/src/generators/component-cypress-spec/schema.json index f45020583a..adbb0e69b2 100644 --- a/packages/angular/src/generators/component-cypress-spec/schema.json +++ b/packages/angular/src/generators/component-cypress-spec/schema.json @@ -8,27 +8,32 @@ "projectName": { "type": "string", "description": "The name of the project.", - "examples": ["ui-samples"] + "examples": ["ui-samples"], + "x-priority": "important" }, "projectPath": { "type": "string", "description": "Path to the project.", - "examples": ["libs/ui-samples"] + "examples": ["libs/ui-samples"], + "x-priority": "important" }, "componentName": { "type": "string", "description": "Class name of the component.", - "examples": ["AwesomeComponent"] + "examples": ["AwesomeComponent"], + "x-priority": "important" }, "componentPath": { "type": "string", "description": "Relative path to the component file from the project root.", - "examples": ["awesome"] + "examples": ["awesome"], + "x-priority": "important" }, "componentFileName": { "type": "string", "description": "Component file name without the `.ts` extension.", - "examples": ["awesome.component"] + "examples": ["awesome.component"], + "x-priority": "important" }, "cypressProject": { "type": "string", @@ -41,7 +46,8 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/packages/angular/src/generators/component-story/schema.json b/packages/angular/src/generators/component-story/schema.json index 5ea4cf17d0..e2591db714 100644 --- a/packages/angular/src/generators/component-story/schema.json +++ b/packages/angular/src/generators/component-story/schema.json @@ -8,27 +8,32 @@ "projectPath": { "type": "string", "description": "Path to the project.", - "examples": ["libs/ui-samples"] + "examples": ["libs/ui-samples"], + "x-priority": "important" }, "componentName": { "type": "string", "description": "Class name of the component.", - "examples": ["AwesomeComponent"] + "examples": ["AwesomeComponent"], + "x-priority": "important" }, "componentPath": { "type": "string", "description": "Relative path to the component file from the project root.", - "examples": ["awesome"] + "examples": ["awesome"], + "x-priority": "important" }, "componentFileName": { "type": "string", "description": "Component file name without the `.ts` extension.", - "examples": ["awesome.component"] + "examples": ["awesome.component"], + "x-priority": "important" }, "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/packages/angular/src/generators/component-test/schema.json b/packages/angular/src/generators/component-test/schema.json index ffb7a5f314..384575a516 100644 --- a/packages/angular/src/generators/component-test/schema.json +++ b/packages/angular/src/generators/component-test/schema.json @@ -9,30 +9,35 @@ "type": "string", "description": "The name of the project where the component is located.", "x-dropdown": "projects", - "x-prompt": "What project is the component located in?" + "x-prompt": "What project is the component located in?", + "x-priority": "important" }, "componentName": { "type": "string", "description": "Class name of the component to create a test for.", "examples": ["MyFancyButtonComponent"], - "x-prompt": "What is the class name of the component to create a test for?" + "x-prompt": "What is the class name of the component to create a test for?", + "x-priority": "important" }, "componentDir": { "type": "string", "description": "Relative path to the folder that contains the component from the project root.", "examples": ["src/lib/my-fancy-button"], - "x-prompt": "What is the path to the component directory from the project root?" + "x-prompt": "What is the path to the component directory from the project root?", + "x-priority": "important" }, "componentFileName": { "type": "string", "description": "File name that contains the component without the `.ts` extension.", "examples": ["my-fancy-button.component"], - "x-prompt": "What is the file name that contains the component?" + "x-prompt": "What is the file name that contains the component?", + "x-priority": "important" }, "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/packages/angular/src/generators/component/schema.json b/packages/angular/src/generators/component/schema.json index 1840950a76..fdad5378e8 100644 --- a/packages/angular/src/generators/component/schema.json +++ b/packages/angular/src/generators/component/schema.json @@ -16,7 +16,8 @@ "project": { "type": "string", "description": "The name of the project.", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "name": { "type": "string", @@ -48,7 +49,8 @@ "standalone": { "description": "Whether the generated component is standalone. _Note: This is only supported in Angular versions >= 14.1.0_", "type": "boolean", - "default": false + "default": false, + "x-priority": "important" }, "viewEncapsulation": { "description": "The view encapsulation strategy to use in the new component.", @@ -107,7 +109,8 @@ "export": { "type": "boolean", "description": "Specifies if the component should be exported in the declaring `NgModule`. Additionally, if the project is a library, the component will be exported from the project's entry point (normally `index.ts`) if the module it belongs to is also exported or if the component is standalone.", - "default": false + "default": false, + "x-priority": "important" } }, "required": ["name"], diff --git a/packages/angular/src/generators/convert-to-with-mf/schema.json b/packages/angular/src/generators/convert-to-with-mf/schema.json index ce0a0a44c5..3282d077b7 100644 --- a/packages/angular/src/generators/convert-to-with-mf/schema.json +++ b/packages/angular/src/generators/convert-to-with-mf/schema.json @@ -20,7 +20,8 @@ "$source": "argv", "index": 0 }, - "x-prompt": "What micro frontend project would you like to migrate?" + "x-prompt": "What micro frontend project would you like to migrate?", + "x-priority": "important" } } } diff --git a/packages/angular/src/generators/convert-tslint-to-eslint/schema.json b/packages/angular/src/generators/convert-tslint-to-eslint/schema.json index c3b47a2dee..2a01c09a5c 100644 --- a/packages/angular/src/generators/convert-tslint-to-eslint/schema.json +++ b/packages/angular/src/generators/convert-tslint-to-eslint/schema.json @@ -27,7 +27,8 @@ "$source": "argv", "index": 0 }, - "x-prompt": "Which Angular project would you like to convert from TSLint to ESLint?" + "x-prompt": "Which Angular project would you like to convert from TSLint to ESLint?", + "x-priority": "important" }, "ignoreExistingTslintConfig": { "type": "boolean", @@ -44,7 +45,8 @@ "skipFormat": { "type": "boolean", "description": "Skip formatting files.", - "default": false + "default": false, + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/packages/angular/src/generators/cypress-component-configuration/schema.json b/packages/angular/src/generators/cypress-component-configuration/schema.json index a642d0b9e3..a19930c920 100644 --- a/packages/angular/src/generators/cypress-component-configuration/schema.json +++ b/packages/angular/src/generators/cypress-component-configuration/schema.json @@ -10,7 +10,8 @@ "type": "string", "description": "The name of the project to add cypress component testing configuration to", "x-dropdown": "projects", - "x-prompt": "What project should we add Cypress component testing to?" + "x-prompt": "What project should we add Cypress component testing to?", + "x-priority": "important" }, "generateTests": { "type": "boolean", @@ -21,12 +22,14 @@ "buildTarget": { "type": "string", "description": "A build target used to configure Cypress component testing in the format of `project:target[:configuration]`. The build target should be an angular app. If not provided we will try to infer it from your projects usage.", - "pattern": "^[^:\\s]+:[^:\\s]+(:\\S+)?$" + "pattern": "^[^:\\s]+:[^:\\s]+(:\\S+)?$", + "x-priority": "important" }, "skipFormat": { "type": "boolean", "description": "Skip formatting files", - "default": false + "default": false, + "x-priority": "internal" } }, "required": ["project"], diff --git a/packages/angular/src/generators/downgrade-module/schema.json b/packages/angular/src/generators/downgrade-module/schema.json index 7af8195b25..814aa9b6f1 100644 --- a/packages/angular/src/generators/downgrade-module/schema.json +++ b/packages/angular/src/generators/downgrade-module/schema.json @@ -8,7 +8,8 @@ "properties": { "project": { "type": "string", - "description": "The name of the project." + "description": "The name of the project.", + "x-priority": "important" }, "name": { "type": "string", @@ -16,7 +17,8 @@ "$default": { "$source": "argv", "index": 0 - } + }, + "x-priority": "important" }, "angularJsImport": { "type": "string", @@ -25,12 +27,14 @@ "skipFormat": { "type": "boolean", "description": "Skip formatting files.", - "default": false + "default": false, + "x-priority": "internal" }, "skipPackageJson": { "type": "boolean", "description": "Do not add `@angular/upgrade` to `package.json` (e.g., `--skipPackageJson`).", - "default": false + "default": false, + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/packages/angular/src/generators/host/schema.json b/packages/angular/src/generators/host/schema.json index b6953ea573..fe38e85575 100644 --- a/packages/angular/src/generators/host/schema.json +++ b/packages/angular/src/generators/host/schema.json @@ -22,7 +22,8 @@ }, "remotes": { "type": "array", - "description": "The names of the remote applications to add to the host." + "description": "The names of the remote applications to add to the host.", + "x-priority": "important" }, "dynamic": { "type": "boolean", @@ -93,12 +94,14 @@ "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not add dependencies to `package.json`." + "description": "Do not add dependencies to `package.json`.", + "x-priority": "internal" }, "skipPostInstall": { "type": "boolean", "default": false, - "description": "Do not add or append `ngcc` to the `postinstall` script in `package.json`." + "description": "Do not add or append `ngcc` to the `postinstall` script in `package.json`.", + "x-priority": "internal" }, "unitTestRunner": { "type": "string", @@ -148,7 +151,8 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "standalone": { "type": "boolean", @@ -158,7 +162,8 @@ "ssr": { "description": "Whether to configure SSR for the host application", "type": "boolean", - "default": false + "default": false, + "x-priority": "important" } }, "additionalProperties": false, diff --git a/packages/angular/src/generators/init/schema.json b/packages/angular/src/generators/init/schema.json index a34584aa37..38a1c8856d 100644 --- a/packages/angular/src/generators/init/schema.json +++ b/packages/angular/src/generators/init/schema.json @@ -16,29 +16,34 @@ "type": "string", "enum": ["karma", "jest", "none"], "description": "Test runner to use for unit tests.", - "default": "jest" + "default": "jest", + "x-priority": "important" }, "e2eTestRunner": { "type": "string", "enum": ["protractor", "cypress", "none"], "description": "Test runner to use for end to end (e2e) tests.", - "default": "cypress" + "default": "cypress", + "x-priority": "important" }, "skipInstall": { "type": "boolean", "description": "Skip installing after adding `@nrwl/workspace`.", - "default": false + "default": false, + "x-priority": "internal" }, "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "linter": { "description": "The tool to use for running lint checks.", "type": "string", "enum": ["eslint", "none"], - "default": "eslint" + "default": "eslint", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", @@ -71,7 +76,8 @@ "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not add dependencies to `package.json`." + "description": "Do not add dependencies to `package.json`.", + "x-priority": "internal" } }, "additionalProperties": false diff --git a/packages/angular/src/generators/karma-project/schema.json b/packages/angular/src/generators/karma-project/schema.json index c0ea82d3d6..c2a392b127 100644 --- a/packages/angular/src/generators/karma-project/schema.json +++ b/packages/angular/src/generators/karma-project/schema.json @@ -9,17 +9,20 @@ "project": { "type": "string", "description": "The name of the project.", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "skipPackageJson": { "description": "Skip updating package.json.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/packages/angular/src/generators/karma/schema.json b/packages/angular/src/generators/karma/schema.json index 3a542ac0a7..39e34477d5 100644 --- a/packages/angular/src/generators/karma/schema.json +++ b/packages/angular/src/generators/karma/schema.json @@ -15,7 +15,8 @@ "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not add dependencies to `package.json`." + "description": "Do not add dependencies to `package.json`.", + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/packages/angular/src/generators/library-secondary-entry-point/schema.json b/packages/angular/src/generators/library-secondary-entry-point/schema.json index 8a8bad96e4..97d9fbb2f0 100644 --- a/packages/angular/src/generators/library-secondary-entry-point/schema.json +++ b/packages/angular/src/generators/library-secondary-entry-point/schema.json @@ -14,14 +14,16 @@ "index": 0 }, "x-prompt": "What name would you like to use for the secondary entry point?", - "pattern": "^[a-zA-Z].*$" + "pattern": "^[a-zA-Z].*$", + "x-priority": "important" }, "library": { "type": "string", "description": "The name of the library to create the secondary entry point for.", "x-prompt": "What library would you like to create the secondary entry point for?", "pattern": "^[a-zA-Z].*$", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "skipModule": { "type": "boolean", diff --git a/packages/angular/src/generators/library/schema.json b/packages/angular/src/generators/library/schema.json index 9f312bac08..9a6acca4fd 100644 --- a/packages/angular/src/generators/library/schema.json +++ b/packages/angular/src/generators/library/schema.json @@ -19,17 +19,20 @@ }, "directory": { "type": "string", - "description": "A directory where the library is placed." + "description": "A directory where the library is placed.", + "x-priority": "important" }, "publishable": { "type": "boolean", "default": false, - "description": "Generate a publishable library." + "description": "Generate a publishable library.", + "x-priority": "important" }, "buildable": { "type": "boolean", "default": false, - "description": "Generate a buildable library." + "description": "Generate a buildable library.", + "x-priority": "important" }, "prefix": { "type": "string", @@ -40,7 +43,8 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "simpleModuleName": { "description": "Keep the module name simple (when using `--directory`).", @@ -61,7 +65,8 @@ "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not add dependencies to `package.json`." + "description": "Do not add dependencies to `package.json`.", + "x-priority": "internal" }, "skipTsConfig": { "type": "boolean", @@ -71,16 +76,19 @@ "routing": { "type": "boolean", "default": false, - "description": "Add router configuration. See `lazy` for more information." + "description": "Add router configuration. See `lazy` for more information.", + "x-priority": "important" }, "lazy": { "type": "boolean", "default": false, - "description": "Add `RouterModule.forChild` when set to true, and a simple array of routes when set to false." + "description": "Add `RouterModule.forChild` when set to true, and a simple array of routes when set to false.", + "x-priority": "important" }, "parent": { "type": "string", - "description": "Path to the parent route configuration using `loadChildren` or `children`, depending on what `lazy` is set to." + "description": "Path to the parent route configuration using `loadChildren` or `children`, depending on what `lazy` is set to.", + "x-priority": "important" }, "tags": { "type": "string", @@ -109,7 +117,8 @@ }, "standaloneConfig": { "description": "Split the project configuration into `/project.json` rather than including it inside `workspace.json`.", - "type": "boolean" + "type": "boolean", + "x-priority": "internal" }, "compilationMode": { "description": "Specifies the compilation mode to use. If not specified, it will default to `partial` for publishable libraries and to `full` for buildable libraries. The `full` value can not be used for publishable libraries.", diff --git a/packages/angular/src/generators/move/schema.json b/packages/angular/src/generators/move/schema.json index 9900d950c9..2975641882 100644 --- a/packages/angular/src/generators/move/schema.json +++ b/packages/angular/src/generators/move/schema.json @@ -16,7 +16,8 @@ "type": "string", "alias": "project", "description": "The name of the Angular project to move.", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "destination": { "type": "string", @@ -24,7 +25,8 @@ "$default": { "$source": "argv", "index": 0 - } + }, + "x-priority": "important" }, "importPath": { "type": "string", @@ -39,7 +41,8 @@ "type": "boolean", "aliases": ["skip-format"], "description": "Skip formatting files.", - "default": false + "default": false, + "x-priority": "internal" } }, "required": ["projectName", "destination"] diff --git a/packages/angular/src/generators/ng-add/schema.json b/packages/angular/src/generators/ng-add/schema.json index d1aa4ca0b9..5770605907 100644 --- a/packages/angular/src/generators/ng-add/schema.json +++ b/packages/angular/src/generators/ng-add/schema.json @@ -8,21 +8,25 @@ "properties": { "npmScope": { "type": "string", - "description": "Npm scope for importing libs. NOTE: only used if running the generator in an Angular CLI workspace." + "description": "Npm scope for importing libs. NOTE: only used if running the generator in an Angular CLI workspace.", + "x-priority": "important" }, "defaultBase": { "type": "string", - "description": "Default base branch for affected. NOTE: only used if running the generator in an Angular CLI workspace." + "description": "Default base branch for affected. NOTE: only used if running the generator in an Angular CLI workspace.", + "x-priority": "important" }, "skipInstall": { "type": "boolean", "description": "Skip installing added packages.", - "default": false + "default": false, + "x-priority": "internal" }, "preserveAngularCliLayout": { "type": "boolean", "description": "Preserve the Angular CLI layout instead of moving the app into apps. NOTE: only used if running the generator in an Angular CLI workspace.", - "default": false + "default": false, + "x-priority": "important" }, "unitTestRunner": { @@ -40,7 +44,8 @@ "skipFormat": { "description": "Skip formatting files. NOTE: only used if running the generator in an Nx workspace.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "linter": { "description": "The tool to use for running lint checks. NOTE: only used if running the generator in an Nx workspace.", @@ -57,12 +62,14 @@ "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not add dependencies to `package.json`. NOTE: only used if running the generator in an Nx workspace." + "description": "Do not add dependencies to `package.json`. NOTE: only used if running the generator in an Nx workspace.", + "x-priority": "internal" }, "skipPostInstall": { "type": "boolean", "default": false, - "description": "Do not add or append `ngcc` to the `postinstall` script in `package.json`. NOTE: only used if running the generator in an Nx workspace." + "description": "Do not add or append `ngcc` to the `postinstall` script in `package.json`. NOTE: only used if running the generator in an Nx workspace.", + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/packages/angular/src/generators/ngrx/schema.json b/packages/angular/src/generators/ngrx/schema.json index b202408048..02db418692 100644 --- a/packages/angular/src/generators/ngrx/schema.json +++ b/packages/angular/src/generators/ngrx/schema.json @@ -23,7 +23,8 @@ "$source": "argv", "index": 0 }, - "x-prompt": "What name would you like to use for the NgRx feature state? An example would be `users`." + "x-prompt": "What name would you like to use for the NgRx feature state? An example would be `users`.", + "x-priority": "important" }, "module": { "type": "string", @@ -32,8 +33,9 @@ }, "parent": { "type": "string", - "description": "The path to the `NgModule` or the `Routes` definition file (for Standalone API usage) where the feature state will be registered. _Note: The Standalone API usage is only supported in Angular versions >= 14.1.0_.", - "x-prompt": "What is the path to the module or Routes definition where this NgRx state should be registered?" + "description": "The path to the `NgModule` or the `Routes` definition file (for Standalone API usage) where the feature state will be registered. The host directory will create/use the new state directory. _Note: The Standalone API usage is only supported in Angular versions >= 14.1.0_.", + "x-prompt": "What is the path to the module or Routes definition where this NgRx state should be registered?", + "x-priority": "important" }, "route": { "type": "string", @@ -49,7 +51,8 @@ "type": "boolean", "default": false, "description": "Setup root or feature state management with NgRx.", - "x-prompt": "Is this the root state of the application?" + "x-prompt": "Is this the root state of the application?", + "x-priority": "important" }, "facade": { "type": "boolean", @@ -70,12 +73,14 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not update the `package.json` with NgRx dependencies." + "description": "Do not update the `package.json` with NgRx dependencies.", + "x-priority": "internal" }, "barrels": { "type": "boolean", diff --git a/packages/angular/src/generators/remote/schema.json b/packages/angular/src/generators/remote/schema.json index 01a4348701..ebd73880be 100644 --- a/packages/angular/src/generators/remote/schema.json +++ b/packages/angular/src/generators/remote/schema.json @@ -23,7 +23,8 @@ "host": { "type": "string", "description": "The name of the host app to attach this remote app to.", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "port": { "type": "number", @@ -93,7 +94,8 @@ "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not add dependencies to `package.json`." + "description": "Do not add dependencies to `package.json`.", + "x-priority": "internal" }, "unitTestRunner": { "type": "string", @@ -143,7 +145,8 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "standalone": { "description": "Whether to generate a remote application with standalone components. _Note: This is only supported in Angular versions >= 14.1.0_", diff --git a/packages/angular/src/generators/scam-directive/schema.json b/packages/angular/src/generators/scam-directive/schema.json index cb00913998..0c9304d679 100644 --- a/packages/angular/src/generators/scam-directive/schema.json +++ b/packages/angular/src/generators/scam-directive/schema.json @@ -22,7 +22,8 @@ "project": { "type": "string", "description": "The name of the project.", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "name": { "type": "string", @@ -31,7 +32,8 @@ "$source": "argv", "index": 0 }, - "x-prompt": "What name would you like to use for the directive?" + "x-prompt": "What name would you like to use for the directive?", + "x-priority": "important" }, "skipTests": { "type": "boolean", @@ -41,7 +43,8 @@ "inlineScam": { "type": "boolean", "description": "Create the `NgModule` in the same file as the Directive.", - "default": true + "default": true, + "x-priority": "important" }, "flat": { "type": "boolean", @@ -70,7 +73,8 @@ "export": { "type": "boolean", "description": "Specifies if the SCAM should be exported from the project's entry point (normally `index.ts`). It only applies to libraries.", - "default": true + "default": true, + "x-priority": "important" } }, "required": ["name"] diff --git a/packages/angular/src/generators/scam-pipe/schema.json b/packages/angular/src/generators/scam-pipe/schema.json index 216fe72d88..9e5fd6601f 100644 --- a/packages/angular/src/generators/scam-pipe/schema.json +++ b/packages/angular/src/generators/scam-pipe/schema.json @@ -22,7 +22,8 @@ "project": { "type": "string", "description": "The name of the project.", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "name": { "type": "string", @@ -31,7 +32,8 @@ "$source": "argv", "index": 0 }, - "x-prompt": "What name would you like to use for the pipe?" + "x-prompt": "What name would you like to use for the pipe?", + "x-priority": "important" }, "skipTests": { "type": "boolean", @@ -41,7 +43,8 @@ "inlineScam": { "type": "boolean", "description": "Create the NgModule in the same file as the Pipe.", - "default": true + "default": true, + "x-priority": "important" }, "flat": { "type": "boolean", @@ -51,7 +54,8 @@ "export": { "type": "boolean", "description": "Specifies if the SCAM should be exported from the project's entry point (normally `index.ts`). It only applies to libraries.", - "default": true + "default": true, + "x-priority": "important" } }, "required": ["name"] diff --git a/packages/angular/src/generators/scam-to-standalone/schema.json b/packages/angular/src/generators/scam-to-standalone/schema.json index 3ad9a2d23d..230013ad45 100644 --- a/packages/angular/src/generators/scam-to-standalone/schema.json +++ b/packages/angular/src/generators/scam-to-standalone/schema.json @@ -12,17 +12,20 @@ "$default": { "$source": "argv", "index": 0 - } + }, + "x-priority": "important" }, "project": { "type": "string", "description": "The project containing the SCAM.", "x-prompt": "What project contains the SCAM?", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "skipFormat": { "type": "boolean", - "description": "Skip formatting the workspace after the generator completes." + "description": "Skip formatting the workspace after the generator completes.", + "x-priority": "internal" } }, "examplesFile": "../../../docs/scam-to-standalone-examples.md" diff --git a/packages/angular/src/generators/scam/schema.json b/packages/angular/src/generators/scam/schema.json index df7e4f06cc..de65f65bbb 100644 --- a/packages/angular/src/generators/scam/schema.json +++ b/packages/angular/src/generators/scam/schema.json @@ -22,7 +22,8 @@ "project": { "type": "string", "description": "The name of the project.", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "name": { "type": "string", @@ -78,7 +79,8 @@ "inlineScam": { "type": "boolean", "description": "Create the `NgModule` in the same file as the component.", - "default": true + "default": true, + "x-priority": "important" }, "flat": { "type": "boolean", @@ -117,7 +119,8 @@ "export": { "type": "boolean", "description": "Specifies if the SCAM should be exported from the project's entry point (normally `index.ts`). It only applies to libraries.", - "default": true + "default": true, + "x-priority": "important" } }, "required": ["name"] diff --git a/packages/angular/src/generators/setup-mf/schema.json b/packages/angular/src/generators/setup-mf/schema.json index ccb47628a6..ffb3316bbf 100644 --- a/packages/angular/src/generators/setup-mf/schema.json +++ b/packages/angular/src/generators/setup-mf/schema.json @@ -42,16 +42,19 @@ }, "routing": { "type": "boolean", - "description": "Generate a routing setup to allow a host application to route to the remote application." + "description": "Generate a routing setup to allow a host application to route to the remote application.", + "x-priority": "important" }, "skipFormat": { "type": "boolean", - "description": "Skip formatting the workspace after the generator completes." + "description": "Skip formatting the workspace after the generator completes.", + "x-priority": "internal" }, "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not add dependencies to `package.json`." + "description": "Do not add dependencies to `package.json`.", + "x-priority": "internal" }, "skipE2E": { "type": "boolean", diff --git a/packages/angular/src/generators/setup-ssr/schema.json b/packages/angular/src/generators/setup-ssr/schema.json index a348ffd6db..b8447a7ea2 100644 --- a/packages/angular/src/generators/setup-ssr/schema.json +++ b/packages/angular/src/generators/setup-ssr/schema.json @@ -51,7 +51,8 @@ }, "skipFormat": { "type": "boolean", - "description": "Skip formatting the workspace after the generator completes." + "description": "Skip formatting the workspace after the generator completes.", + "x-priority": "internal" } }, "required": ["project"], diff --git a/packages/angular/src/generators/setup-tailwind/schema.json b/packages/angular/src/generators/setup-tailwind/schema.json index 710f3427ea..34a4a6503b 100644 --- a/packages/angular/src/generators/setup-tailwind/schema.json +++ b/packages/angular/src/generators/setup-tailwind/schema.json @@ -22,7 +22,8 @@ }, "skipFormat": { "type": "boolean", - "description": "Skips formatting the workspace after the generator completes." + "description": "Skips formatting the workspace after the generator completes.", + "x-priority": "internal" }, "stylesEntryPoint": { "type": "string", @@ -31,7 +32,8 @@ "skipPackageJson": { "type": "boolean", "default": false, - "description": "Do not add dependencies to `package.json`." + "description": "Do not add dependencies to `package.json`.", + "x-priority": "internal" } }, "additionalProperties": false, diff --git a/packages/angular/src/generators/stories/schema.json b/packages/angular/src/generators/stories/schema.json index d91ba9e2a7..b97cfe83f5 100644 --- a/packages/angular/src/generators/stories/schema.json +++ b/packages/angular/src/generators/stories/schema.json @@ -15,12 +15,14 @@ "index": 0 }, "x-prompt": "What's the name of the project for which you want to generate stories?", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "generateCypressSpecs": { "type": "boolean", "description": "Specifies whether to automatically generate `*.spec.ts` files in the Cypress e2e app generated by the `cypress-configure` generator.", - "x-prompt": "Do you want to generate Cypress specs as well?" + "x-prompt": "Do you want to generate Cypress specs as well?", + "x-priority": "important" }, "cypressProject": { "type": "string", @@ -29,7 +31,8 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "ignorePaths": { "type": "array", diff --git a/packages/angular/src/generators/storybook-configuration/schema.json b/packages/angular/src/generators/storybook-configuration/schema.json index 504cb25e96..98b7bde2a1 100644 --- a/packages/angular/src/generators/storybook-configuration/schema.json +++ b/packages/angular/src/generators/storybook-configuration/schema.json @@ -58,7 +58,8 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "ignorePaths": { "type": "array", diff --git a/packages/angular/src/generators/upgrade-module/schema.json b/packages/angular/src/generators/upgrade-module/schema.json index 2bb918d1f4..46b817a644 100644 --- a/packages/angular/src/generators/upgrade-module/schema.json +++ b/packages/angular/src/generators/upgrade-module/schema.json @@ -8,7 +8,8 @@ "properties": { "project": { "type": "string", - "description": "The name of the project." + "description": "The name of the project.", + "x-priority": "important" }, "name": { "type": "string", @@ -16,7 +17,8 @@ "$default": { "$source": "argv", "index": 0 - } + }, + "x-priority": "important" }, "angularJsImport": { "type": "string", @@ -29,17 +31,20 @@ "skipFormat": { "type": "boolean", "description": "Skip formatting files.", - "default": false + "default": false, + "x-priority": "internal" }, "skipPackageJson": { "type": "boolean", "description": "Do not add `@angular/upgrade` to `package.json` (e.g., `--skipPackageJson`).", - "default": false + "default": false, + "x-priority": "internal" }, "router": { "type": "boolean", "description": "Sets up router synchronization (e.g., `--router`).", - "default": false + "default": false, + "x-priority": "important" } }, "additionalProperties": false, diff --git a/packages/angular/src/generators/web-worker/schema.json b/packages/angular/src/generators/web-worker/schema.json index d57bff5ad4..c6e7313267 100644 --- a/packages/angular/src/generators/web-worker/schema.json +++ b/packages/angular/src/generators/web-worker/schema.json @@ -14,7 +14,8 @@ "project": { "type": "string", "description": "The name of the project.", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "name": { "type": "string", @@ -23,7 +24,8 @@ "$source": "argv", "index": 0 }, - "x-prompt": "What name would you like to use for the worker?" + "x-prompt": "What name would you like to use for the worker?", + "x-priority": "important" }, "snippet": { "type": "boolean", @@ -33,7 +35,8 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" } }, "additionalProperties": false,