From d20cf91e6c5e1b71fb8af4e6413d27b15e82d2ce Mon Sep 17 00:00:00 2001 From: Jack Hsu Date: Fri, 13 Jan 2023 11:50:01 -0500 Subject: [PATCH] feat(misc): add x-priority tags to next, react, webpack, rollup, esbuild (#14352) --- .../packages/esbuild/executors/esbuild.json | 19 +++++++++-------- .../esbuild/generators/esbuild-project.json | 18 ++++++++++------ .../packages/next/executors/build.json | 15 +++++++++---- .../packages/next/executors/export.json | 3 ++- .../packages/next/executors/server.json | 6 ++++-- .../packages/next/generators/application.json | 12 +++++++---- .../packages/next/generators/component.json | 12 +++++++---- .../next/generators/custom-server.json | 3 ++- .../packages/next/generators/library.json | 6 ++++-- .../packages/next/generators/page.json | 12 +++++++---- .../module-federation-dev-server.json | 15 ++++++++----- .../module-federation-ssr-dev-server.json | 15 ++++++++----- .../react/generators/application.json | 18 ++++++++++------ .../generators/component-cypress-spec.json | 6 ++++-- .../react/generators/component-story.json | 6 ++++-- .../react/generators/component-test.json | 6 ++++-- .../packages/react/generators/component.json | 12 +++++++---- .../cypress-component-configuration.json | 12 +++++++---- .../packages/react/generators/hook.json | 12 +++++++---- .../packages/react/generators/host.json | 18 ++++++++++------ .../packages/react/generators/library.json | 18 ++++++++++------ .../packages/react/generators/redux.json | 9 +++++--- .../packages/react/generators/remote.json | 18 ++++++++++------ .../packages/react/generators/setup-ssr.json | 9 +++++--- .../react/generators/setup-tailwind.json | 12 +++++++---- .../packages/react/generators/stories.json | 6 ++++-- .../packages/rollup/executors/rollup.json | 12 +++++++---- .../rollup/generators/rollup-project.json | 18 ++++++++++------ .../webpack/executors/dev-server.json | 9 +++++--- .../webpack/executors/ssr-dev-server.json | 9 +++++--- .../packages/webpack/executors/webpack.json | 12 +++++++---- .../webpack/generators/webpack-project.json | 21 ++++++++++++------- .../esbuild/src/executors/esbuild/schema.json | 19 +++++++++-------- .../generators/esbuild-project/schema.json | 18 ++++++++++------ packages/next/src/executors/build/schema.json | 12 +++++++---- .../next/src/executors/export/schema.json | 3 ++- .../next/src/executors/server/schema.json | 6 ++++-- .../src/generators/application/schema.json | 12 +++++++---- .../next/src/generators/component/schema.json | 12 +++++++---- .../src/generators/custom-server/schema.json | 3 ++- .../next/src/generators/library/schema.json | 6 ++++-- packages/next/src/generators/page/schema.json | 12 +++++++---- .../module-federation-dev-server/schema.json | 15 ++++++++----- .../schema.json | 15 ++++++++----- .../src/generators/application/schema.json | 18 ++++++++++------ .../component-cypress-spec/schema.json | 6 ++++-- .../generators/component-story/schema.json | 6 ++++-- .../src/generators/component-test/schema.json | 6 ++++-- .../src/generators/component/schema.json | 12 +++++++---- .../schema.json | 12 +++++++---- .../react/src/generators/hook/schema.json | 12 +++++++---- .../react/src/generators/host/schema.json | 18 ++++++++++------ .../react/src/generators/library/schema.json | 18 ++++++++++------ .../react/src/generators/redux/schema.json | 9 +++++--- .../react/src/generators/remote/schema.json | 18 ++++++++++------ .../src/generators/setup-ssr/schema.json | 9 +++++--- .../src/generators/setup-tailwind/schema.json | 12 +++++++---- .../react/src/generators/stories/schema.json | 6 ++++-- .../rollup/src/executors/rollup/schema.json | 12 +++++++---- .../src/generators/rollup-project/schema.json | 18 ++++++++++------ .../src/executors/dev-server/schema.json | 9 +++++--- .../src/executors/ssr-dev-server/schema.json | 9 +++++--- .../webpack/src/executors/webpack/schema.json | 12 +++++++---- .../generators/webpack-project/schema.json | 21 ++++++++++++------- 64 files changed, 499 insertions(+), 256 deletions(-) diff --git a/docs/generated/packages/esbuild/executors/esbuild.json b/docs/generated/packages/esbuild/executors/esbuild.json index 2123f83a1e..a4f9d09bc6 100644 --- a/docs/generated/packages/esbuild/executors/esbuild.json +++ b/docs/generated/packages/esbuild/executors/esbuild.json @@ -14,12 +14,14 @@ "description": "The path to the entry file, relative to project.", "alias": "entryFile", "x-completion-type": "file", - "x-completion-glob": "**/*@(.js|.ts)" + "x-completion-glob": "**/*@(.js|.ts)", + "x-priority": "important" }, "outputPath": { "type": "string", "description": "The output path of the generated files.", - "x-completion-type": "directory" + "x-completion-type": "directory", + "x-priority": "important" }, "outputFileName": { "type": "string", @@ -29,11 +31,8 @@ "type": "string", "description": "The path to tsconfig file.", "x-completion-type": "file", - "x-completion-glob": "tsconfig.*.json" - }, - "project": { - "type": "string", - "description": "The path to package.json file." + "x-completion-glob": "tsconfig.*.json", + "x-priority": "important" }, "additionalEntryPoints": { "type": "array", @@ -139,7 +138,8 @@ "skipTypeCheck": { "type": "boolean", "description": "Skip type-checking via TypeScript. Skipping type-checking speeds up the build but type errors are not caught.", - "default": false + "default": false, + "x-priority": "internal" }, "thirdParty": { "type": "boolean", @@ -155,7 +155,8 @@ "esbuildOptions": { "type": "object", "description": "Additional options to pass to esbuild. See https://esbuild.github.io/api/.", - "additionalProperties": true + "additionalProperties": true, + "x-priority": "important" } }, "required": ["tsConfig", "main", "outputPath"], diff --git a/docs/generated/packages/esbuild/generators/esbuild-project.json b/docs/generated/packages/esbuild/generators/esbuild-project.json index 6a2260a7b0..434d89b8d7 100644 --- a/docs/generated/packages/esbuild/generators/esbuild-project.json +++ b/docs/generated/packages/esbuild/generators/esbuild-project.json @@ -14,31 +14,37 @@ "description": "The name of the project.", "$default": { "$source": "argv", "index": 0 }, "x-dropdown": "project", - "x-prompt": "What is the name of the project to set up a esbuild for?" + "x-prompt": "What is the name of the project to set up a esbuild for?", + "x-priority": "important" }, "main": { "type": "string", "description": "Path relative to the workspace root for the main entry file. Defaults to `/src/main.ts` or `src/index.ts`, whichever is found.", - "alias": "entryFile" + "alias": "entryFile", + "x-priority": "important" }, "tsConfig": { "type": "string", - "description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to `/tsconfig.app.json` or `/tsconfig.lib.json`, whichever is found." + "description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to `/tsconfig.app.json` or `/tsconfig.lib.json`, whichever is found.", + "x-priority": "important" }, "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" }, "skipValidation": { "type": "boolean", "default": false, - "description": "Do not perform any validation on existing project." + "description": "Do not perform any validation on existing project.", + "x-priority": "internal" }, "importPath": { "type": "string", diff --git a/docs/generated/packages/next/executors/build.json b/docs/generated/packages/next/executors/build.json index 881fccb0c7..54eca894b4 100644 --- a/docs/generated/packages/next/executors/build.json +++ b/docs/generated/packages/next/executors/build.json @@ -10,11 +10,16 @@ "description": "Build a Next.js app.", "type": "object", "properties": { - "root": { "description": "The source root", "type": "string" }, + "root": { + "description": "The source root", + "type": "string", + "x-priority": "important" + }, "outputPath": { "type": "string", "description": "The output path of the generated files.", - "x-completion-type": "directory" + "x-completion-type": "directory", + "x-priority": "important" }, "fileReplacements": { "description": "Replace files with other files in the build.", @@ -42,7 +47,8 @@ "description": "Path (relative to workspace root) to a function which takes phase, config, and builder options, and returns the resulting config. This is an advanced option and should not be used with a normal Next.js config file (i.e. `next.config.js`).", "type": "string", "x-completion-type": "file", - "x-completion-glob": "next?(*).js" + "x-completion-glob": "next?(*).js", + "x-priority": "important" }, "buildLibsFromSource": { "type": "boolean", @@ -57,7 +63,8 @@ "generateLockfile": { "type": "boolean", "description": "Generate a lockfile (e.g. yarn.lock) that matches the workspace lockfile to ensure package versions match.", - "default": false + "default": false, + "x-priority": "internal" } }, "required": ["root", "outputPath"], diff --git a/docs/generated/packages/next/executors/export.json b/docs/generated/packages/next/executors/export.json index 71ce1bd3b9..568aa1c7c1 100644 --- a/docs/generated/packages/next/executors/export.json +++ b/docs/generated/packages/next/executors/export.json @@ -11,7 +11,8 @@ "properties": { "buildTarget": { "type": "string", - "description": "Target which builds the application" + "description": "Target which builds the application", + "x-priority": "important" }, "silent": { "type": "boolean", diff --git a/docs/generated/packages/next/executors/server.json b/docs/generated/packages/next/executors/server.json index 47e269099b..b67b84ccb9 100644 --- a/docs/generated/packages/next/executors/server.json +++ b/docs/generated/packages/next/executors/server.json @@ -16,12 +16,14 @@ }, "buildTarget": { "type": "string", - "description": "Target which builds the application." + "description": "Target which builds the application.", + "x-priority": "important" }, "port": { "type": "number", "description": "Port to listen on.", - "default": 4200 + "default": 4200, + "x-priority": "important" }, "staticMarkup": { "type": "boolean", diff --git a/docs/generated/packages/next/generators/application.json b/docs/generated/packages/next/generators/application.json index f87ea7bd4f..4e67cac6a4 100644 --- a/docs/generated/packages/next/generators/application.json +++ b/docs/generated/packages/next/generators/application.json @@ -14,12 +14,14 @@ "type": "string", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What name would you like to use for the application?", - "pattern": "^[a-zA-Z].*$" + "pattern": "^[a-zA-Z].*$", + "x-priority": "important" }, "directory": { "description": "The directory of the new application.", "type": "string", - "alias": "d" + "alias": "d", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", @@ -71,12 +73,14 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "skipWorkspaceJson": { "description": "Skip updating `workspace.json` with default options based on values provided to this app (e.g. `babel`, `style`).", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "unitTestRunner": { "type": "string", diff --git a/docs/generated/packages/next/generators/component.json b/docs/generated/packages/next/generators/component.json index 9dbb920cdb..c21a65860d 100644 --- a/docs/generated/packages/next/generators/component.json +++ b/docs/generated/packages/next/generators/component.json @@ -14,13 +14,15 @@ "description": "The name of the project.", "alias": "p", "$default": { "$source": "projectName" }, - "x-prompt": "What is the name of the project for this component?" + "x-prompt": "What is the name of the project for this component?", + "x-priority": "important" }, "name": { "type": "string", "description": "The name of the component.", "$default": { "$source": "argv", "index": 0 }, - "x-prompt": "What name would you like to use for the component?" + "x-prompt": "What name would you like to use for the component?", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", @@ -62,12 +64,14 @@ "skipTests": { "type": "boolean", "description": "When true, does not create `spec.ts` test files for the new component.", - "default": false + "default": false, + "x-priority": "internal" }, "directory": { "type": "string", "description": "Create the component under this directory (can be nested).", - "alias": "dir" + "alias": "dir", + "x-priority": "important" }, "export": { "type": "boolean", diff --git a/docs/generated/packages/next/generators/custom-server.json b/docs/generated/packages/next/generators/custom-server.json index 6248afd847..661bf45517 100644 --- a/docs/generated/packages/next/generators/custom-server.json +++ b/docs/generated/packages/next/generators/custom-server.json @@ -15,7 +15,8 @@ "alias": "p", "$default": { "$source": "argv", "index": 0 }, "x-dropdown": "project", - "x-prompt": "What is the name of the project to set up a custom server for?" + "x-prompt": "What is the name of the project to set up a custom server for?", + "x-priority": "important" }, "compiler": { "type": "string", diff --git a/docs/generated/packages/next/generators/library.json b/docs/generated/packages/next/generators/library.json index b7428e3dd2..287e505b9e 100644 --- a/docs/generated/packages/next/generators/library.json +++ b/docs/generated/packages/next/generators/library.json @@ -14,12 +14,14 @@ "description": "Library name", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What name would you like to use for the library?", - "pattern": "^[a-zA-Z].*$" + "pattern": "^[a-zA-Z].*$", + "x-priority": "important" }, "directory": { "type": "string", "description": "A directory where the lib is placed.", - "alias": "dir" + "alias": "dir", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", diff --git a/docs/generated/packages/next/generators/page.json b/docs/generated/packages/next/generators/page.json index 188901dc0e..f8d7386fe8 100644 --- a/docs/generated/packages/next/generators/page.json +++ b/docs/generated/packages/next/generators/page.json @@ -14,18 +14,21 @@ "description": "The name of the project.", "alias": "p", "$default": { "$source": "projectName" }, - "x-prompt": "What is the name of the project for this component?" + "x-prompt": "What is the name of the project for this component?", + "x-priority": "important" }, "name": { "type": "string", "description": "The name of the component.", "$default": { "$source": "argv", "index": 0 }, - "x-prompt": "What name would you like to use for the component?" + "x-prompt": "What name would you like to use for the component?", + "x-priority": "important" }, "directory": { "type": "string", "description": "Create the page under this directory (can be nested). Will be created under `pages/`.", - "alias": "dir" + "alias": "dir", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", @@ -63,7 +66,8 @@ }, { "value": "none", "label": "None" } ] - } + }, + "x-priority": "important" }, "withTests": { "type": "boolean", diff --git a/docs/generated/packages/react/executors/module-federation-dev-server.json b/docs/generated/packages/react/executors/module-federation-dev-server.json index 9b8ccd62c3..b962cf3a45 100644 --- a/docs/generated/packages/react/executors/module-federation-dev-server.json +++ b/docs/generated/packages/react/executors/module-federation-dev-server.json @@ -12,21 +12,25 @@ "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", "items": { "type": "string" }, - "description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository." + "description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository.", + "x-priority": "important" }, "buildTarget": { "type": "string", - "description": "Target which builds the application." + "description": "Target which builds the application.", + "x-priority": "important" }, "port": { "type": "number", "description": "Port to listen on.", - "default": 4200 + "default": 4200, + "x-priority": "important" }, "host": { "type": "string", @@ -68,7 +72,8 @@ "open": { "type": "boolean", "description": "Open the application in the browser.", - "default": false + "default": false, + "x-priority": "important" }, "allowedHosts": { "type": "string", diff --git a/docs/generated/packages/react/executors/module-federation-ssr-dev-server.json b/docs/generated/packages/react/executors/module-federation-ssr-dev-server.json index 860e58603e..bdca395348 100644 --- a/docs/generated/packages/react/executors/module-federation-ssr-dev-server.json +++ b/docs/generated/packages/react/executors/module-federation-ssr-dev-server.json @@ -11,26 +11,31 @@ "properties": { "browserTarget": { "type": "string", - "description": "Target which builds the browser application." + "description": "Target which builds the browser application.", + "x-priority": "important" }, "serverTarget": { "type": "string", - "description": "Target which builds the server application." + "description": "Target which builds the server application.", + "x-priority": "important" }, "port": { "type": "number", "description": "The port to be set on `process.env.PORT` for use in the server.", - "default": 4200 + "default": 4200, + "x-priority": "important" }, "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", "items": { "type": "string" }, - "description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository." + "description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository.", + "x-priority": "important" }, "host": { "type": "string", diff --git a/docs/generated/packages/react/generators/application.json b/docs/generated/packages/react/generators/application.json index e1b0453d0e..0b434be08e 100644 --- a/docs/generated/packages/react/generators/application.json +++ b/docs/generated/packages/react/generators/application.json @@ -28,12 +28,14 @@ "type": "string", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What name would you like to use for the application?", - "pattern": "^[a-zA-Z].*$" + "pattern": "^[a-zA-Z].*$", + "x-priority": "important" }, "directory": { "description": "The directory of the new application.", "type": "string", - "alias": "dir" + "alias": "dir", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", @@ -88,12 +90,14 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "hidden" }, "skipWorkspaceJson": { "description": "Skip updating `workspace.json` with default options based on values provided to this app (e.g. babel, style).", "type": "boolean", - "default": false + "default": false, + "x-priority": "hidden" }, "unitTestRunner": { "type": "string", @@ -162,7 +166,8 @@ "skipPackageJson": { "description": "Do not add dependencies to `package.json`.", "type": "boolean", - "default": false + "default": false, + "x-priority": "hidden" }, "rootProject": { "description": "Create a application at the root of the workspace", @@ -175,7 +180,8 @@ "type": "string", "enum": ["vite", "webpack"], "x-prompt": "Which bundler do you want to use to build the application?", - "default": "webpack" + "default": "webpack", + "x-priority": "important" }, "minimal": { "description": "Generate a React app with a minimal setup, no separate test files.", diff --git a/docs/generated/packages/react/generators/component-cypress-spec.json b/docs/generated/packages/react/generators/component-cypress-spec.json index 125262c91c..c8e727baea 100644 --- a/docs/generated/packages/react/generators/component-cypress-spec.json +++ b/docs/generated/packages/react/generators/component-cypress-spec.json @@ -14,13 +14,15 @@ "description": "The project name for which to generate tests.", "examples": ["shared-ui-component"], "$default": { "$source": "projectName", "index": 0 }, - "x-prompt": "What's name of the project for which to generate tests?" + "x-prompt": "What's name of the project for which to generate tests?", + "x-priority": "important" }, "componentPath": { "type": "string", "description": "Relative path to the component file from the library root?", "examples": ["lib/components"], - "x-prompt": "What's path of the component relative to the project's lib root for which to generate a test?" + "x-prompt": "What's path of the component relative to the project's lib root for which to generate a test?", + "x-priority": "important" }, "js": { "type": "boolean", diff --git a/docs/generated/packages/react/generators/component-story.json b/docs/generated/packages/react/generators/component-story.json index 9b6d35af1a..6a20d98d6b 100644 --- a/docs/generated/packages/react/generators/component-story.json +++ b/docs/generated/packages/react/generators/component-story.json @@ -15,13 +15,15 @@ "description": "The project where to add the components.", "examples": ["shared-ui-component"], "$default": { "$source": "projectName", "index": 0 }, - "x-prompt": "What's name of the project where the component lives?" + "x-prompt": "What's name of the project where the component lives?", + "x-priority": "important" }, "componentPath": { "type": "string", "description": "Relative path to the component file from the library root.", "examples": ["lib/components"], - "x-prompt": "What's path of the component relative to the project's lib root?" + "x-prompt": "What's path of the component relative to the project's lib root?", + "x-priority": "important" } }, "required": ["project", "componentPath"], diff --git a/docs/generated/packages/react/generators/component-test.json b/docs/generated/packages/react/generators/component-test.json index 5145daf2f6..9bf407b5c2 100644 --- a/docs/generated/packages/react/generators/component-test.json +++ b/docs/generated/packages/react/generators/component-test.json @@ -19,12 +19,14 @@ "type": "string", "description": "The name of the project the component is apart of", "x-dropdown": "projects", - "x-prompt": "What project is this component apart of?" + "x-prompt": "What project is this component apart of?", + "x-priority": "important" }, "componentPath": { "type": "string", "description": "Path to component, from the project source root", - "x-prompt": "What is the path to the component?" + "x-prompt": "What is the path to the component?", + "x-priority": "important" } }, "required": ["project", "componentPath"], diff --git a/docs/generated/packages/react/generators/component.json b/docs/generated/packages/react/generators/component.json index b648c5a403..124e94b832 100644 --- a/docs/generated/packages/react/generators/component.json +++ b/docs/generated/packages/react/generators/component.json @@ -24,13 +24,15 @@ "description": "The name of the project.", "alias": "p", "$default": { "$source": "projectName" }, - "x-prompt": "What is the name of the project for this component?" + "x-prompt": "What is the name of the project for this component?", + "x-priority": "important" }, "name": { "type": "string", "description": "The name of the component.", "$default": { "$source": "argv", "index": 0 }, - "x-prompt": "What name would you like to use for the component?" + "x-prompt": "What name would you like to use for the component?", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", @@ -78,12 +80,14 @@ "skipTests": { "type": "boolean", "description": "When true, does not create `spec.ts` test files for the new component.", - "default": false + "default": false, + "x-priority": "internal" }, "directory": { "type": "string", "description": "Create the component under this directory (can be nested).", - "alias": "dir" + "alias": "dir", + "x-priority": "important" }, "flat": { "type": "boolean", diff --git a/docs/generated/packages/react/generators/cypress-component-configuration.json b/docs/generated/packages/react/generators/cypress-component-configuration.json index 5233532718..4c06cdf996 100644 --- a/docs/generated/packages/react/generators/cypress-component-configuration.json +++ b/docs/generated/packages/react/generators/cypress-component-configuration.json @@ -23,13 +23,15 @@ "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", "description": "Generate default component tests for existing components in the project", "x-prompt": "Automatically generate tests for components declared in this project?", - "default": false + "default": false, + "x-priority": "important" }, "buildTarget": { "type": "string", @@ -39,13 +41,15 @@ "skipFormat": { "type": "boolean", "description": "Skip formatting files", - "default": false + "default": false, + "x-priority": "internal" }, "bundler": { "description": "The bundler to use for Cypress Component Testing.", "type": "string", "enum": ["vite", "webpack"], - "hidden": true + "hidden": true, + "x-priority": "internal" } }, "required": ["project"], diff --git a/docs/generated/packages/react/generators/hook.json b/docs/generated/packages/react/generators/hook.json index 50c234a589..466b12241b 100644 --- a/docs/generated/packages/react/generators/hook.json +++ b/docs/generated/packages/react/generators/hook.json @@ -20,13 +20,15 @@ "description": "The name of the project.", "alias": "p", "$default": { "$source": "projectName" }, - "x-prompt": "What is the name of the project for this hook?" + "x-prompt": "What is the name of the project for this hook?", + "x-priority": "important" }, "name": { "type": "string", "description": "The name of the hook.", "$default": { "$source": "argv", "index": 0 }, - "x-prompt": "What name would you like to use for the hook?" + "x-prompt": "What name would you like to use for the hook?", + "x-priority": "important" }, "js": { "type": "boolean", @@ -36,11 +38,13 @@ "skipTests": { "type": "boolean", "description": "When true, does not create `spec.ts` test files for the new hook.", - "default": false + "default": false, + "x-priority": "internal" }, "directory": { "type": "string", - "description": "Create the hook under this directory (can be nested)." + "description": "Create the hook under this directory (can be nested).", + "x-priority": "important" }, "flat": { "type": "boolean", diff --git a/docs/generated/packages/react/generators/host.json b/docs/generated/packages/react/generators/host.json index 690e2debfc..c1c101d1e4 100644 --- a/docs/generated/packages/react/generators/host.json +++ b/docs/generated/packages/react/generators/host.json @@ -14,12 +14,14 @@ "description": "The name of the host application to generate the Module Federation configuration", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What name would you like to use as the host application?", - "pattern": "^[a-zA-Z].*$" + "pattern": "^[a-zA-Z].*$", + "x-priority": "important" }, "directory": { "description": "The directory of the new application.", "type": "string", - "alias": "dir" + "alias": "dir", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", @@ -68,12 +70,14 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "skipWorkspaceJson": { "description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style).", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "unitTestRunner": { "type": "string", @@ -137,12 +141,14 @@ "remotes": { "type": "array", "description": "A list of remote application names that the host application should consume.", - "default": [] + "default": [], + "x-priority": "important" }, "devServerPort": { "type": "number", "description": "The port for the dev server of the remote app.", - "default": 4200 + "default": 4200, + "x-priority": "important" }, "ssr": { "description": "Whether to configure SSR for the host application", diff --git a/docs/generated/packages/react/generators/library.json b/docs/generated/packages/react/generators/library.json index 3a9525c7ce..9fa76aa2de 100644 --- a/docs/generated/packages/react/generators/library.json +++ b/docs/generated/packages/react/generators/library.json @@ -24,12 +24,14 @@ "description": "Library name", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What name would you like to use for the library?", - "pattern": "^[a-zA-Z].*$" + "pattern": "^[a-zA-Z].*$", + "x-priority": "important" }, "directory": { "type": "string", "description": "A directory where the lib is placed.", - "alias": "dir" + "alias": "dir", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", @@ -93,12 +95,14 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "skipTsConfig": { "type": "boolean", "default": false, - "description": "Do not update `tsconfig.json` for development experience." + "description": "Do not update `tsconfig.json` for development experience.", + "x-priority": "internal" }, "pascalCaseFiles": { "type": "boolean", @@ -163,7 +167,8 @@ "description": "The bundler to use. Choosing 'none' means this library is not buildable.", "enum": ["none", "vite", "rollup"], "default": "none", - "x-prompt": "Which bundler would you like to use to build the library? Choose 'none' to skip build setup." + "x-prompt": "Which bundler would you like to use to build the library? Choose 'none' to skip build setup.", + "x-priority": "important" }, "compiler": { "type": "string", @@ -174,7 +179,8 @@ "skipPackageJson": { "description": "Do not add dependencies to `package.json`.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "minimal": { "description": "Create a React library with a minimal setup, no separate test files.", diff --git a/docs/generated/packages/react/generators/redux.json b/docs/generated/packages/react/generators/redux.json index 54fbeff480..a870aa34e8 100644 --- a/docs/generated/packages/react/generators/redux.json +++ b/docs/generated/packages/react/generators/redux.json @@ -12,20 +12,23 @@ "name": { "type": "string", "description": "Redux slice name.", - "$default": { "$source": "argv", "index": 0 } + "$default": { "$source": "argv", "index": 0 }, + "x-priority": "important" }, "project": { "type": "string", "description": "The name of the project to add the slice to. If it is an application, then the store configuration will be updated too.", "alias": "p", "$default": { "$source": "projectName" }, - "x-prompt": "What is the name of the project for this slice?" + "x-prompt": "What is the name of the project for this slice?", + "x-priority": "important" }, "directory": { "type": "string", "alias": "dir", "default": "", - "description": "The name of the folder used to contain/group the generated Redux files." + "description": "The name of the folder used to contain/group the generated Redux files.", + "x-priority": "important" }, "appProject": { "type": "string", diff --git a/docs/generated/packages/react/generators/remote.json b/docs/generated/packages/react/generators/remote.json index dc71b83cb3..890a8a1060 100644 --- a/docs/generated/packages/react/generators/remote.json +++ b/docs/generated/packages/react/generators/remote.json @@ -14,12 +14,14 @@ "description": "The name of the remote application to generate the Module Federation configuration", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What name would you like to use as the remote application?", - "pattern": "^[a-zA-Z].*$" + "pattern": "^[a-zA-Z].*$", + "x-priority": "important" }, "directory": { "description": "The directory of the new application.", "type": "string", - "alias": "dir" + "alias": "dir", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", @@ -73,12 +75,14 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "skipWorkspaceJson": { "description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style).", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "unitTestRunner": { "type": "string", @@ -141,12 +145,14 @@ }, "host": { "type": "string", - "description": "The host / shell application for this remote." + "description": "The host / shell application for this remote.", + "x-priority": "important" }, "devServerPort": { "type": "number", "description": "The port for the dev server of the remote app.", - "default": 4200 + "default": 4200, + "x-priority": "important" }, "ssr": { "description": "Whether to configure SSR for the host application", diff --git a/docs/generated/packages/react/generators/setup-ssr.json b/docs/generated/packages/react/generators/setup-ssr.json index cc415cb04a..97a6c23ced 100644 --- a/docs/generated/packages/react/generators/setup-ssr.json +++ b/docs/generated/packages/react/generators/setup-ssr.json @@ -14,7 +14,8 @@ "description": "The name of the application to add SSR support to.", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What app would you like to add SSR support to?", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "appComponentImportPath": { "type": "string", @@ -24,11 +25,13 @@ "serverPort": { "type": "number", "default": 4200, - "description": "The port for the Express server." + "description": "The port for the Express server.", + "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" }, "extraInclude": { "type": "array", diff --git a/docs/generated/packages/react/generators/setup-tailwind.json b/docs/generated/packages/react/generators/setup-tailwind.json index 8d1b102e81..22a29c02ac 100644 --- a/docs/generated/packages/react/generators/setup-tailwind.json +++ b/docs/generated/packages/react/generators/setup-tailwind.json @@ -21,21 +21,25 @@ "alias": "p", "$default": { "$source": "argv", "index": 0 }, "x-dropdown": "projects", - "x-prompt": "What project would you like to add the Tailwind CSS setup?" + "x-prompt": "What project would you like to add the Tailwind CSS setup?", + "x-priority": "important" }, "buildTarget": { "type": "string", "description": "The name of the target used to build the project. This option is not needed in most cases.", - "default": "build" + "default": "build", + "x-priority": "important" }, "skipFormat": { "type": "boolean", - "description": "Skips formatting the workspace after the generator completes." + "description": "Skips 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" } }, "additionalProperties": false, diff --git a/docs/generated/packages/react/generators/stories.json b/docs/generated/packages/react/generators/stories.json index 6a81a0becf..6b2e31b060 100644 --- a/docs/generated/packages/react/generators/stories.json +++ b/docs/generated/packages/react/generators/stories.json @@ -14,12 +14,14 @@ "aliases": ["name", "projectName"], "description": "Project for which to generate stories.", "$default": { "$source": "projectName", "index": 0 }, - "x-prompt": "For which project do you want to generate stories?" + "x-prompt": "For which project do you want to generate stories?", + "x-priority": "important" }, "generateCypressSpecs": { "type": "boolean", "description": "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", diff --git a/docs/generated/packages/rollup/executors/rollup.json b/docs/generated/packages/rollup/executors/rollup.json index 6076a97183..974e120e8f 100644 --- a/docs/generated/packages/rollup/executors/rollup.json +++ b/docs/generated/packages/rollup/executors/rollup.json @@ -11,19 +11,22 @@ "properties": { "project": { "type": "string", - "description": "The path to package.json file." + "description": "The path to package.json file.", + "x-priority": "important" }, "main": { "type": "string", "description": "The path to the entry file, relative to project.", "alias": "entryFile", "x-completion-type": "file", - "x-completion-glob": "**/*@(.js|.ts)" + "x-completion-glob": "**/*@(.js|.ts)", + "x-priority": "important" }, "outputPath": { "type": "string", "description": "The output path of the generated files.", - "x-completion-type": "directory" + "x-completion-type": "directory", + "x-priority": "important" }, "outputFileName": { "type": "string", @@ -38,7 +41,8 @@ "type": "string", "description": "The path to tsconfig file.", "x-completion-type": "file", - "x-completion-glob": "tsconfig.*.json" + "x-completion-glob": "tsconfig.*.json", + "x-priority": "important" }, "format": { "type": "array", diff --git a/docs/generated/packages/rollup/generators/rollup-project.json b/docs/generated/packages/rollup/generators/rollup-project.json index 33273670f4..3de5ef1aff 100644 --- a/docs/generated/packages/rollup/generators/rollup-project.json +++ b/docs/generated/packages/rollup/generators/rollup-project.json @@ -14,7 +14,8 @@ "description": "The name of the project.", "$default": { "$source": "argv", "index": 0 }, "x-dropdown": "project", - "x-prompt": "What is the name of the project to set up a rollup for?" + "x-prompt": "What is the name of the project to set up a rollup for?", + "x-priority": "important" }, "compiler": { "type": "string", @@ -25,26 +26,31 @@ "main": { "type": "string", "description": "Path relative to the workspace root for the main entry file. Defaults to '/src/main.ts'.", - "alias": "entryFile" + "alias": "entryFile", + "x-priority": "important" }, "tsConfig": { "type": "string", - "description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to '/tsconfig.app.json'." + "description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to '/tsconfig.app.json'.", + "x-priority": "important" }, "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" }, "skipValidation": { "type": "boolean", "default": false, - "description": "Do not perform any validation on existing project." + "description": "Do not perform any validation on existing project.", + "x-priority": "internal" }, "importPath": { "type": "string", diff --git a/docs/generated/packages/webpack/executors/dev-server.json b/docs/generated/packages/webpack/executors/dev-server.json index 6f87594abf..eeca81fe1a 100644 --- a/docs/generated/packages/webpack/executors/dev-server.json +++ b/docs/generated/packages/webpack/executors/dev-server.json @@ -11,12 +11,14 @@ "properties": { "buildTarget": { "type": "string", - "description": "Target which builds the application." + "description": "Target which builds the application.", + "x-priority": "important" }, "port": { "type": "number", "description": "Port to listen on.", - "default": 4200 + "default": 4200, + "x-priority": "important" }, "host": { "type": "string", @@ -58,7 +60,8 @@ "open": { "type": "boolean", "description": "Open the application in the browser.", - "default": false + "default": false, + "x-priority": "important" }, "allowedHosts": { "type": "string", diff --git a/docs/generated/packages/webpack/executors/ssr-dev-server.json b/docs/generated/packages/webpack/executors/ssr-dev-server.json index 012a419f89..fc0ee9553c 100644 --- a/docs/generated/packages/webpack/executors/ssr-dev-server.json +++ b/docs/generated/packages/webpack/executors/ssr-dev-server.json @@ -11,16 +11,19 @@ "properties": { "browserTarget": { "type": "string", - "description": "Target which builds the browser application." + "description": "Target which builds the browser application.", + "x-priority": "important" }, "serverTarget": { "type": "string", - "description": "Target which builds the server application." + "description": "Target which builds the server application.", + "x-priority": "important" }, "port": { "type": "number", "description": "The port to be set on `process.env.PORT` for use in the server.", - "default": 4200 + "default": 4200, + "x-priority": "important" }, "browserTargetOptions": { "type": "object", diff --git a/docs/generated/packages/webpack/executors/webpack.json b/docs/generated/packages/webpack/executors/webpack.json index 978e1a70b5..bb6d7f0130 100644 --- a/docs/generated/packages/webpack/executors/webpack.json +++ b/docs/generated/packages/webpack/executors/webpack.json @@ -17,13 +17,15 @@ "type": "string", "description": "The name of the main entry-point file.", "x-completion-type": "file", - "x-completion-glob": "**/*@(.js|.ts|.tsx)" + "x-completion-glob": "**/*@(.js|.ts|.tsx)", + "x-priority": "important" }, "tsConfig": { "type": "string", "description": "The name of the Typescript configuration file.", "x-completion-type": "file", - "x-completion-glob": "tsconfig.*.json" + "x-completion-glob": "tsconfig.*.json", + "x-priority": "important" }, "compiler": { "type": "string", @@ -34,7 +36,8 @@ "outputPath": { "type": "string", "description": "The output path of the generated files.", - "x-completion-type": "directory" + "x-completion-type": "directory", + "x-priority": "important" }, "target": { "type": "string", @@ -378,7 +381,8 @@ "type": "string", "description": "Path to a function which takes a webpack config, some context and returns the resulting webpack config. See https://nx.dev/guides/customize-webpack", "x-completion-type": "file", - "x-completion-glob": "webpack?(*)@(.js|.ts)" + "x-completion-glob": "webpack?(*)@(.js|.ts)", + "x-priority": "important" } }, "required": ["tsConfig", "main"], diff --git a/docs/generated/packages/webpack/generators/webpack-project.json b/docs/generated/packages/webpack/generators/webpack-project.json index bc717849a7..17b87195a6 100644 --- a/docs/generated/packages/webpack/generators/webpack-project.json +++ b/docs/generated/packages/webpack/generators/webpack-project.json @@ -14,7 +14,8 @@ "description": "The name of the project.", "$default": { "$source": "argv", "index": 0 }, "x-dropdown": "project", - "x-prompt": "What is the name of the project to set up a webpack for?" + "x-prompt": "What is the name of the project to set up a webpack for?", + "x-priority": "important" }, "compiler": { "type": "string", @@ -24,11 +25,13 @@ }, "main": { "type": "string", - "description": "Path relative to the workspace root for the main entry file. Defaults to '/src/main.ts'." + "description": "Path relative to the workspace root for the main entry file. Defaults to '/src/main.ts'.", + "x-priority": "important" }, "tsConfig": { "type": "string", - "description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to '/tsconfig.app.json'." + "description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to '/tsconfig.app.json'.", + "x-priority": "important" }, "target": { "type": "string", @@ -39,17 +42,20 @@ "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" }, "skipValidation": { "type": "boolean", "default": false, - "description": "Do not perform any validation on existing project." + "description": "Do not perform any validation on existing project.", + "x-priority": "internal" }, "devServer": { "type": "boolean", @@ -58,7 +64,8 @@ }, "webpackConfig": { "type": "string", - "description": "Path relative to workspace root to a custom webpack file that takes a config object and returns an updated config." + "description": "Path relative to workspace root to a custom webpack file that takes a config object and returns an updated config.", + "x-priority": "internal" } }, "required": [], diff --git a/packages/esbuild/src/executors/esbuild/schema.json b/packages/esbuild/src/executors/esbuild/schema.json index 557462407f..5a0d1fa736 100644 --- a/packages/esbuild/src/executors/esbuild/schema.json +++ b/packages/esbuild/src/executors/esbuild/schema.json @@ -11,12 +11,14 @@ "description": "The path to the entry file, relative to project.", "alias": "entryFile", "x-completion-type": "file", - "x-completion-glob": "**/*@(.js|.ts)" + "x-completion-glob": "**/*@(.js|.ts)", + "x-priority": "important" }, "outputPath": { "type": "string", "description": "The output path of the generated files.", - "x-completion-type": "directory" + "x-completion-type": "directory", + "x-priority": "important" }, "outputFileName": { "type": "string", @@ -26,11 +28,8 @@ "type": "string", "description": "The path to tsconfig file.", "x-completion-type": "file", - "x-completion-glob": "tsconfig.*.json" - }, - "project": { - "type": "string", - "description": "The path to package.json file." + "x-completion-glob": "tsconfig.*.json", + "x-priority": "important" }, "additionalEntryPoints": { "type": "array", @@ -117,7 +116,8 @@ "skipTypeCheck": { "type": "boolean", "description": "Skip type-checking via TypeScript. Skipping type-checking speeds up the build but type errors are not caught.", - "default": false + "default": false, + "x-priority": "internal" }, "thirdParty": { "type": "boolean", @@ -133,7 +133,8 @@ "esbuildOptions": { "type": "object", "description": "Additional options to pass to esbuild. See https://esbuild.github.io/api/.", - "additionalProperties": true + "additionalProperties": true, + "x-priority": "important" } }, "required": ["tsConfig", "main", "outputPath"], diff --git a/packages/esbuild/src/generators/esbuild-project/schema.json b/packages/esbuild/src/generators/esbuild-project/schema.json index 8a4e6cbc68..e4f94d0407 100644 --- a/packages/esbuild/src/generators/esbuild-project/schema.json +++ b/packages/esbuild/src/generators/esbuild-project/schema.json @@ -14,31 +14,37 @@ "index": 0 }, "x-dropdown": "project", - "x-prompt": "What is the name of the project to set up a esbuild for?" + "x-prompt": "What is the name of the project to set up a esbuild for?", + "x-priority": "important" }, "main": { "type": "string", "description": "Path relative to the workspace root for the main entry file. Defaults to `/src/main.ts` or `src/index.ts`, whichever is found.", - "alias": "entryFile" + "alias": "entryFile", + "x-priority": "important" }, "tsConfig": { "type": "string", - "description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to `/tsconfig.app.json` or `/tsconfig.lib.json`, whichever is found." + "description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to `/tsconfig.app.json` or `/tsconfig.lib.json`, whichever is found.", + "x-priority": "important" }, "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" }, "skipValidation": { "type": "boolean", "default": false, - "description": "Do not perform any validation on existing project." + "description": "Do not perform any validation on existing project.", + "x-priority": "internal" }, "importPath": { "type": "string", diff --git a/packages/next/src/executors/build/schema.json b/packages/next/src/executors/build/schema.json index 6d615af155..c7619ac8a9 100644 --- a/packages/next/src/executors/build/schema.json +++ b/packages/next/src/executors/build/schema.json @@ -9,12 +9,14 @@ "properties": { "root": { "description": "The source root", - "type": "string" + "type": "string", + "x-priority": "important" }, "outputPath": { "type": "string", "description": "The output path of the generated files.", - "x-completion-type": "directory" + "x-completion-type": "directory", + "x-priority": "important" }, "fileReplacements": { "description": "Replace files with other files in the build.", @@ -42,7 +44,8 @@ "description": "Path (relative to workspace root) to a function which takes phase, config, and builder options, and returns the resulting config. This is an advanced option and should not be used with a normal Next.js config file (i.e. `next.config.js`).", "type": "string", "x-completion-type": "file", - "x-completion-glob": "next?(*).js" + "x-completion-glob": "next?(*).js", + "x-priority": "important" }, "buildLibsFromSource": { "type": "boolean", @@ -57,7 +60,8 @@ "generateLockfile": { "type": "boolean", "description": "Generate a lockfile (e.g. yarn.lock) that matches the workspace lockfile to ensure package versions match.", - "default": false + "default": false, + "x-priority": "internal" } }, "required": ["root", "outputPath"] diff --git a/packages/next/src/executors/export/schema.json b/packages/next/src/executors/export/schema.json index 34217cf538..12be5e26cb 100644 --- a/packages/next/src/executors/export/schema.json +++ b/packages/next/src/executors/export/schema.json @@ -8,7 +8,8 @@ "properties": { "buildTarget": { "type": "string", - "description": "Target which builds the application" + "description": "Target which builds the application", + "x-priority": "important" }, "silent": { "type": "boolean", diff --git a/packages/next/src/executors/server/schema.json b/packages/next/src/executors/server/schema.json index 9be2f12e89..2f19772aca 100644 --- a/packages/next/src/executors/server/schema.json +++ b/packages/next/src/executors/server/schema.json @@ -13,12 +13,14 @@ }, "buildTarget": { "type": "string", - "description": "Target which builds the application." + "description": "Target which builds the application.", + "x-priority": "important" }, "port": { "type": "number", "description": "Port to listen on.", - "default": 4200 + "default": 4200, + "x-priority": "important" }, "staticMarkup": { "type": "boolean", diff --git a/packages/next/src/generators/application/schema.json b/packages/next/src/generators/application/schema.json index 884f4afa5a..53285da28b 100644 --- a/packages/next/src/generators/application/schema.json +++ b/packages/next/src/generators/application/schema.json @@ -14,12 +14,14 @@ "index": 0 }, "x-prompt": "What name would you like to use for the application?", - "pattern": "^[a-zA-Z].*$" + "pattern": "^[a-zA-Z].*$", + "x-priority": "important" }, "directory": { "description": "The directory of the new application.", "type": "string", - "alias": "d" + "alias": "d", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", @@ -71,12 +73,14 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "skipWorkspaceJson": { "description": "Skip updating `workspace.json` with default options based on values provided to this app (e.g. `babel`, `style`).", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "unitTestRunner": { "type": "string", diff --git a/packages/next/src/generators/component/schema.json b/packages/next/src/generators/component/schema.json index 62ceaf9ff6..8a64aeefaf 100644 --- a/packages/next/src/generators/component/schema.json +++ b/packages/next/src/generators/component/schema.json @@ -13,7 +13,8 @@ "$default": { "$source": "projectName" }, - "x-prompt": "What is the name of the project for this component?" + "x-prompt": "What is the name of the project for this component?", + "x-priority": "important" }, "name": { "type": "string", @@ -22,7 +23,8 @@ "$source": "argv", "index": 0 }, - "x-prompt": "What name would you like to use for the component?" + "x-prompt": "What name would you like to use for the component?", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", @@ -64,12 +66,14 @@ "skipTests": { "type": "boolean", "description": "When true, does not create `spec.ts` test files for the new component.", - "default": false + "default": false, + "x-priority": "internal" }, "directory": { "type": "string", "description": "Create the component under this directory (can be nested).", - "alias": "dir" + "alias": "dir", + "x-priority": "important" }, "export": { "type": "boolean", diff --git a/packages/next/src/generators/custom-server/schema.json b/packages/next/src/generators/custom-server/schema.json index 6a5249e2ce..1000914a90 100644 --- a/packages/next/src/generators/custom-server/schema.json +++ b/packages/next/src/generators/custom-server/schema.json @@ -15,7 +15,8 @@ "index": 0 }, "x-dropdown": "project", - "x-prompt": "What is the name of the project to set up a custom server for?" + "x-prompt": "What is the name of the project to set up a custom server for?", + "x-priority": "important" }, "compiler": { "type": "string", diff --git a/packages/next/src/generators/library/schema.json b/packages/next/src/generators/library/schema.json index 4e132ebc30..017ce6410a 100644 --- a/packages/next/src/generators/library/schema.json +++ b/packages/next/src/generators/library/schema.json @@ -14,12 +14,14 @@ "index": 0 }, "x-prompt": "What name would you like to use for the library?", - "pattern": "^[a-zA-Z].*$" + "pattern": "^[a-zA-Z].*$", + "x-priority": "important" }, "directory": { "type": "string", "description": "A directory where the lib is placed.", - "alias": "dir" + "alias": "dir", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", diff --git a/packages/next/src/generators/page/schema.json b/packages/next/src/generators/page/schema.json index 3e3236c48b..2bd40c4e46 100644 --- a/packages/next/src/generators/page/schema.json +++ b/packages/next/src/generators/page/schema.json @@ -13,7 +13,8 @@ "$default": { "$source": "projectName" }, - "x-prompt": "What is the name of the project for this component?" + "x-prompt": "What is the name of the project for this component?", + "x-priority": "important" }, "name": { "type": "string", @@ -22,12 +23,14 @@ "$source": "argv", "index": 0 }, - "x-prompt": "What name would you like to use for the component?" + "x-prompt": "What name would you like to use for the component?", + "x-priority": "important" }, "directory": { "type": "string", "description": "Create the page under this directory (can be nested). Will be created under `pages/`.", - "alias": "dir" + "alias": "dir", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", @@ -68,7 +71,8 @@ "label": "None" } ] - } + }, + "x-priority": "important" }, "withTests": { "type": "boolean", diff --git a/packages/react/src/executors/module-federation-dev-server/schema.json b/packages/react/src/executors/module-federation-dev-server/schema.json index 49037d9597..261ea0453d 100644 --- a/packages/react/src/executors/module-federation-dev-server/schema.json +++ b/packages/react/src/executors/module-federation-dev-server/schema.json @@ -11,23 +11,27 @@ "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", "items": { "type": "string" }, - "description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository." + "description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository.", + "x-priority": "important" }, "buildTarget": { "type": "string", - "description": "Target which builds the application." + "description": "Target which builds the application.", + "x-priority": "important" }, "port": { "type": "number", "description": "Port to listen on.", - "default": 4200 + "default": 4200, + "x-priority": "important" }, "host": { "type": "string", @@ -69,7 +73,8 @@ "open": { "type": "boolean", "description": "Open the application in the browser.", - "default": false + "default": false, + "x-priority": "important" }, "allowedHosts": { "type": "string", diff --git a/packages/react/src/executors/module-federation-ssr-dev-server/schema.json b/packages/react/src/executors/module-federation-ssr-dev-server/schema.json index afba8e464e..2653fe1c22 100644 --- a/packages/react/src/executors/module-federation-ssr-dev-server/schema.json +++ b/packages/react/src/executors/module-federation-ssr-dev-server/schema.json @@ -8,30 +8,35 @@ "properties": { "browserTarget": { "type": "string", - "description": "Target which builds the browser application." + "description": "Target which builds the browser application.", + "x-priority": "important" }, "serverTarget": { "type": "string", - "description": "Target which builds the server application." + "description": "Target which builds the server application.", + "x-priority": "important" }, "port": { "type": "number", "description": "The port to be set on `process.env.PORT` for use in the server.", - "default": 4200 + "default": 4200, + "x-priority": "important" }, "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", "items": { "type": "string" }, - "description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository." + "description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository.", + "x-priority": "important" }, "host": { "type": "string", diff --git a/packages/react/src/generators/application/schema.json b/packages/react/src/generators/application/schema.json index 7d6637576c..a0b9577841 100644 --- a/packages/react/src/generators/application/schema.json +++ b/packages/react/src/generators/application/schema.json @@ -28,12 +28,14 @@ "index": 0 }, "x-prompt": "What name would you like to use for the application?", - "pattern": "^[a-zA-Z].*$" + "pattern": "^[a-zA-Z].*$", + "x-priority": "important" }, "directory": { "description": "The directory of the new application.", "type": "string", - "alias": "dir" + "alias": "dir", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", @@ -94,12 +96,14 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "hidden" }, "skipWorkspaceJson": { "description": "Skip updating `workspace.json` with default options based on values provided to this app (e.g. babel, style).", "type": "boolean", - "default": false + "default": false, + "x-priority": "hidden" }, "unitTestRunner": { "type": "string", @@ -168,7 +172,8 @@ "skipPackageJson": { "description": "Do not add dependencies to `package.json`.", "type": "boolean", - "default": false + "default": false, + "x-priority": "hidden" }, "rootProject": { "description": "Create a application at the root of the workspace", @@ -181,7 +186,8 @@ "type": "string", "enum": ["vite", "webpack"], "x-prompt": "Which bundler do you want to use to build the application?", - "default": "webpack" + "default": "webpack", + "x-priority": "important" }, "minimal": { "description": "Generate a React app with a minimal setup, no separate test files.", diff --git a/packages/react/src/generators/component-cypress-spec/schema.json b/packages/react/src/generators/component-cypress-spec/schema.json index ca1c4693cc..c183d27ab1 100644 --- a/packages/react/src/generators/component-cypress-spec/schema.json +++ b/packages/react/src/generators/component-cypress-spec/schema.json @@ -14,13 +14,15 @@ "$source": "projectName", "index": 0 }, - "x-prompt": "What's name of the project for which to generate tests?" + "x-prompt": "What's name of the project for which to generate tests?", + "x-priority": "important" }, "componentPath": { "type": "string", "description": "Relative path to the component file from the library root?", "examples": ["lib/components"], - "x-prompt": "What's path of the component relative to the project's lib root for which to generate a test?" + "x-prompt": "What's path of the component relative to the project's lib root for which to generate a test?", + "x-priority": "important" }, "js": { "type": "boolean", diff --git a/packages/react/src/generators/component-story/schema.json b/packages/react/src/generators/component-story/schema.json index 60bd4817bd..3a931d01b1 100644 --- a/packages/react/src/generators/component-story/schema.json +++ b/packages/react/src/generators/component-story/schema.json @@ -15,13 +15,15 @@ "$source": "projectName", "index": 0 }, - "x-prompt": "What's name of the project where the component lives?" + "x-prompt": "What's name of the project where the component lives?", + "x-priority": "important" }, "componentPath": { "type": "string", "description": "Relative path to the component file from the library root.", "examples": ["lib/components"], - "x-prompt": "What's path of the component relative to the project's lib root?" + "x-prompt": "What's path of the component relative to the project's lib root?", + "x-priority": "important" } }, "required": ["project", "componentPath"] diff --git a/packages/react/src/generators/component-test/schema.json b/packages/react/src/generators/component-test/schema.json index 0c71aaeab4..42eaacb5eb 100644 --- a/packages/react/src/generators/component-test/schema.json +++ b/packages/react/src/generators/component-test/schema.json @@ -16,12 +16,14 @@ "type": "string", "description": "The name of the project the component is apart of", "x-dropdown": "projects", - "x-prompt": "What project is this component apart of?" + "x-prompt": "What project is this component apart of?", + "x-priority": "important" }, "componentPath": { "type": "string", "description": "Path to component, from the project source root", - "x-prompt": "What is the path to the component?" + "x-prompt": "What is the path to the component?", + "x-priority": "important" } }, "required": ["project", "componentPath"], diff --git a/packages/react/src/generators/component/schema.json b/packages/react/src/generators/component/schema.json index 722039a639..443dcea407 100644 --- a/packages/react/src/generators/component/schema.json +++ b/packages/react/src/generators/component/schema.json @@ -23,7 +23,8 @@ "$default": { "$source": "projectName" }, - "x-prompt": "What is the name of the project for this component?" + "x-prompt": "What is the name of the project for this component?", + "x-priority": "important" }, "name": { "type": "string", @@ -32,7 +33,8 @@ "$source": "argv", "index": 0 }, - "x-prompt": "What name would you like to use for the component?" + "x-prompt": "What name would you like to use for the component?", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", @@ -83,12 +85,14 @@ "skipTests": { "type": "boolean", "description": "When true, does not create `spec.ts` test files for the new component.", - "default": false + "default": false, + "x-priority": "internal" }, "directory": { "type": "string", "description": "Create the component under this directory (can be nested).", - "alias": "dir" + "alias": "dir", + "x-priority": "important" }, "flat": { "type": "boolean", diff --git a/packages/react/src/generators/cypress-component-configuration/schema.json b/packages/react/src/generators/cypress-component-configuration/schema.json index b06cb6ba66..094d2c7f86 100644 --- a/packages/react/src/generators/cypress-component-configuration/schema.json +++ b/packages/react/src/generators/cypress-component-configuration/schema.json @@ -20,13 +20,15 @@ "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", "description": "Generate default component tests for existing components in the project", "x-prompt": "Automatically generate tests for components declared in this project?", - "default": false + "default": false, + "x-priority": "important" }, "buildTarget": { "type": "string", @@ -36,13 +38,15 @@ "skipFormat": { "type": "boolean", "description": "Skip formatting files", - "default": false + "default": false, + "x-priority": "internal" }, "bundler": { "description": "The bundler to use for Cypress Component Testing.", "type": "string", "enum": ["vite", "webpack"], - "hidden": true + "hidden": true, + "x-priority": "internal" } }, "required": ["project"], diff --git a/packages/react/src/generators/hook/schema.json b/packages/react/src/generators/hook/schema.json index 61a286840a..62b3921e9e 100644 --- a/packages/react/src/generators/hook/schema.json +++ b/packages/react/src/generators/hook/schema.json @@ -19,7 +19,8 @@ "$default": { "$source": "projectName" }, - "x-prompt": "What is the name of the project for this hook?" + "x-prompt": "What is the name of the project for this hook?", + "x-priority": "important" }, "name": { "type": "string", @@ -28,7 +29,8 @@ "$source": "argv", "index": 0 }, - "x-prompt": "What name would you like to use for the hook?" + "x-prompt": "What name would you like to use for the hook?", + "x-priority": "important" }, "js": { "type": "boolean", @@ -38,11 +40,13 @@ "skipTests": { "type": "boolean", "description": "When true, does not create `spec.ts` test files for the new hook.", - "default": false + "default": false, + "x-priority": "internal" }, "directory": { "type": "string", - "description": "Create the hook under this directory (can be nested)." + "description": "Create the hook under this directory (can be nested).", + "x-priority": "important" }, "flat": { "type": "boolean", diff --git a/packages/react/src/generators/host/schema.json b/packages/react/src/generators/host/schema.json index c3ccd6c69d..1f40195d55 100644 --- a/packages/react/src/generators/host/schema.json +++ b/packages/react/src/generators/host/schema.json @@ -14,12 +14,14 @@ "index": 0 }, "x-prompt": "What name would you like to use as the host application?", - "pattern": "^[a-zA-Z].*$" + "pattern": "^[a-zA-Z].*$", + "x-priority": "important" }, "directory": { "description": "The directory of the new application.", "type": "string", - "alias": "dir" + "alias": "dir", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", @@ -74,12 +76,14 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "skipWorkspaceJson": { "description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style).", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "unitTestRunner": { "type": "string", @@ -143,12 +147,14 @@ "remotes": { "type": "array", "description": "A list of remote application names that the host application should consume.", - "default": [] + "default": [], + "x-priority": "important" }, "devServerPort": { "type": "number", "description": "The port for the dev server of the remote app.", - "default": 4200 + "default": 4200, + "x-priority": "important" }, "ssr": { "description": "Whether to configure SSR for the host application", diff --git a/packages/react/src/generators/library/schema.json b/packages/react/src/generators/library/schema.json index b074acee3c..2976947259 100644 --- a/packages/react/src/generators/library/schema.json +++ b/packages/react/src/generators/library/schema.json @@ -24,12 +24,14 @@ "index": 0 }, "x-prompt": "What name would you like to use for the library?", - "pattern": "^[a-zA-Z].*$" + "pattern": "^[a-zA-Z].*$", + "x-priority": "important" }, "directory": { "type": "string", "description": "A directory where the lib is placed.", - "alias": "dir" + "alias": "dir", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", @@ -96,12 +98,14 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "skipTsConfig": { "type": "boolean", "default": false, - "description": "Do not update `tsconfig.json` for development experience." + "description": "Do not update `tsconfig.json` for development experience.", + "x-priority": "internal" }, "pascalCaseFiles": { "type": "boolean", @@ -166,7 +170,8 @@ "description": "The bundler to use. Choosing 'none' means this library is not buildable.", "enum": ["none", "vite", "rollup"], "default": "none", - "x-prompt": "Which bundler would you like to use to build the library? Choose 'none' to skip build setup." + "x-prompt": "Which bundler would you like to use to build the library? Choose 'none' to skip build setup.", + "x-priority": "important" }, "compiler": { "type": "string", @@ -177,7 +182,8 @@ "skipPackageJson": { "description": "Do not add dependencies to `package.json`.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "minimal": { "description": "Create a React library with a minimal setup, no separate test files.", diff --git a/packages/react/src/generators/redux/schema.json b/packages/react/src/generators/redux/schema.json index ed2755b31f..fdb0af8afa 100644 --- a/packages/react/src/generators/redux/schema.json +++ b/packages/react/src/generators/redux/schema.json @@ -12,7 +12,8 @@ "$default": { "$source": "argv", "index": 0 - } + }, + "x-priority": "important" }, "project": { "type": "string", @@ -21,13 +22,15 @@ "$default": { "$source": "projectName" }, - "x-prompt": "What is the name of the project for this slice?" + "x-prompt": "What is the name of the project for this slice?", + "x-priority": "important" }, "directory": { "type": "string", "alias": "dir", "default": "", - "description": "The name of the folder used to contain/group the generated Redux files." + "description": "The name of the folder used to contain/group the generated Redux files.", + "x-priority": "important" }, "appProject": { "type": "string", diff --git a/packages/react/src/generators/remote/schema.json b/packages/react/src/generators/remote/schema.json index d63c9e67e9..78746a1091 100644 --- a/packages/react/src/generators/remote/schema.json +++ b/packages/react/src/generators/remote/schema.json @@ -14,12 +14,14 @@ "index": 0 }, "x-prompt": "What name would you like to use as the remote application?", - "pattern": "^[a-zA-Z].*$" + "pattern": "^[a-zA-Z].*$", + "x-priority": "important" }, "directory": { "description": "The directory of the new application.", "type": "string", - "alias": "dir" + "alias": "dir", + "x-priority": "important" }, "style": { "description": "The file extension to be used for style files.", @@ -79,12 +81,14 @@ "skipFormat": { "description": "Skip formatting files.", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "skipWorkspaceJson": { "description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style).", "type": "boolean", - "default": false + "default": false, + "x-priority": "internal" }, "unitTestRunner": { "type": "string", @@ -147,12 +151,14 @@ }, "host": { "type": "string", - "description": "The host / shell application for this remote." + "description": "The host / shell application for this remote.", + "x-priority": "important" }, "devServerPort": { "type": "number", "description": "The port for the dev server of the remote app.", - "default": 4200 + "default": 4200, + "x-priority": "important" }, "ssr": { "description": "Whether to configure SSR for the host application", diff --git a/packages/react/src/generators/setup-ssr/schema.json b/packages/react/src/generators/setup-ssr/schema.json index a34ca1341d..741a7fb677 100644 --- a/packages/react/src/generators/setup-ssr/schema.json +++ b/packages/react/src/generators/setup-ssr/schema.json @@ -14,7 +14,8 @@ "index": 0 }, "x-prompt": "What app would you like to add SSR support to?", - "x-dropdown": "projects" + "x-dropdown": "projects", + "x-priority": "important" }, "appComponentImportPath": { "type": "string", @@ -24,11 +25,13 @@ "serverPort": { "type": "number", "default": 4200, - "description": "The port for the Express server." + "description": "The port for the Express server.", + "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" }, "extraInclude": { "type": "array", diff --git a/packages/react/src/generators/setup-tailwind/schema.json b/packages/react/src/generators/setup-tailwind/schema.json index 73ef9276a3..c0caaccbd7 100644 --- a/packages/react/src/generators/setup-tailwind/schema.json +++ b/packages/react/src/generators/setup-tailwind/schema.json @@ -21,21 +21,25 @@ "index": 0 }, "x-dropdown": "projects", - "x-prompt": "What project would you like to add the Tailwind CSS setup?" + "x-prompt": "What project would you like to add the Tailwind CSS setup?", + "x-priority": "important" }, "buildTarget": { "type": "string", "description": "The name of the target used to build the project. This option is not needed in most cases.", - "default": "build" + "default": "build", + "x-priority": "important" }, "skipFormat": { "type": "boolean", - "description": "Skips formatting the workspace after the generator completes." + "description": "Skips 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" } }, "additionalProperties": false, diff --git a/packages/react/src/generators/stories/schema.json b/packages/react/src/generators/stories/schema.json index d5997eafed..09d979418e 100644 --- a/packages/react/src/generators/stories/schema.json +++ b/packages/react/src/generators/stories/schema.json @@ -14,12 +14,14 @@ "$source": "projectName", "index": 0 }, - "x-prompt": "For which project do you want to generate stories?" + "x-prompt": "For which project do you want to generate stories?", + "x-priority": "important" }, "generateCypressSpecs": { "type": "boolean", "description": "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", diff --git a/packages/rollup/src/executors/rollup/schema.json b/packages/rollup/src/executors/rollup/schema.json index 6216b392b0..11ac679ec1 100644 --- a/packages/rollup/src/executors/rollup/schema.json +++ b/packages/rollup/src/executors/rollup/schema.json @@ -8,19 +8,22 @@ "properties": { "project": { "type": "string", - "description": "The path to package.json file." + "description": "The path to package.json file.", + "x-priority": "important" }, "main": { "type": "string", "description": "The path to the entry file, relative to project.", "alias": "entryFile", "x-completion-type": "file", - "x-completion-glob": "**/*@(.js|.ts)" + "x-completion-glob": "**/*@(.js|.ts)", + "x-priority": "important" }, "outputPath": { "type": "string", "description": "The output path of the generated files.", - "x-completion-type": "directory" + "x-completion-type": "directory", + "x-priority": "important" }, "outputFileName": { "type": "string", @@ -35,7 +38,8 @@ "type": "string", "description": "The path to tsconfig file.", "x-completion-type": "file", - "x-completion-glob": "tsconfig.*.json" + "x-completion-glob": "tsconfig.*.json", + "x-priority": "important" }, "format": { "type": "array", diff --git a/packages/rollup/src/generators/rollup-project/schema.json b/packages/rollup/src/generators/rollup-project/schema.json index ec01a10d8b..c0b1595ae8 100644 --- a/packages/rollup/src/generators/rollup-project/schema.json +++ b/packages/rollup/src/generators/rollup-project/schema.json @@ -14,7 +14,8 @@ "index": 0 }, "x-dropdown": "project", - "x-prompt": "What is the name of the project to set up a rollup for?" + "x-prompt": "What is the name of the project to set up a rollup for?", + "x-priority": "important" }, "compiler": { "type": "string", @@ -25,26 +26,31 @@ "main": { "type": "string", "description": "Path relative to the workspace root for the main entry file. Defaults to '/src/main.ts'.", - "alias": "entryFile" + "alias": "entryFile", + "x-priority": "important" }, "tsConfig": { "type": "string", - "description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to '/tsconfig.app.json'." + "description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to '/tsconfig.app.json'.", + "x-priority": "important" }, "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" }, "skipValidation": { "type": "boolean", "default": false, - "description": "Do not perform any validation on existing project." + "description": "Do not perform any validation on existing project.", + "x-priority": "internal" }, "importPath": { "type": "string", diff --git a/packages/webpack/src/executors/dev-server/schema.json b/packages/webpack/src/executors/dev-server/schema.json index 8fcb2dfabe..133757b635 100644 --- a/packages/webpack/src/executors/dev-server/schema.json +++ b/packages/webpack/src/executors/dev-server/schema.json @@ -8,12 +8,14 @@ "properties": { "buildTarget": { "type": "string", - "description": "Target which builds the application." + "description": "Target which builds the application.", + "x-priority": "important" }, "port": { "type": "number", "description": "Port to listen on.", - "default": 4200 + "default": 4200, + "x-priority": "important" }, "host": { "type": "string", @@ -55,7 +57,8 @@ "open": { "type": "boolean", "description": "Open the application in the browser.", - "default": false + "default": false, + "x-priority": "important" }, "allowedHosts": { "type": "string", diff --git a/packages/webpack/src/executors/ssr-dev-server/schema.json b/packages/webpack/src/executors/ssr-dev-server/schema.json index fd21ad5ef1..3470bed3e8 100644 --- a/packages/webpack/src/executors/ssr-dev-server/schema.json +++ b/packages/webpack/src/executors/ssr-dev-server/schema.json @@ -8,16 +8,19 @@ "properties": { "browserTarget": { "type": "string", - "description": "Target which builds the browser application." + "description": "Target which builds the browser application.", + "x-priority": "important" }, "serverTarget": { "type": "string", - "description": "Target which builds the server application." + "description": "Target which builds the server application.", + "x-priority": "important" }, "port": { "type": "number", "description": "The port to be set on `process.env.PORT` for use in the server.", - "default": 4200 + "default": 4200, + "x-priority": "important" }, "browserTargetOptions": { "type": "object", diff --git a/packages/webpack/src/executors/webpack/schema.json b/packages/webpack/src/executors/webpack/schema.json index d0a6a58682..335ec675fe 100644 --- a/packages/webpack/src/executors/webpack/schema.json +++ b/packages/webpack/src/executors/webpack/schema.json @@ -14,13 +14,15 @@ "type": "string", "description": "The name of the main entry-point file.", "x-completion-type": "file", - "x-completion-glob": "**/*@(.js|.ts|.tsx)" + "x-completion-glob": "**/*@(.js|.ts|.tsx)", + "x-priority": "important" }, "tsConfig": { "type": "string", "description": "The name of the Typescript configuration file.", "x-completion-type": "file", - "x-completion-glob": "tsconfig.*.json" + "x-completion-glob": "tsconfig.*.json", + "x-priority": "important" }, "compiler": { "type": "string", @@ -31,7 +33,8 @@ "outputPath": { "type": "string", "description": "The output path of the generated files.", - "x-completion-type": "directory" + "x-completion-type": "directory", + "x-priority": "important" }, "target": { "type": "string", @@ -299,7 +302,8 @@ "type": "string", "description": "Path to a function which takes a webpack config, some context and returns the resulting webpack config. See https://nx.dev/guides/customize-webpack", "x-completion-type": "file", - "x-completion-glob": "webpack?(*)@(.js|.ts)" + "x-completion-glob": "webpack?(*)@(.js|.ts)", + "x-priority": "important" } }, "required": ["tsConfig", "main"], diff --git a/packages/webpack/src/generators/webpack-project/schema.json b/packages/webpack/src/generators/webpack-project/schema.json index 4db682d96e..c98f8fe04d 100644 --- a/packages/webpack/src/generators/webpack-project/schema.json +++ b/packages/webpack/src/generators/webpack-project/schema.json @@ -14,7 +14,8 @@ "index": 0 }, "x-dropdown": "project", - "x-prompt": "What is the name of the project to set up a webpack for?" + "x-prompt": "What is the name of the project to set up a webpack for?", + "x-priority": "important" }, "compiler": { "type": "string", @@ -24,11 +25,13 @@ }, "main": { "type": "string", - "description": "Path relative to the workspace root for the main entry file. Defaults to '/src/main.ts'." + "description": "Path relative to the workspace root for the main entry file. Defaults to '/src/main.ts'.", + "x-priority": "important" }, "tsConfig": { "type": "string", - "description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to '/tsconfig.app.json'." + "description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to '/tsconfig.app.json'.", + "x-priority": "important" }, "target": { "type": "string", @@ -39,17 +42,20 @@ "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" }, "skipValidation": { "type": "boolean", "default": false, - "description": "Do not perform any validation on existing project." + "description": "Do not perform any validation on existing project.", + "x-priority": "internal" }, "devServer": { "type": "boolean", @@ -58,7 +64,8 @@ }, "webpackConfig": { "type": "string", - "description": "Path relative to workspace root to a custom webpack file that takes a config object and returns an updated config." + "description": "Path relative to workspace root to a custom webpack file that takes a config object and returns an updated config.", + "x-priority": "internal" } }, "required": []