From 0653aa64ec24ee14b80425ecfc22286e674a74ea Mon Sep 17 00:00:00 2001 From: FrozenPandaz Date: Tue, 7 May 2024 14:45:26 -0400 Subject: [PATCH] fix(misc): adjust deprecation messages to v20 --- docs/generated/cli/affected-graph.md | 168 ----------------- docs/generated/cli/print-affected.md | 126 ------------- docs/generated/devkit/NxPluginV1.md | 8 +- docs/generated/devkit/ProjectGraphBuilder.md | 2 +- .../devkit/ProjectGraphProcessorContext.md | 2 +- .../devkit/ProjectTargetConfigurator.md | 2 +- .../getOutputsForTargetAndConfiguration.md | 2 +- docs/generated/manifests/menus.json | 16 -- docs/generated/manifests/nx-api.json | 22 --- docs/generated/packages-metadata.json | 22 --- .../angular/executors/dev-server.json | 2 +- .../module-federation-dev-server.json | 2 +- .../angular/generators/component.json | 4 +- .../angular/generators/directive.json | 4 +- .../packages/angular/generators/pipe.json | 4 +- .../angular/generators/scam-directive.json | 4 +- .../angular/generators/scam-pipe.json | 4 +- .../packages/angular/generators/scam.json | 4 +- .../generators/storybook-configuration.json | 6 +- .../packages/expo/generators/component.json | 2 +- .../packages/nest/generators/class.json | 4 +- .../packages/nest/generators/controller.json | 4 +- .../packages/nest/generators/decorator.json | 4 +- .../packages/nest/generators/filter.json | 4 +- .../packages/nest/generators/gateway.json | 4 +- .../packages/nest/generators/guard.json | 4 +- .../packages/nest/generators/interceptor.json | 4 +- .../packages/nest/generators/interface.json | 4 +- .../packages/nest/generators/middleware.json | 4 +- .../packages/nest/generators/module.json | 4 +- .../packages/nest/generators/pipe.json | 4 +- .../packages/nest/generators/provider.json | 4 +- .../packages/nest/generators/resolver.json | 4 +- .../packages/nest/generators/resource.json | 4 +- .../packages/nest/generators/service.json | 4 +- .../packages/next/generators/component.json | 2 +- .../packages/next/generators/page.json | 4 +- .../nx/documents/affected-dep-graph.md | 168 ----------------- .../packages/nx/documents/print-affected.md | 126 ------------- .../packages/plugin/generators/executor.json | 2 +- .../packages/plugin/generators/generator.json | 2 +- .../packages/plugin/generators/migration.json | 2 +- .../react-native/generators/component.json | 2 +- .../packages/react/generators/component.json | 2 +- .../packages/react/generators/hook.json | 4 +- .../packages/react/generators/redux.json | 2 +- .../generators/storybook-configuration.json | 6 +- .../packages/remix/generators/action.json | 2 +- .../remix/generators/error-boundary.json | 2 +- .../packages/remix/generators/loader.json | 2 +- .../packages/remix/generators/meta.json | 2 +- .../remix/generators/resource-route.json | 2 +- .../packages/remix/generators/route.json | 2 +- .../packages/remix/generators/style.json | 2 +- .../storybook/generators/configuration.json | 4 +- .../packages/vue/generators/component.json | 8 +- .../packages/webpack/executors/webpack.json | 2 +- docs/map.json | 11 -- .../deprecated/as-provided-vs-derived.md | 10 +- docs/shared/deprecated/v1-nx-plugin-api.md | 2 +- docs/shared/reference/sitemap.md | 2 - .../src/builders/dev-server/schema.json | 2 +- .../src/builders/webpack-browser/schema.d.ts | 2 +- .../module-federation-dev-server/schema.json | 2 +- .../src/generators/component/schema.d.ts | 6 +- .../src/generators/component/schema.json | 4 +- .../src/generators/directive/schema.d.ts | 6 +- .../src/generators/directive/schema.json | 4 +- .../angular/src/generators/pipe/schema.d.ts | 6 +- .../angular/src/generators/pipe/schema.json | 4 +- .../src/generators/scam-directive/schema.d.ts | 6 +- .../src/generators/scam-directive/schema.json | 4 +- .../src/generators/scam-pipe/schema.d.ts | 6 +- .../src/generators/scam-pipe/schema.json | 4 +- .../angular/src/generators/scam/schema.d.ts | 6 +- .../angular/src/generators/scam/schema.json | 4 +- .../storybook-configuration/schema.json | 6 +- .../eslint-plugin/src/configs/javascript.ts | 2 +- .../eslint-plugin/src/configs/typescript.ts | 2 +- .../ensure-symlink/ensure-symlink.impl.ts | 2 +- .../expo/src/generators/component/schema.d.ts | 2 +- .../expo/src/generators/component/schema.json | 2 +- packages/js/babel.ts | 2 +- .../nest/src/generators/class/schema.json | 4 +- .../src/generators/controller/schema.json | 4 +- .../nest/src/generators/decorator/schema.json | 4 +- .../nest/src/generators/filter/schema.json | 4 +- .../nest/src/generators/gateway/schema.json | 4 +- .../nest/src/generators/guard/schema.json | 4 +- .../src/generators/interceptor/schema.json | 4 +- .../nest/src/generators/interface/schema.json | 4 +- .../src/generators/middleware/schema.json | 4 +- .../nest/src/generators/module/schema.json | 4 +- packages/nest/src/generators/pipe/schema.json | 4 +- .../nest/src/generators/provider/schema.json | 4 +- .../nest/src/generators/resolver/schema.json | 4 +- .../nest/src/generators/resource/schema.json | 4 +- .../nest/src/generators/service/schema.json | 4 +- packages/nest/src/generators/utils/types.ts | 4 +- .../src/generators/component/component.ts | 2 +- .../next/src/generators/component/schema.json | 2 +- packages/next/src/generators/page/schema.d.ts | 2 +- packages/next/src/generators/page/schema.json | 4 +- packages/nx/schemas/nx-schema.json | 2 +- .../nx/src/command-line/affected/affected.ts | 28 --- .../command-line/affected/command-object.ts | 69 ------- .../affected/print-affected.spec.ts | 41 ----- .../command-line/affected/print-affected.ts | 170 ------------------ packages/nx/src/command-line/graph/graph.ts | 6 +- packages/nx/src/command-line/nx-commands.ts | 4 - packages/nx/src/config/project-graph.ts | 4 +- .../tasks/hashers/hash_workspace_files.rs | 2 +- .../build-dependencies/strip-source-code.ts | 2 +- .../typescript-import-locator.ts | 2 +- .../project-graph/project-graph-builder.ts | 2 +- .../nx/src/tasks-runner/init-tasks-runner.ts | 2 +- packages/nx/src/tasks-runner/utils.ts | 2 +- packages/nx/src/utils/nx-plugin.deprecated.ts | 10 +- .../src/generators/executor/schema.d.ts | 2 +- .../src/generators/executor/schema.json | 2 +- .../src/generators/generator/schema.d.ts | 2 +- .../src/generators/generator/schema.json | 2 +- .../src/generators/migration/schema.d.ts | 2 +- .../src/generators/migration/schema.json | 2 +- .../ensure-symlink/ensure-symlink.impl.ts | 2 +- .../src/executors/storybook/storybook.impl.ts | 2 +- .../src/generators/component/schema.d.ts | 2 +- .../src/generators/component/schema.json | 2 +- .../src/generators/component/schema.d.ts | 2 +- .../src/generators/component/schema.json | 2 +- .../react/src/generators/hook/schema.d.ts | 2 +- .../react/src/generators/hook/schema.json | 4 +- .../react/src/generators/redux/schema.d.ts | 2 +- .../react/src/generators/redux/schema.json | 2 +- .../storybook-configuration/schema.json | 6 +- .../remix/src/generators/action/schema.d.ts | 2 +- .../remix/src/generators/action/schema.json | 2 +- .../src/generators/error-boundary/schema.d.ts | 2 +- .../src/generators/error-boundary/schema.json | 2 +- .../remix/src/generators/loader/schema.d.ts | 2 +- .../remix/src/generators/loader/schema.json | 2 +- .../remix/src/generators/meta/schema.d.ts | 2 +- .../remix/src/generators/meta/schema.json | 2 +- .../src/generators/resource-route/schema.d.ts | 2 +- .../src/generators/resource-route/schema.json | 2 +- .../remix/src/generators/route/schema.d.ts | 2 +- .../remix/src/generators/route/schema.json | 2 +- .../remix/src/generators/style/schema.d.ts | 2 +- .../remix/src/generators/style/schema.json | 2 +- .../src/generators/configuration/schema.d.ts | 4 +- .../src/generators/configuration/schema.json | 4 +- .../vue/src/generators/component/schema.d.ts | 8 +- .../vue/src/generators/component/schema.json | 8 +- .../webpack/src/executors/webpack/schema.json | 2 +- .../utils/webpack/deprecated-stylus-loader.ts | 2 +- .../generators/move/lib/normalize-schema.ts | 2 +- 156 files changed, 235 insertions(+), 1208 deletions(-) delete mode 100644 docs/generated/cli/affected-graph.md delete mode 100644 docs/generated/cli/print-affected.md delete mode 100644 docs/generated/packages/nx/documents/affected-dep-graph.md delete mode 100644 docs/generated/packages/nx/documents/print-affected.md delete mode 100644 packages/nx/src/command-line/affected/print-affected.spec.ts delete mode 100644 packages/nx/src/command-line/affected/print-affected.ts diff --git a/docs/generated/cli/affected-graph.md b/docs/generated/cli/affected-graph.md deleted file mode 100644 index a37a51b606e394..00000000000000 --- a/docs/generated/cli/affected-graph.md +++ /dev/null @@ -1,168 +0,0 @@ ---- -title: 'affected:graph - CLI command' -description: 'Graph dependencies affected by changes' ---- - -# affected:graph - -**Deprecated:** Use `nx graph --affected`, or `nx affected --graph` instead depending on which best suits your use case. The `affected:graph` command will be removed in Nx 19. - -Graph dependencies affected by changes - -## Usage - -```shell -nx affected:graph -``` - -Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpm nx`. - -### Examples - -Open the project graph of the workspace in the browser, and highlight the projects affected by changing the index.ts file: - -```shell - nx affected:graph --files=libs/mylib/src/index.ts -``` - -Open the project graph of the workspace in the browser, and highlight the projects affected by the changes between main and HEAD (e.g., PR): - -```shell - nx affected:graph --base=main --head=HEAD -``` - -Save the project graph of the workspace in a json file, and highlight the projects affected by the changes between main and HEAD (e.g., PR): - -```shell - nx affected:graph --base=main --head=HEAD --file=output.json -``` - -Generate a static website with project graph data in an html file, highlighting the projects affected by the changes between main and HEAD (e.g., PR): - -```shell - nx affected:graph --base=main --head=HEAD --file=output.html -``` - -Open the project graph of the workspace in the browser, and highlight the projects affected by the last commit on main: - -```shell - nx affected:graph --base=main~1 --head=main -``` - -Open the project graph of the workspace in the browser, highlight the projects affected, but exclude project-one and project-two: - -```shell - nx affected:graph --exclude=project-one,project-two -``` - -## Options - -### base - -Type: `string` - -Base of the current branch (usually main) - -### exclude - -Type: `string` - -Exclude certain projects from being processed - -### file - -Type: `string` - -Output file (e.g. --file=output.json or --file=dep-graph.html) - -### files - -Type: `string` - -Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces - -### focus - -Type: `string` - -Use to show the project graph for a particular project and every node that is either an ancestor or a descendant. - -### groupByFolder - -Type: `boolean` - -Group projects by folder in the project graph - -### head - -Type: `string` - -Latest commit of the current branch (usually HEAD) - -### help - -Type: `boolean` - -Show help - -### host - -Type: `string` - -Bind the project graph server to a specific ip address. - -### open - -Type: `boolean` - -Default: `true` - -Open the project graph in the browser. - -### port - -Type: `number` - -Bind the project graph server to a specific port. - -### targets - -Type: `string` - -The target to show tasks for in the task graph - -### uncommitted - -Type: `boolean` - -Uncommitted changes - -### untracked - -Type: `boolean` - -Untracked changes - -### version - -Type: `boolean` - -Show version number - -### view - -Type: `string` - -Choices: [projects, tasks] - -Default: `projects` - -Choose whether to view the projects or task graph - -### watch - -Type: `boolean` - -Default: `true` - -Watch for changes to project graph and update in-browser diff --git a/docs/generated/cli/print-affected.md b/docs/generated/cli/print-affected.md deleted file mode 100644 index 934bcea45fe5be..00000000000000 --- a/docs/generated/cli/print-affected.md +++ /dev/null @@ -1,126 +0,0 @@ ---- -title: 'print-affected - CLI command' -description: 'Prints information about the projects and targets affected by changes' ---- - -# print-affected - -**Deprecated:** Use `nx show projects --affected`, `nx affected --graph -t build` or `nx graph --affected` depending on which best suits your use case. The `print-affected` command will be removed in Nx 19. - -Prints information about the projects and targets affected by changes - -## Usage - -```shell -nx print-affected -``` - -Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpm nx`. - -### Examples - -Print information about affected projects and the project graph: - -```shell - nx print-affected -``` - -Print information about the projects affected by the changes between main and HEAD (e.g,. PR): - -```shell - nx print-affected --base=main --head=HEAD -``` - -Prints information about the affected projects and a list of tasks to test them: - -```shell - nx print-affected -t test -``` - -Prints the projects property from the print-affected output: - -```shell - nx print-affected -t build --select=projects -``` - -Prints the tasks.target.project property from the print-affected output: - -```shell - nx print-affected -t build --select=tasks.target.project -``` - -## Options - -### base - -Type: `string` - -Base of the current branch (usually main) - -### configuration - -Type: `string` - -This is the configuration to use when performing tasks on projects - -### exclude - -Type: `string` - -Exclude certain projects from being processed - -### files - -Type: `string` - -Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces - -### head - -Type: `string` - -Latest commit of the current branch (usually HEAD) - -### help - -Type: `boolean` - -Show help - -### select - -Type: `string` - -Select the subset of the returned json document (e.g., --select=projects) - -### targets - -Type: `string` - -Tasks to run for affected projects - -### type - -Type: `string` - -Choices: [app, lib] - -Select the type of projects to be returned (e.g., --type=app) - -### uncommitted - -Type: `boolean` - -Uncommitted changes - -### untracked - -Type: `boolean` - -Untracked changes - -### version - -Type: `boolean` - -Show version number diff --git a/docs/generated/devkit/NxPluginV1.md b/docs/generated/devkit/NxPluginV1.md index f760023c45bc76..ae989e5296d534 100644 --- a/docs/generated/devkit/NxPluginV1.md +++ b/docs/generated/devkit/NxPluginV1.md @@ -4,13 +4,13 @@ **`Deprecated`** -Use [NxPluginV2](../../devkit/documents/NxPluginV2) instead. This will be removed in Nx 19 +Use [NxPluginV2](../../devkit/documents/NxPluginV2) instead. This will be removed in Nx 20 #### Type declaration | Name | Type | Description | | :------------------------ | :------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `name` | `string` | - | -| `processProjectGraph?` | `ProjectGraphProcessor` | **`Deprecated`** Use [CreateNodes](../../devkit/documents/CreateNodes) and [CreateDependencies](../../devkit/documents/CreateDependencies) instead. This will be removed in Nx 19 | -| `projectFilePatterns?` | `string`[] | A glob pattern to search for non-standard project files. @example: ["*.csproj", "pom.xml"] **`Deprecated`** Use [CreateNodes](../../devkit/documents/CreateNodes) instead. This will be removed in Nx 19 | -| `registerProjectTargets?` | [`ProjectTargetConfigurator`](../../devkit/documents/ProjectTargetConfigurator) | **`Deprecated`** Add targets to the projects inside of [CreateNodes](../../devkit/documents/CreateNodes) instead. This will be removed in Nx 19 | +| `processProjectGraph?` | `ProjectGraphProcessor` | **`Deprecated`** Use [CreateNodes](../../devkit/documents/CreateNodes) and [CreateDependencies](../../devkit/documents/CreateDependencies) instead. This will be removed in Nx 20 | +| `projectFilePatterns?` | `string`[] | A glob pattern to search for non-standard project files. @example: ["*.csproj", "pom.xml"] **`Deprecated`** Use [CreateNodes](../../devkit/documents/CreateNodes) instead. This will be removed in Nx 20 | +| `registerProjectTargets?` | [`ProjectTargetConfigurator`](../../devkit/documents/ProjectTargetConfigurator) | **`Deprecated`** Add targets to the projects inside of [CreateNodes](../../devkit/documents/CreateNodes) instead. This will be removed in Nx 20 | diff --git a/docs/generated/devkit/ProjectGraphBuilder.md b/docs/generated/devkit/ProjectGraphBuilder.md index 617952c4fbe818..823a3209abcdee 100644 --- a/docs/generated/devkit/ProjectGraphBuilder.md +++ b/docs/generated/devkit/ProjectGraphBuilder.md @@ -4,7 +4,7 @@ A class which builds up a project graph **`Deprecated`** -The ProjectGraphProcessor has been deprecated. Use a [CreateNodes](../../devkit/documents/CreateNodes) and/or a [CreateDependencies](../../devkit/documents/CreateDependencies) instead. This will be removed in Nx 19. +The ProjectGraphProcessor has been deprecated. Use a [CreateNodes](../../devkit/documents/CreateNodes) and/or a [CreateDependencies](../../devkit/documents/CreateDependencies) instead. This will be removed in Nx 20. ## Table of contents diff --git a/docs/generated/devkit/ProjectGraphProcessorContext.md b/docs/generated/devkit/ProjectGraphProcessorContext.md index 243963c48ad674..8ea171e0d5c9b8 100644 --- a/docs/generated/devkit/ProjectGraphProcessorContext.md +++ b/docs/generated/devkit/ProjectGraphProcessorContext.md @@ -4,7 +4,7 @@ Additional information to be used to process a project graph **`Deprecated`** -The ProjectGraphProcessor is deprecated. This will be removed in Nx 19. +The ProjectGraphProcessor is deprecated. This will be removed in Nx 20. ## Table of contents diff --git a/docs/generated/devkit/ProjectTargetConfigurator.md b/docs/generated/devkit/ProjectTargetConfigurator.md index b4bf537e7af29e..ad896ba05bb5d5 100644 --- a/docs/generated/devkit/ProjectTargetConfigurator.md +++ b/docs/generated/devkit/ProjectTargetConfigurator.md @@ -4,7 +4,7 @@ **`Deprecated`** -Add targets to the projects in a [CreateNodes](../../devkit/documents/CreateNodes) function instead. This will be removed in Nx 19 +Add targets to the projects in a [CreateNodes](../../devkit/documents/CreateNodes) function instead. This will be removed in Nx 20 #### Type declaration diff --git a/docs/generated/devkit/getOutputsForTargetAndConfiguration.md b/docs/generated/devkit/getOutputsForTargetAndConfiguration.md index 61ff511c26fee8..62589df67547b4 100644 --- a/docs/generated/devkit/getOutputsForTargetAndConfiguration.md +++ b/docs/generated/devkit/getOutputsForTargetAndConfiguration.md @@ -15,7 +15,7 @@ **`Deprecated`** -Pass the target and overrides instead. This will be removed in v19. +Pass the target and overrides instead. This will be removed in v20. ▸ **getOutputsForTargetAndConfiguration**(`target`, `overrides`, `node`): `string`[] diff --git a/docs/generated/manifests/menus.json b/docs/generated/manifests/menus.json index 8b2409285688bf..1c59605fe743f7 100644 --- a/docs/generated/manifests/menus.json +++ b/docs/generated/manifests/menus.json @@ -8378,22 +8378,6 @@ "children": [], "disableCollapsible": false }, - { - "name": "affected:graph", - "path": "/nx-api/nx/documents/affected-dep-graph", - "id": "affected-dep-graph", - "isExternal": false, - "children": [], - "disableCollapsible": false - }, - { - "name": "print-affected", - "path": "/nx-api/nx/documents/print-affected", - "id": "print-affected", - "isExternal": false, - "children": [], - "disableCollapsible": false - }, { "name": "format:check", "path": "/nx-api/nx/documents/format-check", diff --git a/docs/generated/manifests/nx-api.json b/docs/generated/manifests/nx-api.json index 746747f3e11dca..86b1c286b184fa 100644 --- a/docs/generated/manifests/nx-api.json +++ b/docs/generated/manifests/nx-api.json @@ -1778,28 +1778,6 @@ "tags": ["run-tasks"], "originalFilePath": "generated/cli/affected" }, - "/nx-api/nx/documents/affected-dep-graph": { - "id": "affected-dep-graph", - "name": "affected:graph", - "description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.", - "file": "generated/packages/nx/documents/affected-dep-graph", - "itemList": [], - "isExternal": false, - "path": "/nx-api/nx/documents/affected-dep-graph", - "tags": [], - "originalFilePath": "generated/cli/affected-graph" - }, - "/nx-api/nx/documents/print-affected": { - "id": "print-affected", - "name": "print-affected", - "description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.", - "file": "generated/packages/nx/documents/print-affected", - "itemList": [], - "isExternal": false, - "path": "/nx-api/nx/documents/print-affected", - "tags": [], - "originalFilePath": "generated/cli/print-affected" - }, "/nx-api/nx/documents/format-check": { "id": "format-check", "name": "format:check", diff --git a/docs/generated/packages-metadata.json b/docs/generated/packages-metadata.json index 587f550f528438..487165933f6f01 100644 --- a/docs/generated/packages-metadata.json +++ b/docs/generated/packages-metadata.json @@ -1757,28 +1757,6 @@ "tags": ["run-tasks"], "originalFilePath": "generated/cli/affected" }, - { - "id": "affected-dep-graph", - "name": "affected:graph", - "description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.", - "file": "generated/packages/nx/documents/affected-dep-graph", - "itemList": [], - "isExternal": false, - "path": "nx/documents/affected-dep-graph", - "tags": [], - "originalFilePath": "generated/cli/affected-graph" - }, - { - "id": "print-affected", - "name": "print-affected", - "description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.", - "file": "generated/packages/nx/documents/print-affected", - "itemList": [], - "isExternal": false, - "path": "nx/documents/print-affected", - "tags": [], - "originalFilePath": "generated/cli/print-affected" - }, { "id": "format-check", "name": "format:check", diff --git a/docs/generated/packages/angular/executors/dev-server.json b/docs/generated/packages/angular/executors/dev-server.json index 21fba1e633f728..403a508375ae63 100644 --- a/docs/generated/packages/angular/executors/dev-server.json +++ b/docs/generated/packages/angular/executors/dev-server.json @@ -17,7 +17,7 @@ "type": "string", "description": "A browser builder target to serve in the format of `project:target[:configuration]`. Ignored if `buildTarget` is set.", "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$", - "x-deprecated": "Use 'buildTarget' instead. It will be removed in Nx v19." + "x-deprecated": "Use 'buildTarget' instead. It will be removed in Nx v20." }, "buildTarget": { "type": "string", diff --git a/docs/generated/packages/angular/executors/module-federation-dev-server.json b/docs/generated/packages/angular/executors/module-federation-dev-server.json index 20bfd91d6bf8d7..fe7ae0b3f66771 100644 --- a/docs/generated/packages/angular/executors/module-federation-dev-server.json +++ b/docs/generated/packages/angular/executors/module-federation-dev-server.json @@ -15,7 +15,7 @@ "type": "string", "description": "A browser builder target to serve in the format of `project:target[:configuration]`.", "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$", - "x-deprecated": "Use 'buildTarget' instead. It will be removed in Nx v19." + "x-deprecated": "Use 'buildTarget' instead. It will be removed in Nx v20." }, "buildTarget": { "type": "string", diff --git a/docs/generated/packages/angular/generators/component.json b/docs/generated/packages/angular/generators/component.json index fd3f9f376d9518..6c83bce3a9d1eb 100644 --- a/docs/generated/packages/angular/generators/component.json +++ b/docs/generated/packages/angular/generators/component.json @@ -32,7 +32,7 @@ "description": "The name of the project.", "$default": { "$source": "projectName" }, "x-dropdown": "projects", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "prefix": { "type": "string", @@ -96,7 +96,7 @@ "type": "boolean", "description": "Create the new files at the top level of the current project.", "default": false, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "skipImport": { "type": "boolean", diff --git a/docs/generated/packages/angular/generators/directive.json b/docs/generated/packages/angular/generators/directive.json index 234d9330de356d..3e086f47489a8d 100644 --- a/docs/generated/packages/angular/generators/directive.json +++ b/docs/generated/packages/angular/generators/directive.json @@ -32,7 +32,7 @@ "description": "The name of the project.", "$default": { "$source": "projectName" }, "x-dropdown": "projects", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "prefix": { "type": "string", @@ -67,7 +67,7 @@ "type": "boolean", "description": "When true (the default), creates the new files at the top level of the current project.", "default": true, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "module": { "type": "string", diff --git a/docs/generated/packages/angular/generators/pipe.json b/docs/generated/packages/angular/generators/pipe.json index 2fe55e13a3df7f..404fb7e9dec9c1 100644 --- a/docs/generated/packages/angular/generators/pipe.json +++ b/docs/generated/packages/angular/generators/pipe.json @@ -32,13 +32,13 @@ "description": "The name of the project.", "$default": { "$source": "projectName" }, "x-dropdown": "projects", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "flat": { "type": "boolean", "default": true, "description": "When true (the default) creates files at the top level of the project.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "skipTests": { "type": "boolean", diff --git a/docs/generated/packages/angular/generators/scam-directive.json b/docs/generated/packages/angular/generators/scam-directive.json index 2e29de5b397ee6..9164423f406e2a 100644 --- a/docs/generated/packages/angular/generators/scam-directive.json +++ b/docs/generated/packages/angular/generators/scam-directive.json @@ -39,7 +39,7 @@ "description": "The name of the project.", "$default": { "$source": "projectName" }, "x-dropdown": "projects", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "skipTests": { "type": "boolean", @@ -56,7 +56,7 @@ "type": "boolean", "description": "Create the new files at the top level of the current project.", "default": true, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "selector": { "type": "string", diff --git a/docs/generated/packages/angular/generators/scam-pipe.json b/docs/generated/packages/angular/generators/scam-pipe.json index eb01bddbefcc78..2fee3c75f23b57 100644 --- a/docs/generated/packages/angular/generators/scam-pipe.json +++ b/docs/generated/packages/angular/generators/scam-pipe.json @@ -39,7 +39,7 @@ "description": "The name of the project.", "$default": { "$source": "projectName" }, "x-dropdown": "projects", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "skipTests": { "type": "boolean", @@ -56,7 +56,7 @@ "type": "boolean", "description": "Create the new files at the top level of the current project.", "default": true, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "export": { "type": "boolean", diff --git a/docs/generated/packages/angular/generators/scam.json b/docs/generated/packages/angular/generators/scam.json index 5e810c9c326dc5..35f0b1c5ddae56 100644 --- a/docs/generated/packages/angular/generators/scam.json +++ b/docs/generated/packages/angular/generators/scam.json @@ -38,7 +38,7 @@ "description": "The name of the project.", "$default": { "$source": "projectName" }, "x-dropdown": "projects", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "displayBlock": { "description": "Specifies if the style will contain `:host { display: block; }`.", @@ -92,7 +92,7 @@ "type": "boolean", "description": "Create the new files at the top level of the current project.", "default": false, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "selector": { "type": "string", diff --git a/docs/generated/packages/angular/generators/storybook-configuration.json b/docs/generated/packages/angular/generators/storybook-configuration.json index b0603ad79c4675..77460c515e84e7 100644 --- a/docs/generated/packages/angular/generators/storybook-configuration.json +++ b/docs/generated/packages/angular/generators/storybook-configuration.json @@ -29,7 +29,7 @@ "configureCypress": { "type": "boolean", "description": "Specifies whether to configure Cypress or not.", - "x-deprecated": "Use interactionTests instead. This option will be removed in v19." + "x-deprecated": "Use interactionTests instead. This option will be removed in v20." }, "generateStories": { "type": "boolean", @@ -41,7 +41,7 @@ "generateCypressSpecs": { "type": "boolean", "description": "Specifies whether to automatically generate test files in the generated Cypress e2e app.", - "x-deprecated": "Use interactionTests instead. This option will be removed in v19." + "x-deprecated": "Use interactionTests instead. This option will be removed in v20." }, "configureStaticServe": { "type": "boolean", @@ -53,7 +53,7 @@ "cypressDirectory": { "type": "string", "description": "A directory where the Cypress project will be placed. Placed at the root by default.", - "x-deprecated": "Use interactionTests instead. This option will be removed in v19." + "x-deprecated": "Use interactionTests instead. This option will be removed in v20." }, "linter": { "description": "The tool to use for running lint checks.", diff --git a/docs/generated/packages/expo/generators/component.json b/docs/generated/packages/expo/generators/component.json index f5579ec90e7022..8daf5a7ed8a788 100644 --- a/docs/generated/packages/expo/generators/component.json +++ b/docs/generated/packages/expo/generators/component.json @@ -23,7 +23,7 @@ "description": "The name of the project.", "alias": "p", "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "name": { "type": "string", diff --git a/docs/generated/packages/nest/generators/class.json b/docs/generated/packages/nest/generators/class.json index 54794b04e55a04..fe55db76ee059d 100644 --- a/docs/generated/packages/nest/generators/class.json +++ b/docs/generated/packages/nest/generators/class.json @@ -25,7 +25,7 @@ "type": "string", "$default": { "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -46,7 +46,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": true }, diff --git a/docs/generated/packages/nest/generators/controller.json b/docs/generated/packages/nest/generators/controller.json index 2f2de5ae7f8fed..f88a1eb3e83a02 100644 --- a/docs/generated/packages/nest/generators/controller.json +++ b/docs/generated/packages/nest/generators/controller.json @@ -20,7 +20,7 @@ "type": "string", "$default": { "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "nameAndDirectoryFormat": { "description": "Whether to generate the component in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).", @@ -46,7 +46,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": false }, diff --git a/docs/generated/packages/nest/generators/decorator.json b/docs/generated/packages/nest/generators/decorator.json index 2b8a41af5421cb..147eaba422ac66 100644 --- a/docs/generated/packages/nest/generators/decorator.json +++ b/docs/generated/packages/nest/generators/decorator.json @@ -25,7 +25,7 @@ "type": "string", "$default": { "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -40,7 +40,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": true }, diff --git a/docs/generated/packages/nest/generators/filter.json b/docs/generated/packages/nest/generators/filter.json index cd4bb4d3fc52ef..973eb2da8e5a3d 100644 --- a/docs/generated/packages/nest/generators/filter.json +++ b/docs/generated/packages/nest/generators/filter.json @@ -25,7 +25,7 @@ "type": "string", "$default": { "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -46,7 +46,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": true }, diff --git a/docs/generated/packages/nest/generators/gateway.json b/docs/generated/packages/nest/generators/gateway.json index 2bfc26fb702aa7..2935ca03b6bcb6 100644 --- a/docs/generated/packages/nest/generators/gateway.json +++ b/docs/generated/packages/nest/generators/gateway.json @@ -25,7 +25,7 @@ "type": "string", "$default": { "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -46,7 +46,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": true }, diff --git a/docs/generated/packages/nest/generators/guard.json b/docs/generated/packages/nest/generators/guard.json index de1b34351e3bd2..0413b2bf4dce15 100644 --- a/docs/generated/packages/nest/generators/guard.json +++ b/docs/generated/packages/nest/generators/guard.json @@ -25,7 +25,7 @@ "type": "string", "$default": { "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -46,7 +46,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": true }, diff --git a/docs/generated/packages/nest/generators/interceptor.json b/docs/generated/packages/nest/generators/interceptor.json index 7c1283c450442a..44ab7140fd1651 100644 --- a/docs/generated/packages/nest/generators/interceptor.json +++ b/docs/generated/packages/nest/generators/interceptor.json @@ -25,7 +25,7 @@ "type": "string", "$default": { "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -46,7 +46,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": true }, diff --git a/docs/generated/packages/nest/generators/interface.json b/docs/generated/packages/nest/generators/interface.json index 77ff955953ae69..f40d78b5113555 100644 --- a/docs/generated/packages/nest/generators/interface.json +++ b/docs/generated/packages/nest/generators/interface.json @@ -25,7 +25,7 @@ "type": "string", "$default": { "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -40,7 +40,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": true } diff --git a/docs/generated/packages/nest/generators/middleware.json b/docs/generated/packages/nest/generators/middleware.json index 62cd735ec5851e..8afeaaead5804e 100644 --- a/docs/generated/packages/nest/generators/middleware.json +++ b/docs/generated/packages/nest/generators/middleware.json @@ -25,7 +25,7 @@ "type": "string", "$default": { "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -46,7 +46,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": true }, diff --git a/docs/generated/packages/nest/generators/module.json b/docs/generated/packages/nest/generators/module.json index 058349d4878c73..05942ce8c716f2 100644 --- a/docs/generated/packages/nest/generators/module.json +++ b/docs/generated/packages/nest/generators/module.json @@ -25,7 +25,7 @@ "type": "string", "$default": { "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -40,7 +40,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": false }, diff --git a/docs/generated/packages/nest/generators/pipe.json b/docs/generated/packages/nest/generators/pipe.json index 985d377cd93109..899fac1eb4e1fb 100644 --- a/docs/generated/packages/nest/generators/pipe.json +++ b/docs/generated/packages/nest/generators/pipe.json @@ -25,7 +25,7 @@ "type": "string", "$default": { "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -46,7 +46,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": true }, diff --git a/docs/generated/packages/nest/generators/provider.json b/docs/generated/packages/nest/generators/provider.json index 7d7f7e17e9119c..0ae6ebfe8e4fc4 100644 --- a/docs/generated/packages/nest/generators/provider.json +++ b/docs/generated/packages/nest/generators/provider.json @@ -25,7 +25,7 @@ "type": "string", "$default": { "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -46,7 +46,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": true }, diff --git a/docs/generated/packages/nest/generators/resolver.json b/docs/generated/packages/nest/generators/resolver.json index 6b534e100f40e7..0d31a6a226d119 100644 --- a/docs/generated/packages/nest/generators/resolver.json +++ b/docs/generated/packages/nest/generators/resolver.json @@ -20,7 +20,7 @@ "type": "string", "$default": { "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -41,7 +41,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": false }, diff --git a/docs/generated/packages/nest/generators/resource.json b/docs/generated/packages/nest/generators/resource.json index c41094f06eedc3..b024614e95474b 100644 --- a/docs/generated/packages/nest/generators/resource.json +++ b/docs/generated/packages/nest/generators/resource.json @@ -20,7 +20,7 @@ "type": "string", "$default": { "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -41,7 +41,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": false }, diff --git a/docs/generated/packages/nest/generators/service.json b/docs/generated/packages/nest/generators/service.json index 7a9152fb5cd40f..903aae7fea70cc 100644 --- a/docs/generated/packages/nest/generators/service.json +++ b/docs/generated/packages/nest/generators/service.json @@ -25,7 +25,7 @@ "type": "string", "$default": { "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -46,7 +46,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": false }, diff --git a/docs/generated/packages/next/generators/component.json b/docs/generated/packages/next/generators/component.json index b2a5636b055d1c..b7da68873f7a69 100644 --- a/docs/generated/packages/next/generators/component.json +++ b/docs/generated/packages/next/generators/component.json @@ -14,7 +14,7 @@ "description": "The name of the project.", "alias": "p", "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "name": { "type": "string", diff --git a/docs/generated/packages/next/generators/page.json b/docs/generated/packages/next/generators/page.json index 9f0eab986a5756..3a4f2287669919 100644 --- a/docs/generated/packages/next/generators/page.json +++ b/docs/generated/packages/next/generators/page.json @@ -14,7 +14,7 @@ "description": "The name of the project.", "alias": "p", "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "name": { "type": "string", @@ -89,7 +89,7 @@ "type": "boolean", "description": "Create component at the source root rather than its own directory.", "default": false, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "skipFormat": { "description": "Skip formatting files.", diff --git a/docs/generated/packages/nx/documents/affected-dep-graph.md b/docs/generated/packages/nx/documents/affected-dep-graph.md deleted file mode 100644 index a37a51b606e394..00000000000000 --- a/docs/generated/packages/nx/documents/affected-dep-graph.md +++ /dev/null @@ -1,168 +0,0 @@ ---- -title: 'affected:graph - CLI command' -description: 'Graph dependencies affected by changes' ---- - -# affected:graph - -**Deprecated:** Use `nx graph --affected`, or `nx affected --graph` instead depending on which best suits your use case. The `affected:graph` command will be removed in Nx 19. - -Graph dependencies affected by changes - -## Usage - -```shell -nx affected:graph -``` - -Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpm nx`. - -### Examples - -Open the project graph of the workspace in the browser, and highlight the projects affected by changing the index.ts file: - -```shell - nx affected:graph --files=libs/mylib/src/index.ts -``` - -Open the project graph of the workspace in the browser, and highlight the projects affected by the changes between main and HEAD (e.g., PR): - -```shell - nx affected:graph --base=main --head=HEAD -``` - -Save the project graph of the workspace in a json file, and highlight the projects affected by the changes between main and HEAD (e.g., PR): - -```shell - nx affected:graph --base=main --head=HEAD --file=output.json -``` - -Generate a static website with project graph data in an html file, highlighting the projects affected by the changes between main and HEAD (e.g., PR): - -```shell - nx affected:graph --base=main --head=HEAD --file=output.html -``` - -Open the project graph of the workspace in the browser, and highlight the projects affected by the last commit on main: - -```shell - nx affected:graph --base=main~1 --head=main -``` - -Open the project graph of the workspace in the browser, highlight the projects affected, but exclude project-one and project-two: - -```shell - nx affected:graph --exclude=project-one,project-two -``` - -## Options - -### base - -Type: `string` - -Base of the current branch (usually main) - -### exclude - -Type: `string` - -Exclude certain projects from being processed - -### file - -Type: `string` - -Output file (e.g. --file=output.json or --file=dep-graph.html) - -### files - -Type: `string` - -Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces - -### focus - -Type: `string` - -Use to show the project graph for a particular project and every node that is either an ancestor or a descendant. - -### groupByFolder - -Type: `boolean` - -Group projects by folder in the project graph - -### head - -Type: `string` - -Latest commit of the current branch (usually HEAD) - -### help - -Type: `boolean` - -Show help - -### host - -Type: `string` - -Bind the project graph server to a specific ip address. - -### open - -Type: `boolean` - -Default: `true` - -Open the project graph in the browser. - -### port - -Type: `number` - -Bind the project graph server to a specific port. - -### targets - -Type: `string` - -The target to show tasks for in the task graph - -### uncommitted - -Type: `boolean` - -Uncommitted changes - -### untracked - -Type: `boolean` - -Untracked changes - -### version - -Type: `boolean` - -Show version number - -### view - -Type: `string` - -Choices: [projects, tasks] - -Default: `projects` - -Choose whether to view the projects or task graph - -### watch - -Type: `boolean` - -Default: `true` - -Watch for changes to project graph and update in-browser diff --git a/docs/generated/packages/nx/documents/print-affected.md b/docs/generated/packages/nx/documents/print-affected.md deleted file mode 100644 index 934bcea45fe5be..00000000000000 --- a/docs/generated/packages/nx/documents/print-affected.md +++ /dev/null @@ -1,126 +0,0 @@ ---- -title: 'print-affected - CLI command' -description: 'Prints information about the projects and targets affected by changes' ---- - -# print-affected - -**Deprecated:** Use `nx show projects --affected`, `nx affected --graph -t build` or `nx graph --affected` depending on which best suits your use case. The `print-affected` command will be removed in Nx 19. - -Prints information about the projects and targets affected by changes - -## Usage - -```shell -nx print-affected -``` - -Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpm nx`. - -### Examples - -Print information about affected projects and the project graph: - -```shell - nx print-affected -``` - -Print information about the projects affected by the changes between main and HEAD (e.g,. PR): - -```shell - nx print-affected --base=main --head=HEAD -``` - -Prints information about the affected projects and a list of tasks to test them: - -```shell - nx print-affected -t test -``` - -Prints the projects property from the print-affected output: - -```shell - nx print-affected -t build --select=projects -``` - -Prints the tasks.target.project property from the print-affected output: - -```shell - nx print-affected -t build --select=tasks.target.project -``` - -## Options - -### base - -Type: `string` - -Base of the current branch (usually main) - -### configuration - -Type: `string` - -This is the configuration to use when performing tasks on projects - -### exclude - -Type: `string` - -Exclude certain projects from being processed - -### files - -Type: `string` - -Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces - -### head - -Type: `string` - -Latest commit of the current branch (usually HEAD) - -### help - -Type: `boolean` - -Show help - -### select - -Type: `string` - -Select the subset of the returned json document (e.g., --select=projects) - -### targets - -Type: `string` - -Tasks to run for affected projects - -### type - -Type: `string` - -Choices: [app, lib] - -Select the type of projects to be returned (e.g., --type=app) - -### uncommitted - -Type: `boolean` - -Uncommitted changes - -### untracked - -Type: `boolean` - -Untracked changes - -### version - -Type: `boolean` - -Show version number diff --git a/docs/generated/packages/plugin/generators/executor.json b/docs/generated/packages/plugin/generators/executor.json index 326befb2d20826..1234117c3b9c77 100644 --- a/docs/generated/packages/plugin/generators/executor.json +++ b/docs/generated/packages/plugin/generators/executor.json @@ -60,7 +60,7 @@ "description": "The name of the project.", "alias": "p", "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "skipFormat": { "type": "boolean", diff --git a/docs/generated/packages/plugin/generators/generator.json b/docs/generated/packages/plugin/generators/generator.json index acb0f6e9322f30..d9e48c8ef099da 100644 --- a/docs/generated/packages/plugin/generators/generator.json +++ b/docs/generated/packages/plugin/generators/generator.json @@ -49,7 +49,7 @@ "description": "The name of the project.", "alias": "p", "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "skipFormat": { "type": "boolean", diff --git a/docs/generated/packages/plugin/generators/migration.json b/docs/generated/packages/plugin/generators/migration.json index 748604daa4d047..04ad52fc1dfa71 100644 --- a/docs/generated/packages/plugin/generators/migration.json +++ b/docs/generated/packages/plugin/generators/migration.json @@ -42,7 +42,7 @@ "description": "The name of the project.", "alias": "p", "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "packageJsonUpdates": { "type": "boolean", diff --git a/docs/generated/packages/react-native/generators/component.json b/docs/generated/packages/react-native/generators/component.json index 46c67785ff3447..0dc7f9ffd2d4c4 100644 --- a/docs/generated/packages/react-native/generators/component.json +++ b/docs/generated/packages/react-native/generators/component.json @@ -24,7 +24,7 @@ "description": "The name of the project.", "alias": "p", "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "name": { "type": "string", diff --git a/docs/generated/packages/react/generators/component.json b/docs/generated/packages/react/generators/component.json index 7b8aafb0c85c62..1a9f1459216e8f 100644 --- a/docs/generated/packages/react/generators/component.json +++ b/docs/generated/packages/react/generators/component.json @@ -14,7 +14,7 @@ "description": "The name of the project.", "alias": "p", "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "name": { "type": "string", diff --git a/docs/generated/packages/react/generators/hook.json b/docs/generated/packages/react/generators/hook.json index ef84c39c7671ab..eda02dc565e4c6 100644 --- a/docs/generated/packages/react/generators/hook.json +++ b/docs/generated/packages/react/generators/hook.json @@ -20,7 +20,7 @@ "description": "The name of the project.", "alias": "p", "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "name": { "type": "string", @@ -54,7 +54,7 @@ "type": "boolean", "description": "Create hook at the source root rather than its own directory.", "default": false, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "export": { "type": "boolean", diff --git a/docs/generated/packages/react/generators/redux.json b/docs/generated/packages/react/generators/redux.json index c62324fef9cde3..484fb6c688bb5b 100644 --- a/docs/generated/packages/react/generators/redux.json +++ b/docs/generated/packages/react/generators/redux.json @@ -20,7 +20,7 @@ "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-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "type": "string", diff --git a/docs/generated/packages/react/generators/storybook-configuration.json b/docs/generated/packages/react/generators/storybook-configuration.json index 11b46bf2bfe7df..5c0a68cc5e45fb 100644 --- a/docs/generated/packages/react/generators/storybook-configuration.json +++ b/docs/generated/packages/react/generators/storybook-configuration.json @@ -29,7 +29,7 @@ "configureCypress": { "type": "boolean", "description": "Run the cypress-configure generator.", - "x-deprecated": "Use interactionTests instead. This option will be removed in v19." + "x-deprecated": "Use interactionTests instead. This option will be removed in v20." }, "generateStories": { "type": "boolean", @@ -41,7 +41,7 @@ "generateCypressSpecs": { "type": "boolean", "description": "Automatically generate test files in the Cypress E2E app generated by the `cypress-configure` generator.", - "x-deprecated": "Use interactionTests instead. This option will be removed in v19." + "x-deprecated": "Use interactionTests instead. This option will be removed in v20." }, "configureStaticServe": { "type": "boolean", @@ -53,7 +53,7 @@ "cypressDirectory": { "type": "string", "description": "A directory where the Cypress project will be placed. Placed at the root by default.", - "x-deprecated": "Use interactionTests instead. This option will be removed in v19." + "x-deprecated": "Use interactionTests instead. This option will be removed in v20." }, "js": { "type": "boolean", diff --git a/docs/generated/packages/remix/generators/action.json b/docs/generated/packages/remix/generators/action.json index 06c12154998705..c3d56c5a646487 100644 --- a/docs/generated/packages/remix/generators/action.json +++ b/docs/generated/packages/remix/generators/action.json @@ -22,7 +22,7 @@ "type": "string", "description": "The name of the project.", "pattern": "^[a-zA-Z].*$", - "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v20." } }, "required": ["path"], diff --git a/docs/generated/packages/remix/generators/error-boundary.json b/docs/generated/packages/remix/generators/error-boundary.json index b5834694ecfca3..da101f7b559fa4 100644 --- a/docs/generated/packages/remix/generators/error-boundary.json +++ b/docs/generated/packages/remix/generators/error-boundary.json @@ -27,7 +27,7 @@ "type": "string", "description": "The name of the project.", "pattern": "^[a-zA-Z].*$", - "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v20." }, "skipFormat": { "type": "boolean", diff --git a/docs/generated/packages/remix/generators/loader.json b/docs/generated/packages/remix/generators/loader.json index b6a366ab1164aa..c3cac9d81e56ee 100644 --- a/docs/generated/packages/remix/generators/loader.json +++ b/docs/generated/packages/remix/generators/loader.json @@ -22,7 +22,7 @@ "type": "string", "description": "The name of the project.", "pattern": "^[a-zA-Z].*$", - "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v20." } }, "required": ["path"], diff --git a/docs/generated/packages/remix/generators/meta.json b/docs/generated/packages/remix/generators/meta.json index 85399646bdf24e..579e434950a44d 100644 --- a/docs/generated/packages/remix/generators/meta.json +++ b/docs/generated/packages/remix/generators/meta.json @@ -22,7 +22,7 @@ "type": "string", "description": "The name of the project.", "pattern": "^[a-zA-Z].*$", - "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v20." } }, "required": ["path"], diff --git a/docs/generated/packages/remix/generators/resource-route.json b/docs/generated/packages/remix/generators/resource-route.json index f57b7f1d0a0ff1..ec8be4829df276 100644 --- a/docs/generated/packages/remix/generators/resource-route.json +++ b/docs/generated/packages/remix/generators/resource-route.json @@ -29,7 +29,7 @@ "type": "string", "description": "The name of the project.", "pattern": "^[a-zA-Z].*$", - "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v20." }, "action": { "type": "boolean", diff --git a/docs/generated/packages/remix/generators/route.json b/docs/generated/packages/remix/generators/route.json index e9bc0ee09d1601..6feff8416fe7ee 100644 --- a/docs/generated/packages/remix/generators/route.json +++ b/docs/generated/packages/remix/generators/route.json @@ -29,7 +29,7 @@ "type": "string", "description": "The name of the project.", "pattern": "^[a-zA-Z].*$", - "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v20." }, "style": { "type": "string", diff --git a/docs/generated/packages/remix/generators/style.json b/docs/generated/packages/remix/generators/style.json index d298b13073d4e1..c4cee8c712ce58 100644 --- a/docs/generated/packages/remix/generators/style.json +++ b/docs/generated/packages/remix/generators/style.json @@ -29,7 +29,7 @@ "type": "string", "description": "The name of the project.", "pattern": "^[a-zA-Z].*$", - "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v20." } }, "required": ["path"], diff --git a/docs/generated/packages/storybook/generators/configuration.json b/docs/generated/packages/storybook/generators/configuration.json index 76d288d7512afb..5d7e8d18c6a486 100644 --- a/docs/generated/packages/storybook/generators/configuration.json +++ b/docs/generated/packages/storybook/generators/configuration.json @@ -28,12 +28,12 @@ "configureCypress": { "type": "boolean", "description": "Run the cypress-configure generator.", - "x-deprecated": "Use interactionTests instead. This option will be removed in v19." + "x-deprecated": "Use interactionTests instead. This option will be removed in v20." }, "cypressDirectory": { "type": "string", "description": "A directory where the Cypress project will be placed. Added at root by default.", - "x-deprecated": "Use interactionTests instead. This option will be removed in v19." + "x-deprecated": "Use interactionTests instead. This option will be removed in v20." }, "linter": { "description": "The tool to use for running lint checks.", diff --git a/docs/generated/packages/vue/generators/component.json b/docs/generated/packages/vue/generators/component.json index 1103adece43a14..0373ecd9c95fa3 100644 --- a/docs/generated/packages/vue/generators/component.json +++ b/docs/generated/packages/vue/generators/component.json @@ -20,7 +20,7 @@ "description": "The name of the project.", "alias": "p", "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "name": { "type": "string", @@ -55,7 +55,7 @@ "type": "boolean", "description": "Create component at the source root rather than its own directory.", "default": false, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "export": { "type": "boolean", @@ -69,14 +69,14 @@ "description": "Use pascal case component file name (e.g. `App.tsx`).", "alias": "P", "default": false, - "x-deprecated": "Provide the desired `name` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the desired `name` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "pascalCaseDirectory": { "type": "boolean", "description": "Use pascal case directory name (e.g. `App/App.tsx`).", "alias": "R", "default": false, - "x-deprecated": "Provide the desired `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the desired `directory` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "routing": { "type": "boolean", diff --git a/docs/generated/packages/webpack/executors/webpack.json b/docs/generated/packages/webpack/executors/webpack.json index a97c0c07e857c9..08bf0d706f1c7c 100644 --- a/docs/generated/packages/webpack/executors/webpack.json +++ b/docs/generated/packages/webpack/executors/webpack.json @@ -311,7 +311,7 @@ "type": "boolean", "description": "Do not apply Nx webpack plugins automatically. Plugins need to be applied in the project's webpack.config.js file (e.g. withNx, withReact, etc.).", "default": true, - "x-deprecated": "Automatic configuration of Webpack is deprecated in favor of an explicit 'webpack.config.js' file. This option will be removed in Nx 19. See https://nx.dev/recipes/webpack/webpack-config-setup." + "x-deprecated": "Automatic configuration of Webpack is deprecated in favor of an explicit 'webpack.config.js' file. This option will be removed in Nx 20. See https://nx.dev/recipes/webpack/webpack-config-setup." }, "standardWebpackConfigFunction": { "type": "boolean", diff --git a/docs/map.json b/docs/map.json index dc28d214b33b82..3bb2fe20ebba98 100644 --- a/docs/map.json +++ b/docs/map.json @@ -1272,7 +1272,6 @@ } ] }, - { "name": "Troubleshooting", "id": "troubleshooting", @@ -1988,16 +1987,6 @@ "id": "affected", "file": "generated/cli/affected" }, - { - "name": "affected:graph", - "id": "affected-dep-graph", - "file": "generated/cli/affected-graph" - }, - { - "name": "print-affected", - "id": "print-affected", - "file": "generated/cli/print-affected" - }, { "name": "format:check", "id": "format-check", diff --git a/docs/shared/deprecated/as-provided-vs-derived.md b/docs/shared/deprecated/as-provided-vs-derived.md index fc75dbe1fbb620..4b85bcd853bce6 100644 --- a/docs/shared/deprecated/as-provided-vs-derived.md +++ b/docs/shared/deprecated/as-provided-vs-derived.md @@ -1,6 +1,6 @@ # As Provided vs. Derived Generator Path Options -Nx is moving toward a more transparent and predictable way of determining where code will be generated when you run a generator. The new behavior is to take generator options _as provided_ and place the generated code in the exact folder that you specify. Nx will only use the new behavior in Nx version 19. The directory can be specified with a `--directory` flag or use a fully specified path (i.e. `libs/shared/my-lib/src/my-component`). The `--directory` flag will be calculated relative to where you run the command. +Nx is moving toward a more transparent and predictable way of determining where code will be generated when you run a generator. The new behavior is to take generator options _as provided_ and place the generated code in the exact folder that you specify. Nx will only use the new behavior in Nx version 20. The directory can be specified with a `--directory` flag or use a fully specified path (i.e. `libs/shared/my-lib/src/my-component`). The `--directory` flag will be calculated relative to where you run the command. In the past, Nx had lots of logic to try and _derive_ the best place to put code for you. This approach worked for some people, but there were always people that wanted to generate their code in a slightly different location. Accounting for these variations lead to either (1) people in repos with a different structure not being able to use these generators or (2) Nx introducing lots of flags to allow people to tweak where code was generated (flags like `--project`, `--flat`, `--pascalCaseFiles`, `--pascalCaseDirectory`, `--fileName`). It also caused some confusion when code was not generated in the expected location or frustration when the user did not know how to get Nx to derive the right thing. @@ -19,7 +19,7 @@ You can use [Nx Console](/getting-started/editor-setup) for an intuitive experie ## Prompting -To mitigate the impact of this change of direction, Nx will prompt you when running most generators until Nx 19. We know changing these habits may take time so this prompt allows you to choose the previous behavior. +To mitigate the impact of this change of direction, Nx will prompt you when running most generators until Nx 20. We know changing these habits may take time so this prompt allows you to choose the previous behavior. ```{% command="nx g lib my-lib --directory=shared/my-lib" path="~/myorg" %} ✔ Which generator would you like to use? · @nx/node:library @@ -44,7 +44,7 @@ Your intent is your intent. However, the commands you write and run are based on ## Project Generators -As of Nx 16.8.0, generating a project will prompt you to choose how Nx will calculate where the project should be located. For now, you can choose between `as-provided` and `derived` but `as-provided` will be the only option in Nx 19. The CLI flag to choose between the two algorithms for project generators is `--projectNameAndRootFormat`. +As of Nx 16.8.0, generating a project will prompt you to choose how Nx will calculate where the project should be located. For now, you can choose between `as-provided` and `derived` but `as-provided` will be the only option in Nx 20. The CLI flag to choose between the two algorithms for project generators is `--projectNameAndRootFormat`. ### Generate Paths and Names `as-provided` @@ -83,7 +83,7 @@ If you accidentally generate a project in the wrong folder, use the [move genera ## Code Generators -As of Nx 17, code generators such as `component`, `service`, and others will prompt you to choose whether or not Nx will derive the location based on your options or not. In Nx 19, Nx will take the generator options as provided. The following flags are deprecated and will be removed in Nx 19: `--project`, `--flat`, `--pascalCaseFiles`, `--pascalCaseDirectory`, `--fileName`. The CLI flag to choose between the two algorithms for code generators is `--nameAndDirectoryFormat`. +As of Nx 17, code generators such as `component`, `service`, and others will prompt you to choose whether or not Nx will derive the location based on your options or not. In Nx 20, Nx will take the generator options as provided. The following flags are deprecated and will be removed in Nx 20: `--project`, `--flat`, `--pascalCaseFiles`, `--pascalCaseDirectory`, `--fileName`. The CLI flag to choose between the two algorithms for code generators is `--nameAndDirectoryFormat`. ### Generate Paths and Names `as-provided` @@ -100,7 +100,7 @@ If the directory specified is not inside a project, an error will be thrown. ### Use the Old `derived` Paths and Names -Choosing `derived` makes Nx behave the way it did before version 17. Nx will use the deprecated flags (`--project`, `--flat`, `--pascalCaseFiles`, `--pascalCaseDirectory`, `--fileName`) to calculate where to generate the code. This behavior will not be available in Nx 19. +Choosing `derived` makes Nx behave the way it did before version 17. Nx will use the deprecated flags (`--project`, `--flat`, `--pascalCaseFiles`, `--pascalCaseDirectory`, `--fileName`) to calculate where to generate the code. This behavior will not be available in Nx 20. This makes generators behave in the following way: diff --git a/docs/shared/deprecated/v1-nx-plugin-api.md b/docs/shared/deprecated/v1-nx-plugin-api.md index 32c4eea5d4a37c..676b40cfae2b29 100644 --- a/docs/shared/deprecated/v1-nx-plugin-api.md +++ b/docs/shared/deprecated/v1-nx-plugin-api.md @@ -1,7 +1,7 @@ # Extending the Project Graph of Nx (v1 API) {% callout type="caution" title="Experimental" %} -This API has been superceded by the [v2 API](/extending-nx/recipes/project-graph-plugins) and will be removed in Nx 19. If targeting Nx version 16.7 or higher, please use the v2 API instead. +This API has been superceded by the [v2 API](/extending-nx/recipes/project-graph-plugins) and will be removed in Nx 20. If targeting Nx version 16.7 or higher, please use the v2 API instead. {% /callout %} The v1 plugin API for modifying the project graph was split into two parts: diff --git a/docs/shared/reference/sitemap.md b/docs/shared/reference/sitemap.md index 15f1fd4efa6ae0..a0ba1038311548 100644 --- a/docs/shared/reference/sitemap.md +++ b/docs/shared/reference/sitemap.md @@ -530,8 +530,6 @@ - [graph](/nx-api/nx/documents/dep-graph) - [run-many](/nx-api/nx/documents/run-many) - [affected](/nx-api/nx/documents/affected) - - [affected:graph](/nx-api/nx/documents/affected-dep-graph) - - [print-affected](/nx-api/nx/documents/print-affected) - [format:check](/nx-api/nx/documents/format-check) - [format:write](/nx-api/nx/documents/format-write) - [migrate](/nx-api/nx/documents/migrate) diff --git a/packages/angular/src/builders/dev-server/schema.json b/packages/angular/src/builders/dev-server/schema.json index a7244b7bd4ebdb..46e95ea3f5e295 100644 --- a/packages/angular/src/builders/dev-server/schema.json +++ b/packages/angular/src/builders/dev-server/schema.json @@ -17,7 +17,7 @@ "type": "string", "description": "A browser builder target to serve in the format of `project:target[:configuration]`. Ignored if `buildTarget` is set.", "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$", - "x-deprecated": "Use 'buildTarget' instead. It will be removed in Nx v19." + "x-deprecated": "Use 'buildTarget' instead. It will be removed in Nx v20." }, "buildTarget": { "type": "string", diff --git a/packages/angular/src/builders/webpack-browser/schema.d.ts b/packages/angular/src/builders/webpack-browser/schema.d.ts index 19056df3abe505..ba23348130758b 100644 --- a/packages/angular/src/builders/webpack-browser/schema.d.ts +++ b/packages/angular/src/builders/webpack-browser/schema.d.ts @@ -7,7 +7,7 @@ export type BrowserBuilderSchema = Schema & { indexHtmlTransformer?: string; buildLibsFromSource?: boolean; /** - * @deprecated Use `indexHtmlTransformer` instead. It will be removed in Nx 19. + * @deprecated Use `indexHtmlTransformer` instead. It will be removed in Nx 20. */ indexFileTransformer?: string; }; diff --git a/packages/angular/src/executors/module-federation-dev-server/schema.json b/packages/angular/src/executors/module-federation-dev-server/schema.json index ba1a8e27d82a44..4264f4a8c556ea 100644 --- a/packages/angular/src/executors/module-federation-dev-server/schema.json +++ b/packages/angular/src/executors/module-federation-dev-server/schema.json @@ -15,7 +15,7 @@ "type": "string", "description": "A browser builder target to serve in the format of `project:target[:configuration]`.", "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$", - "x-deprecated": "Use 'buildTarget' instead. It will be removed in Nx v19." + "x-deprecated": "Use 'buildTarget' instead. It will be removed in Nx v20." }, "buildTarget": { "type": "string", diff --git a/packages/angular/src/generators/component/schema.d.ts b/packages/angular/src/generators/component/schema.d.ts index 41caeb1dc29962..26935dcc756bd3 100644 --- a/packages/angular/src/generators/component/schema.d.ts +++ b/packages/angular/src/generators/component/schema.d.ts @@ -22,15 +22,15 @@ export interface Schema { skipFormat?: boolean; /** - * @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20. */ flat?: boolean; /** - * @deprecated Provide the `directory` option instead. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead. It will be removed in Nx v20. */ path?: string; /** - * @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v20. */ project?: string; } diff --git a/packages/angular/src/generators/component/schema.json b/packages/angular/src/generators/component/schema.json index 113b30663163dc..fbe61651b792a9 100644 --- a/packages/angular/src/generators/component/schema.json +++ b/packages/angular/src/generators/component/schema.json @@ -34,7 +34,7 @@ "$source": "projectName" }, "x-dropdown": "projects", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "prefix": { "type": "string", @@ -98,7 +98,7 @@ "type": "boolean", "description": "Create the new files at the top level of the current project.", "default": false, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "skipImport": { "type": "boolean", diff --git a/packages/angular/src/generators/directive/schema.d.ts b/packages/angular/src/generators/directive/schema.d.ts index 09459e008245e6..b21a436c060b93 100644 --- a/packages/angular/src/generators/directive/schema.d.ts +++ b/packages/angular/src/generators/directive/schema.d.ts @@ -13,15 +13,15 @@ export interface Schema { export?: boolean; skipFormat?: boolean; /** - * @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20. */ flat?: boolean; /** - * @deprecated Provide the `directory` option instead. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead. It will be removed in Nx v20. */ path?: string; /** - * @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v20. */ project?: string; } diff --git a/packages/angular/src/generators/directive/schema.json b/packages/angular/src/generators/directive/schema.json index c9c6b78079822c..29b04a9dfea7f0 100644 --- a/packages/angular/src/generators/directive/schema.json +++ b/packages/angular/src/generators/directive/schema.json @@ -34,7 +34,7 @@ "$source": "projectName" }, "x-dropdown": "projects", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "prefix": { "type": "string", @@ -74,7 +74,7 @@ "type": "boolean", "description": "When true (the default), creates the new files at the top level of the current project.", "default": true, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "module": { "type": "string", diff --git a/packages/angular/src/generators/pipe/schema.d.ts b/packages/angular/src/generators/pipe/schema.d.ts index 21944949519747..0080978acd60e2 100644 --- a/packages/angular/src/generators/pipe/schema.d.ts +++ b/packages/angular/src/generators/pipe/schema.d.ts @@ -11,15 +11,15 @@ export interface Schema { export?: boolean; skipFormat?: boolean; /** - * @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20. */ flat?: boolean; /** - * @deprecated Provide the `directory` option instead. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead. It will be removed in Nx v20. */ path?: string; /** - * @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v20. */ project?: string; } diff --git a/packages/angular/src/generators/pipe/schema.json b/packages/angular/src/generators/pipe/schema.json index 5300c9a361d37f..d94a7daff91751 100644 --- a/packages/angular/src/generators/pipe/schema.json +++ b/packages/angular/src/generators/pipe/schema.json @@ -34,13 +34,13 @@ "$source": "projectName" }, "x-dropdown": "projects", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "flat": { "type": "boolean", "default": true, "description": "When true (the default) creates files at the top level of the project.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "skipTests": { "type": "boolean", diff --git a/packages/angular/src/generators/scam-directive/schema.d.ts b/packages/angular/src/generators/scam-directive/schema.d.ts index f61c3da69c3378..91a6c00e1b927c 100644 --- a/packages/angular/src/generators/scam-directive/schema.d.ts +++ b/packages/angular/src/generators/scam-directive/schema.d.ts @@ -11,15 +11,15 @@ export interface Schema { export?: boolean; skipFormat?: boolean; /** - * @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20. */ flat?: boolean; /** - * @deprecated Provide the `directory` option instead. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead. It will be removed in Nx v20. */ path?: string; /** - * @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v20. */ project?: string; } diff --git a/packages/angular/src/generators/scam-directive/schema.json b/packages/angular/src/generators/scam-directive/schema.json index 455e3cd97873ff..116ed89ea5cd1a 100644 --- a/packages/angular/src/generators/scam-directive/schema.json +++ b/packages/angular/src/generators/scam-directive/schema.json @@ -41,7 +41,7 @@ "$source": "projectName" }, "x-dropdown": "projects", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "skipTests": { "type": "boolean", @@ -58,7 +58,7 @@ "type": "boolean", "description": "Create the new files at the top level of the current project.", "default": true, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "selector": { "type": "string", diff --git a/packages/angular/src/generators/scam-pipe/schema.d.ts b/packages/angular/src/generators/scam-pipe/schema.d.ts index 31ec4dcfdcdf12..4d7220d5af8764 100644 --- a/packages/angular/src/generators/scam-pipe/schema.d.ts +++ b/packages/angular/src/generators/scam-pipe/schema.d.ts @@ -9,15 +9,15 @@ export interface Schema { export?: boolean; skipFormat?: boolean; /** - * @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20. */ flat?: boolean; /** - * @deprecated Provide the `directory` option instead. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead. It will be removed in Nx v20. */ path?: string; /** - * @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v20. */ project?: string; } diff --git a/packages/angular/src/generators/scam-pipe/schema.json b/packages/angular/src/generators/scam-pipe/schema.json index 7a0b9f653c0dd0..649aaa5b37d0eb 100644 --- a/packages/angular/src/generators/scam-pipe/schema.json +++ b/packages/angular/src/generators/scam-pipe/schema.json @@ -41,7 +41,7 @@ "$source": "projectName" }, "x-dropdown": "projects", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "skipTests": { "type": "boolean", @@ -58,7 +58,7 @@ "type": "boolean", "description": "Create the new files at the top level of the current project.", "default": true, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "export": { "type": "boolean", diff --git a/packages/angular/src/generators/scam/schema.d.ts b/packages/angular/src/generators/scam/schema.d.ts index a38470cff067ac..4a6c023ec35e4f 100644 --- a/packages/angular/src/generators/scam/schema.d.ts +++ b/packages/angular/src/generators/scam/schema.d.ts @@ -19,15 +19,15 @@ export interface Schema { export?: boolean; skipFormat?: boolean; /** - * @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20. */ flat?: boolean; /** - * @deprecated Provide the `directory` option instead. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead. It will be removed in Nx v20. */ path?: string; /** - * @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v20. */ project?: string; } diff --git a/packages/angular/src/generators/scam/schema.json b/packages/angular/src/generators/scam/schema.json index a669d72a62a236..85838d8f4f83bd 100644 --- a/packages/angular/src/generators/scam/schema.json +++ b/packages/angular/src/generators/scam/schema.json @@ -40,7 +40,7 @@ "$source": "projectName" }, "x-dropdown": "projects", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "displayBlock": { "description": "Specifies if the style will contain `:host { display: block; }`.", @@ -94,7 +94,7 @@ "type": "boolean", "description": "Create the new files at the top level of the current project.", "default": false, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "selector": { "type": "string", diff --git a/packages/angular/src/generators/storybook-configuration/schema.json b/packages/angular/src/generators/storybook-configuration/schema.json index 2871ece213f2de..7b2a170b0a6df6 100644 --- a/packages/angular/src/generators/storybook-configuration/schema.json +++ b/packages/angular/src/generators/storybook-configuration/schema.json @@ -29,7 +29,7 @@ "configureCypress": { "type": "boolean", "description": "Specifies whether to configure Cypress or not.", - "x-deprecated": "Use interactionTests instead. This option will be removed in v19." + "x-deprecated": "Use interactionTests instead. This option will be removed in v20." }, "generateStories": { "type": "boolean", @@ -41,7 +41,7 @@ "generateCypressSpecs": { "type": "boolean", "description": "Specifies whether to automatically generate test files in the generated Cypress e2e app.", - "x-deprecated": "Use interactionTests instead. This option will be removed in v19." + "x-deprecated": "Use interactionTests instead. This option will be removed in v20." }, "configureStaticServe": { "type": "boolean", @@ -53,7 +53,7 @@ "cypressDirectory": { "type": "string", "description": "A directory where the Cypress project will be placed. Placed at the root by default.", - "x-deprecated": "Use interactionTests instead. This option will be removed in v19." + "x-deprecated": "Use interactionTests instead. This option will be removed in v20." }, "linter": { "description": "The tool to use for running lint checks.", diff --git a/packages/eslint-plugin/src/configs/javascript.ts b/packages/eslint-plugin/src/configs/javascript.ts index 6fa1f1260bf34f..d79ac73a712db4 100644 --- a/packages/eslint-plugin/src/configs/javascript.ts +++ b/packages/eslint-plugin/src/configs/javascript.ts @@ -55,7 +55,7 @@ export default { * previously defined v5 of `@typescript-eslint`. v6 of `@typescript-eslint` * changed how configurations are defined. * - * TODO(v20): re-evalute these deviations from @typescript-eslint/recommended in v19 of Nx + * TODO(v20): re-evalute these deviations from @typescript-eslint/recommended in v20 of Nx */ 'no-extra-semi': 'off', '@typescript-eslint/no-extra-semi': 'error', diff --git a/packages/eslint-plugin/src/configs/typescript.ts b/packages/eslint-plugin/src/configs/typescript.ts index 870b6910beab19..a6244addbc27e3 100644 --- a/packages/eslint-plugin/src/configs/typescript.ts +++ b/packages/eslint-plugin/src/configs/typescript.ts @@ -38,7 +38,7 @@ export default { * previously defined v5 of `@typescript-eslint`. v6 of `@typescript-eslint` * changed how configurations are defined. * - * TODO(v20): re-evalute these deviations from @typescript-eslint/recommended in v19 of Nx + * TODO(v20): re-evalute these deviations from @typescript-eslint/recommended in v20 of Nx */ 'no-extra-semi': 'off', '@typescript-eslint/no-extra-semi': 'error', diff --git a/packages/expo/src/executors/ensure-symlink/ensure-symlink.impl.ts b/packages/expo/src/executors/ensure-symlink/ensure-symlink.impl.ts index 737a74f33a8505..2f40e5e1ef8f0b 100644 --- a/packages/expo/src/executors/ensure-symlink/ensure-symlink.impl.ts +++ b/packages/expo/src/executors/ensure-symlink/ensure-symlink.impl.ts @@ -7,7 +7,7 @@ export interface ExpoEnsureSymlinkOutput { } /** - * TODO (@xiongemi): remove this function in v19. + * TODO (@xiongemi): remove this function in v20. * @deprecated It is no longer needed for react native 73. */ export default async function* ensureSymlinkExecutor( diff --git a/packages/expo/src/generators/component/schema.d.ts b/packages/expo/src/generators/component/schema.d.ts index e3a3408119b2e0..a9ff40ecd7a978 100644 --- a/packages/expo/src/generators/component/schema.d.ts +++ b/packages/expo/src/generators/component/schema.d.ts @@ -4,7 +4,7 @@ export interface Schema { name: string; /** - * @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20. */ project: string; directory?: string; diff --git a/packages/expo/src/generators/component/schema.json b/packages/expo/src/generators/component/schema.json index 59f223e29e3bba..9fc9c608a3f39f 100644 --- a/packages/expo/src/generators/component/schema.json +++ b/packages/expo/src/generators/component/schema.json @@ -22,7 +22,7 @@ "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "name": { "type": "string", diff --git a/packages/js/babel.ts b/packages/js/babel.ts index 5924ff8a3a6e76..316d7d8d5a780e 100644 --- a/packages/js/babel.ts +++ b/packages/js/babel.ts @@ -41,7 +41,7 @@ module.exports = function (api: any, options: NxWebBabelPresetOptions = {}) { const loose = options.classProperties?.loose ?? options.loose ?? true; if (options.classProperties) { logger.warn( - `Use =\`loose\` option instead of \`classProperties.loose\`. The \`classProperties\` option will be removed in Nx 19` + `Use =\`loose\` option instead of \`classProperties.loose\`. The \`classProperties\` option will be removed in Nx 20` ); } diff --git a/packages/nest/src/generators/class/schema.json b/packages/nest/src/generators/class/schema.json index 2a17b1fd15fc97..cebfec933a508c 100644 --- a/packages/nest/src/generators/class/schema.json +++ b/packages/nest/src/generators/class/schema.json @@ -27,7 +27,7 @@ "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -48,7 +48,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": true }, diff --git a/packages/nest/src/generators/controller/schema.json b/packages/nest/src/generators/controller/schema.json index 93163618b3251e..cc54cc6db691c0 100644 --- a/packages/nest/src/generators/controller/schema.json +++ b/packages/nest/src/generators/controller/schema.json @@ -22,7 +22,7 @@ "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "nameAndDirectoryFormat": { "description": "Whether to generate the component in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).", @@ -48,7 +48,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": false }, diff --git a/packages/nest/src/generators/decorator/schema.json b/packages/nest/src/generators/decorator/schema.json index d682c49936abb2..0d02cdedf3ef70 100644 --- a/packages/nest/src/generators/decorator/schema.json +++ b/packages/nest/src/generators/decorator/schema.json @@ -27,7 +27,7 @@ "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -42,7 +42,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": true }, diff --git a/packages/nest/src/generators/filter/schema.json b/packages/nest/src/generators/filter/schema.json index c53b0a99ffa282..b5b2ff40b92fd4 100644 --- a/packages/nest/src/generators/filter/schema.json +++ b/packages/nest/src/generators/filter/schema.json @@ -27,7 +27,7 @@ "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -48,7 +48,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": true }, diff --git a/packages/nest/src/generators/gateway/schema.json b/packages/nest/src/generators/gateway/schema.json index c098767288420c..5b44b438edb5e6 100644 --- a/packages/nest/src/generators/gateway/schema.json +++ b/packages/nest/src/generators/gateway/schema.json @@ -27,7 +27,7 @@ "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -48,7 +48,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": true }, diff --git a/packages/nest/src/generators/guard/schema.json b/packages/nest/src/generators/guard/schema.json index bfdfc9a53139d4..82d3991d7d670c 100644 --- a/packages/nest/src/generators/guard/schema.json +++ b/packages/nest/src/generators/guard/schema.json @@ -27,7 +27,7 @@ "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -48,7 +48,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": true }, diff --git a/packages/nest/src/generators/interceptor/schema.json b/packages/nest/src/generators/interceptor/schema.json index 50e52787c05fcb..112123fcd75314 100644 --- a/packages/nest/src/generators/interceptor/schema.json +++ b/packages/nest/src/generators/interceptor/schema.json @@ -27,7 +27,7 @@ "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -48,7 +48,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": true }, diff --git a/packages/nest/src/generators/interface/schema.json b/packages/nest/src/generators/interface/schema.json index fa9ced365826be..ed97845bfc7061 100644 --- a/packages/nest/src/generators/interface/schema.json +++ b/packages/nest/src/generators/interface/schema.json @@ -27,7 +27,7 @@ "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -42,7 +42,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": true } diff --git a/packages/nest/src/generators/middleware/schema.json b/packages/nest/src/generators/middleware/schema.json index 96bd8293e8885b..58b63d0c10df3a 100644 --- a/packages/nest/src/generators/middleware/schema.json +++ b/packages/nest/src/generators/middleware/schema.json @@ -27,7 +27,7 @@ "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -48,7 +48,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": true }, diff --git a/packages/nest/src/generators/module/schema.json b/packages/nest/src/generators/module/schema.json index bb344b275f7ecf..2f3d0818b9c730 100644 --- a/packages/nest/src/generators/module/schema.json +++ b/packages/nest/src/generators/module/schema.json @@ -27,7 +27,7 @@ "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -42,7 +42,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": false }, diff --git a/packages/nest/src/generators/pipe/schema.json b/packages/nest/src/generators/pipe/schema.json index 25ff965bc3660f..e3f34be488f676 100644 --- a/packages/nest/src/generators/pipe/schema.json +++ b/packages/nest/src/generators/pipe/schema.json @@ -27,7 +27,7 @@ "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -48,7 +48,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": true }, diff --git a/packages/nest/src/generators/provider/schema.json b/packages/nest/src/generators/provider/schema.json index 43d2ea8d11f366..b7427c1c4cf94f 100644 --- a/packages/nest/src/generators/provider/schema.json +++ b/packages/nest/src/generators/provider/schema.json @@ -27,7 +27,7 @@ "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -48,7 +48,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": true }, diff --git a/packages/nest/src/generators/resolver/schema.json b/packages/nest/src/generators/resolver/schema.json index 0ad68e4b47a2d6..496ca5b1d4a838 100644 --- a/packages/nest/src/generators/resolver/schema.json +++ b/packages/nest/src/generators/resolver/schema.json @@ -22,7 +22,7 @@ "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -43,7 +43,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": false }, diff --git a/packages/nest/src/generators/resource/schema.json b/packages/nest/src/generators/resource/schema.json index 3d887ae856d8f8..d35f8a055e3c9f 100644 --- a/packages/nest/src/generators/resource/schema.json +++ b/packages/nest/src/generators/resource/schema.json @@ -22,7 +22,7 @@ "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -43,7 +43,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": false }, diff --git a/packages/nest/src/generators/service/schema.json b/packages/nest/src/generators/service/schema.json index e49e8ef8bede14..37a2b036b5bbc4 100644 --- a/packages/nest/src/generators/service/schema.json +++ b/packages/nest/src/generators/service/schema.json @@ -27,7 +27,7 @@ "$source": "projectName" }, "alias": "p", - "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." + "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", @@ -48,7 +48,7 @@ }, "flat": { "description": "Flag to indicate if a directory is created.", - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.", + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.", "type": "boolean", "default": false }, diff --git a/packages/nest/src/generators/utils/types.ts b/packages/nest/src/generators/utils/types.ts index 95165cb89a1a8d..8c4205755e5562 100644 --- a/packages/nest/src/generators/utils/types.ts +++ b/packages/nest/src/generators/utils/types.ts @@ -32,11 +32,11 @@ export type NestGeneratorOptions = { nameAndDirectoryFormat?: NameAndDirectoryFormat; /** - * @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20. */ flat?: boolean; /** - * @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20. */ project?: string; }; diff --git a/packages/next/src/generators/component/component.ts b/packages/next/src/generators/component/component.ts index 6aa0a1b48aa54f..3f059f139cc280 100644 --- a/packages/next/src/generators/component/component.ts +++ b/packages/next/src/generators/component/component.ts @@ -15,7 +15,7 @@ import { determineArtifactNameAndDirectoryOptions } from '@nx/devkit/src/generat interface Schema { name: string; /** - * @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20. */ project?: string; style: SupportedStyles; diff --git a/packages/next/src/generators/component/schema.json b/packages/next/src/generators/component/schema.json index ee57d51dbf8427..6867bee68098af 100644 --- a/packages/next/src/generators/component/schema.json +++ b/packages/next/src/generators/component/schema.json @@ -13,7 +13,7 @@ "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "name": { "type": "string", diff --git a/packages/next/src/generators/page/schema.d.ts b/packages/next/src/generators/page/schema.d.ts index 577a3cb4ae7f66..9bf07570cc0691 100644 --- a/packages/next/src/generators/page/schema.d.ts +++ b/packages/next/src/generators/page/schema.d.ts @@ -3,7 +3,7 @@ import { SupportedStyles } from '@nx/react'; export interface Schema { name: string; /** - * @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20. */ project?: string; style: SupportedStyles; diff --git a/packages/next/src/generators/page/schema.json b/packages/next/src/generators/page/schema.json index 5162011a091605..7d45f77d357d7b 100644 --- a/packages/next/src/generators/page/schema.json +++ b/packages/next/src/generators/page/schema.json @@ -13,7 +13,7 @@ "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "name": { "type": "string", @@ -97,7 +97,7 @@ "type": "boolean", "description": "Create component at the source root rather than its own directory.", "default": false, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "skipFormat": { "description": "Skip formatting files.", diff --git a/packages/nx/schemas/nx-schema.json b/packages/nx/schemas/nx-schema.json index 1eb695b29894a4..b3a806f1f34901 100644 --- a/packages/nx/schemas/nx-schema.json +++ b/packages/nx/schemas/nx-schema.json @@ -19,7 +19,7 @@ } }, "additionalProperties": false, - "deprecated": "Use `defaultBase` instead. Support for setting `defaultBase` in `affected` will be removed in Nx 19." + "deprecated": "Use `defaultBase` instead. Support for setting `defaultBase` in `affected` will be removed in Nx 20." }, "defaultBase": { "type": "string", diff --git a/packages/nx/src/command-line/affected/affected.ts b/packages/nx/src/command-line/affected/affected.ts index 663a244b6705fa..3b24f70a8e1302 100644 --- a/packages/nx/src/command-line/affected/affected.ts +++ b/packages/nx/src/command-line/affected/affected.ts @@ -1,7 +1,6 @@ import { calculateFileChanges } from '../../project-graph/file-utils'; import { runCommand } from '../../tasks-runner/run-command'; import { output } from '../../utils/output'; -import { printAffected } from './print-affected'; import { connectToNxCloudIfExplicitlyAsked } from '../connect/connect-to-nx-cloud'; import type { NxArgs } from '../../utils/command-line-utils'; import { @@ -24,7 +23,6 @@ import { findMatchingProjects } from '../../utils/find-matching-projects'; import { generateGraph } from '../graph/graph'; import { allFileData } from '../../utils/all-file-data'; import { NX_PREFIX, logger } from '../../utils/logger'; -import { affectedGraphDeprecationMessage } from './command-object'; export async function affected( command: 'graph' | 'print-affected' | 'affected', @@ -60,32 +58,6 @@ export async function affected( try { switch (command) { - case 'graph': - logger.warn([NX_PREFIX, affectedGraphDeprecationMessage].join(' ')); - const projectNames = projects.map((p) => p.name); - await generateGraph(args as any, projectNames); - break; - - case 'print-affected': - if (nxArgs.targets && nxArgs.targets.length > 0) { - await printAffected( - allProjectsWithTarget(projects, nxArgs), - projectGraph, - { nxJson }, - nxArgs, - overrides - ); - } else { - await printAffected( - projects, - projectGraph, - { nxJson }, - nxArgs, - overrides - ); - } - break; - case 'affected': { const projectsWithTarget = allProjectsWithTarget(projects, nxArgs); if (nxArgs.graph) { diff --git a/packages/nx/src/command-line/affected/command-object.ts b/packages/nx/src/command-line/affected/command-object.ts index 454780c29b0712..268a040126f208 100644 --- a/packages/nx/src/command-line/affected/command-object.ts +++ b/packages/nx/src/command-line/affected/command-object.ts @@ -4,7 +4,6 @@ import { withAffectedOptions, withBatch, withConfiguration, - withDepGraphOptions, withOutputStyleOption, withOverrides, withRunOptions, @@ -141,71 +140,3 @@ export const yargsAffectedE2ECommand: CommandModule = { ); }, }; - -export const affectedGraphDeprecationMessage = - 'Use `nx graph --affected`, or `nx affected --graph` instead depending on which best suits your use case. The `affected:graph` command will be removed in Nx 19.'; -/** - * @deprecated 'Use `nx graph --affected`, or` nx affected --graph` instead depending on which best suits your use case. The `affected:graph` command will be removed in Nx 19.' - */ -export const yargsAffectedGraphCommand: CommandModule = { - command: 'affected:graph', - describe: 'Graph dependencies affected by changes', - aliases: ['affected:dep-graph'], - builder: (yargs) => - linkToNxDevAndExamples( - withAffectedOptions(withDepGraphOptions(yargs)), - 'affected:graph' - ), - handler: async (args) => { - return handleErrors( - (args.verbose as boolean) ?? process.env.NX_VERBOSE_LOGGING === 'true', - async () => { - return await ( - await import('./affected') - ).affected('graph', { - ...args, - }); - } - ); - }, - deprecated: affectedGraphDeprecationMessage, -}; - -export const printAffectedDeprecationMessage = - 'Use `nx show projects --affected`, `nx affected --graph -t build` or `nx graph --affected` depending on which best suits your use case. The `print-affected` command will be removed in Nx 19.'; -/** - * @deprecated 'Use `nx show --affected`, `nx affected --graph` or `nx graph --affected` depending on which best suits your use case. The `print-affected` command will be removed in Nx 19.' - */ -export const yargsPrintAffectedCommand: CommandModule = { - command: 'print-affected', - describe: - 'Prints information about the projects and targets affected by changes', - builder: (yargs) => - linkToNxDevAndExamples( - withAffectedOptions(withTargetAndConfigurationOption(yargs, false)), - 'print-affected' - ) - .option('select', { - type: 'string', - describe: - 'Select the subset of the returned json document (e.g., --select=projects)', - }) - .option('type', { - type: 'string', - choices: ['app', 'lib'], - describe: - 'Select the type of projects to be returned (e.g., --type=app)', - }), - handler: async (args) => { - return handleErrors( - (args.verbose as boolean) ?? process.env.NX_VERBOSE_LOGGING === 'true', - async () => { - await ( - await import('./affected') - ).affected('print-affected', withOverrides(args)); - process.exit(0); - } - ); - }, - deprecated: printAffectedDeprecationMessage, -}; diff --git a/packages/nx/src/command-line/affected/print-affected.spec.ts b/packages/nx/src/command-line/affected/print-affected.spec.ts deleted file mode 100644 index 7cd4a5e1ae17f6..00000000000000 --- a/packages/nx/src/command-line/affected/print-affected.spec.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { selectPrintAffected } from './print-affected'; - -describe('print-affected', () => { - describe('selectPrintAffected', () => { - const res = { - projects: ['one', 'two'], - tasks: [ - { - target: { - project: 'one', - }, - }, - { - target: { - project: 'two', - }, - }, - ], - }; - - it('should return the result if select is empty', () => { - expect(selectPrintAffected(res, null)).toEqual(res); - }); - - it('should select an array if without nesting', () => { - expect(selectPrintAffected(res, 'projects')).toEqual('one, two'); - }); - - it('should throw when invalid key', () => { - expect(() => selectPrintAffected(res, 'projects.invalid')).toThrowError( - `Cannot select 'projects.invalid' in the results of print-affected.` - ); - }); - - it('should select an array if with nesting', () => { - expect(selectPrintAffected(res, 'tasks.target.project')).toEqual( - 'one, two' - ); - }); - }); -}); diff --git a/packages/nx/src/command-line/affected/print-affected.ts b/packages/nx/src/command-line/affected/print-affected.ts deleted file mode 100644 index a7aababc16d934..00000000000000 --- a/packages/nx/src/command-line/affected/print-affected.ts +++ /dev/null @@ -1,170 +0,0 @@ -import { getCommandAsString } from '../../tasks-runner/utils'; -import * as yargs from 'yargs'; -import type { NxArgs } from '../../utils/command-line-utils'; -import { - ProjectGraph, - ProjectGraphProjectNode, -} from '../../config/project-graph'; -import { - createTaskGraph, - mapTargetDefaultsToDependencies, -} from '../../tasks-runner/create-task-graph'; -import { NxJsonConfiguration } from '../../config/nx-json'; -import { - DaemonBasedTaskHasher, - InProcessTaskHasher, - TaskHasher, -} from '../../hasher/task-hasher'; -import { hashTask } from '../../hasher/hash-task'; -import { getPackageManagerCommand } from '../../utils/package-manager'; -import { printAffectedDeprecationMessage } from './command-object'; -import { logger, NX_PREFIX } from '../../utils/logger'; -import { getTaskSpecificEnv } from '../../tasks-runner/task-env'; -import { getFileMap } from '../../project-graph/build-project-graph'; -import { daemonClient } from '../../daemon/client/client'; - -/** - * @deprecated Use showProjectsHandler, generateGraph, or affected (without the print-affected mode) instead. - */ -export async function printAffected( - affectedProjects: ProjectGraphProjectNode[], - projectGraph: ProjectGraph, - { nxJson }: { nxJson: NxJsonConfiguration }, - nxArgs: NxArgs, - overrides: yargs.Arguments -) { - logger.warn([NX_PREFIX, printAffectedDeprecationMessage].join(' ')); - const projectsForType = affectedProjects.filter((p) => - nxArgs.type ? p.type === nxArgs.type : true - ); - const projectNames = projectsForType.map((p) => p.name); - const tasksJson = - nxArgs.targets && nxArgs.targets.length > 0 - ? await createTasks( - projectsForType, - projectGraph, - nxArgs, - nxJson, - overrides - ) - : []; - const result = { - tasks: tasksJson, - projects: projectNames, - projectGraph: serializeProjectGraph(projectGraph), - }; - if (nxArgs.select) { - console.log(selectPrintAffected(result, nxArgs.select)); - } else { - console.log(JSON.stringify(selectPrintAffected(result, null), null, 2)); - } -} - -async function createTasks( - affectedProjectsWithTargetAndConfig: ProjectGraphProjectNode[], - projectGraph: ProjectGraph, - nxArgs: NxArgs, - nxJson: NxJsonConfiguration, - overrides: yargs.Arguments -) { - const defaultDependencyConfigs = mapTargetDefaultsToDependencies( - nxJson.targetDefaults - ); - const taskGraph = createTaskGraph( - projectGraph, - defaultDependencyConfigs, - affectedProjectsWithTargetAndConfig.map((p) => p.name), - nxArgs.targets, - nxArgs.configuration, - overrides - ); - - let hasher: TaskHasher; - if (daemonClient.enabled()) { - hasher = new DaemonBasedTaskHasher(daemonClient, {}); - } else { - const { fileMap, allWorkspaceFiles, rustReferences } = getFileMap(); - hasher = new InProcessTaskHasher( - fileMap?.projectFileMap, - allWorkspaceFiles, - projectGraph, - nxJson, - rustReferences, - {} - ); - } - - const execCommand = getPackageManagerCommand().exec; - const tasks = Object.values(taskGraph.tasks); - - await Promise.all( - tasks.map((t) => - hashTask( - hasher, - projectGraph, - taskGraph, - t, - // This loads dotenv files for the task - getTaskSpecificEnv(t) - ) - ) - ); - - return tasks.map((task) => ({ - id: task.id, - overrides, - target: task.target, - hash: task.hash, - command: getCommandAsString(execCommand, task), - outputs: task.outputs, - })); -} - -function serializeProjectGraph(projectGraph: ProjectGraph) { - const nodes = Object.values(projectGraph.nodes).map((n) => n.name); - const dependencies = {}; - // we don't need external dependencies' dependencies for print-affected - // having them included makes the output unreadable - Object.keys(projectGraph.dependencies).forEach((key) => { - if (!key.startsWith('npm:')) { - dependencies[key] = projectGraph.dependencies[key]; - } - }); - return { nodes, dependencies }; -} - -export function selectPrintAffected(wholeJson: any, wholeSelect: string) { - if (!wholeSelect) return wholeJson; - return _select(wholeJson, wholeSelect); - - function _select(json: any, select: string) { - if (select.indexOf('.') > -1) { - const [firstKey, ...restKeys] = select.split('.'); - const first = json[firstKey]; - throwIfEmpty(wholeSelect, first); - const rest = restKeys.join('.'); - - if (Array.isArray(first)) { - return first.map((q) => _select(q, rest)).join(', '); - } else { - return _select(first, rest); - } - } else { - const res = json[select]; - throwIfEmpty(wholeSelect, res); - if (Array.isArray(res)) { - return res.join(', '); - } else { - return res; - } - } - } -} - -function throwIfEmpty(select: string, value: any) { - if (value === undefined) { - throw new Error( - `Cannot select '${select}' in the results of print-affected.` - ); - } -} diff --git a/packages/nx/src/command-line/graph/graph.ts b/packages/nx/src/command-line/graph/graph.ts index fa440bb05dda8c..417348178a15bd 100644 --- a/packages/nx/src/command-line/graph/graph.ts +++ b/packages/nx/src/command-line/graph/graph.ts @@ -474,7 +474,7 @@ export async function generateGraph( '- affectedProjects', '- criticalPath', '', - 'These fields will be removed in Nx 19. If you need to see which projects were affected, use `nx show projects --affected`.', + 'These fields will be removed in Nx 20. If you need to see which projects were affected, use `nx show projects --affected`.', ], }); @@ -1137,12 +1137,12 @@ interface GraphJsonResponse { graph: ProjectGraph; /** - * @deprecated To see affected projects, use `nx show projects --affected`. This will be removed in Nx 19. + * @deprecated To see affected projects, use `nx show projects --affected`. This will be removed in Nx 20. */ affectedProjects?: string[]; /** - * @deprecated To see affected projects, use `nx show projects --affected`. This will be removed in Nx 19. + * @deprecated To see affected projects, use `nx show projects --affected`. This will be removed in Nx 20. */ criticalPath?: string[]; } diff --git a/packages/nx/src/command-line/nx-commands.ts b/packages/nx/src/command-line/nx-commands.ts index 2fec55f99b9edb..7219a1b37fc821 100644 --- a/packages/nx/src/command-line/nx-commands.ts +++ b/packages/nx/src/command-line/nx-commands.ts @@ -5,10 +5,8 @@ import { yargsAffectedBuildCommand, yargsAffectedCommand, yargsAffectedE2ECommand, - yargsAffectedGraphCommand, yargsAffectedLintCommand, yargsAffectedTestCommand, - yargsPrintAffectedCommand, } from './affected/command-object'; import { yargsConnectCommand, @@ -61,7 +59,6 @@ export const commandsObject = yargs .command(yargsAffectedBuildCommand) .command(yargsAffectedCommand) .command(yargsAffectedE2ECommand) - .command(yargsAffectedGraphCommand) .command(yargsAffectedLintCommand) .command(yargsAffectedTestCommand) .command(yargsConnectCommand) @@ -76,7 +73,6 @@ export const commandsObject = yargs .command(yargsListCommand) .command(yargsMigrateCommand) .command(yargsNewCommand) - .command(yargsPrintAffectedCommand) .command(yargsReleaseCommand) .command(yargsRepairCommand) .command(yargsReportCommand) diff --git a/packages/nx/src/config/project-graph.ts b/packages/nx/src/config/project-graph.ts index 6c9772a7a3988b..58a8ad42388c97 100644 --- a/packages/nx/src/config/project-graph.ts +++ b/packages/nx/src/config/project-graph.ts @@ -145,7 +145,7 @@ export interface ProjectGraphDependency { /** * Additional information to be used to process a project graph - * @deprecated The {@link ProjectGraphProcessor} is deprecated. This will be removed in Nx 19. + * @deprecated The {@link ProjectGraphProcessor} is deprecated. This will be removed in Nx 20. */ export interface ProjectGraphProcessorContext { /** @@ -171,7 +171,7 @@ export interface ProjectGraphProcessorContext { /** * A function that produces an updated ProjectGraph - * @deprecated Use {@link CreateNodes} and {@link CreateDependencies} instead. This will be removed in Nx 19. + * @deprecated Use {@link CreateNodes} and {@link CreateDependencies} instead. This will be removed in Nx 20. */ export type ProjectGraphProcessor = ( currentGraph: ProjectGraph, diff --git a/packages/nx/src/native/tasks/hashers/hash_workspace_files.rs b/packages/nx/src/native/tasks/hashers/hash_workspace_files.rs index b572b34cbeb319..f32ef0b727ac01 100644 --- a/packages/nx/src/native/tasks/hashers/hash_workspace_files.rs +++ b/packages/nx/src/native/tasks/hashers/hash_workspace_files.rs @@ -16,7 +16,7 @@ pub fn hash_workspace_files( let Some(file_set) = file_set else { warn!( - "{workspace_file_set} does not start with {}. This will throw an error in Nx 19.", + "{workspace_file_set} does not start with {}. This will throw an error in Nx 20.", "{workspaceRoot}/" ); return Ok(hash(b"")); diff --git a/packages/nx/src/plugins/js/project-graph/build-dependencies/strip-source-code.ts b/packages/nx/src/plugins/js/project-graph/build-dependencies/strip-source-code.ts index 128e477362ec42..2aed1642f2c6d7 100644 --- a/packages/nx/src/plugins/js/project-graph/build-dependencies/strip-source-code.ts +++ b/packages/nx/src/plugins/js/project-graph/build-dependencies/strip-source-code.ts @@ -3,7 +3,7 @@ import type { Scanner } from 'typescript'; let SyntaxKind: typeof import('typescript').SyntaxKind; /** - * @deprecated This is deprecated and will be removed in Nx 19. + * @deprecated This is deprecated and will be removed in Nx 20. * This was not intended to be exposed. * Please talk to us if you need this. */ diff --git a/packages/nx/src/plugins/js/project-graph/build-dependencies/typescript-import-locator.ts b/packages/nx/src/plugins/js/project-graph/build-dependencies/typescript-import-locator.ts index ed119689796c97..44333eaa0a3291 100644 --- a/packages/nx/src/plugins/js/project-graph/build-dependencies/typescript-import-locator.ts +++ b/packages/nx/src/plugins/js/project-graph/build-dependencies/typescript-import-locator.ts @@ -14,7 +14,7 @@ import { stripSourceCode } from './strip-source-code'; let tsModule: typeof import('typescript'); /** - * @deprecated This is deprecated and will be removed in Nx 19. + * @deprecated This is deprecated and will be removed in Nx 20. * This was not intended to be exposed. * Please talk to us if you need this. */ diff --git a/packages/nx/src/project-graph/project-graph-builder.ts b/packages/nx/src/project-graph/project-graph-builder.ts index d136c4f1064baf..3c19dc95069e67 100644 --- a/packages/nx/src/project-graph/project-graph-builder.ts +++ b/packages/nx/src/project-graph/project-graph-builder.ts @@ -20,7 +20,7 @@ import { getFileMap } from './build-project-graph'; /** * A class which builds up a project graph - * @deprecated The {@link ProjectGraphProcessor} has been deprecated. Use a {@link CreateNodes} and/or a {@link CreateDependencies} instead. This will be removed in Nx 19. + * @deprecated The {@link ProjectGraphProcessor} has been deprecated. Use a {@link CreateNodes} and/or a {@link CreateDependencies} instead. This will be removed in Nx 20. */ export class ProjectGraphBuilder { // TODO(FrozenPandaz): make this private diff --git a/packages/nx/src/tasks-runner/init-tasks-runner.ts b/packages/nx/src/tasks-runner/init-tasks-runner.ts index db849980beb626..6fcdddfabc0e88 100644 --- a/packages/nx/src/tasks-runner/init-tasks-runner.ts +++ b/packages/nx/src/tasks-runner/init-tasks-runner.ts @@ -25,7 +25,7 @@ export async function initTasksRunner(nxArgs: NxArgs) { }): Promise<{ status: number; taskGraph: TaskGraph }> => { performance.mark('code-loading:end'); - // TODO: This polyfills the outputs if someone doesn't pass a task with outputs. Remove this in Nx 19 + // TODO: This polyfills the outputs if someone doesn't pass a task with outputs. Remove this in Nx 20 opts.tasks.forEach((t) => { if (!t.outputs) { t.outputs = getOutputs(projectGraph.nodes, t.target, t.overrides); diff --git a/packages/nx/src/tasks-runner/utils.ts b/packages/nx/src/tasks-runner/utils.ts index ad3a0b802b9f56..20ff14cf761672 100644 --- a/packages/nx/src/tasks-runner/utils.ts +++ b/packages/nx/src/tasks-runner/utils.ts @@ -174,7 +174,7 @@ export function transformLegacyOutputs( } /** - * @deprecated Pass the target and overrides instead. This will be removed in v19. + * @deprecated Pass the target and overrides instead. This will be removed in v20. */ export function getOutputsForTargetAndConfiguration( task: Task, diff --git a/packages/nx/src/utils/nx-plugin.deprecated.ts b/packages/nx/src/utils/nx-plugin.deprecated.ts index 4a030fc2c3bf68..c04a9ff770486e 100644 --- a/packages/nx/src/utils/nx-plugin.deprecated.ts +++ b/packages/nx/src/utils/nx-plugin.deprecated.ts @@ -7,31 +7,31 @@ import * as PackageJsonWorkspacesPlugin from '../plugins/package-json-workspaces import { NxPluginV2 } from '../project-graph/plugins'; /** - * @deprecated Add targets to the projects in a {@link CreateNodes} function instead. This will be removed in Nx 19 + * @deprecated Add targets to the projects in a {@link CreateNodes} function instead. This will be removed in Nx 20 */ export type ProjectTargetConfigurator = ( file: string ) => Record; /** - * @deprecated Use {@link NxPluginV2} instead. This will be removed in Nx 19 + * @deprecated Use {@link NxPluginV2} instead. This will be removed in Nx 20 */ export type NxPluginV1 = { name: string; /** - * @deprecated Use {@link CreateNodes} and {@link CreateDependencies} instead. This will be removed in Nx 19 + * @deprecated Use {@link CreateNodes} and {@link CreateDependencies} instead. This will be removed in Nx 20 */ processProjectGraph?: ProjectGraphProcessor; /** - * @deprecated Add targets to the projects inside of {@link CreateNodes} instead. This will be removed in Nx 19 + * @deprecated Add targets to the projects inside of {@link CreateNodes} instead. This will be removed in Nx 20 */ registerProjectTargets?: ProjectTargetConfigurator; /** * A glob pattern to search for non-standard project files. * @example: ["*.csproj", "pom.xml"] - * @deprecated Use {@link CreateNodes} instead. This will be removed in Nx 19 + * @deprecated Use {@link CreateNodes} instead. This will be removed in Nx 20 */ projectFilePatterns?: string[]; }; diff --git a/packages/plugin/src/generators/executor/schema.d.ts b/packages/plugin/src/generators/executor/schema.d.ts index 51af74fe4f9bab..fe7bc095bc7c7e 100644 --- a/packages/plugin/src/generators/executor/schema.d.ts +++ b/packages/plugin/src/generators/executor/schema.d.ts @@ -11,7 +11,7 @@ export interface Schema { skipFormat?: boolean; /** - * @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v20. */ project?: string; } diff --git a/packages/plugin/src/generators/executor/schema.json b/packages/plugin/src/generators/executor/schema.json index 4a598499af9e63..28429d71eadb63 100644 --- a/packages/plugin/src/generators/executor/schema.json +++ b/packages/plugin/src/generators/executor/schema.json @@ -62,7 +62,7 @@ "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "skipFormat": { "type": "boolean", diff --git a/packages/plugin/src/generators/generator/schema.d.ts b/packages/plugin/src/generators/generator/schema.d.ts index fc88a1906baf73..b9f9b6b39e60d7 100644 --- a/packages/plugin/src/generators/generator/schema.d.ts +++ b/packages/plugin/src/generators/generator/schema.d.ts @@ -10,7 +10,7 @@ export interface Schema { nameAndDirectoryFormat?: NameAndDirectoryFormat; /** - * @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v20. */ project?: string; } diff --git a/packages/plugin/src/generators/generator/schema.json b/packages/plugin/src/generators/generator/schema.json index a93943342b4c3e..ed8dbc2512308a 100644 --- a/packages/plugin/src/generators/generator/schema.json +++ b/packages/plugin/src/generators/generator/schema.json @@ -51,7 +51,7 @@ "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "skipFormat": { "type": "boolean", diff --git a/packages/plugin/src/generators/migration/schema.d.ts b/packages/plugin/src/generators/migration/schema.d.ts index 60935922879f66..a762bb8df209e0 100644 --- a/packages/plugin/src/generators/migration/schema.d.ts +++ b/packages/plugin/src/generators/migration/schema.d.ts @@ -10,7 +10,7 @@ export interface Schema { nameAndDirectoryFormat?: NameAndDirectoryFormat; /** - * @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v20. */ project?: string; } diff --git a/packages/plugin/src/generators/migration/schema.json b/packages/plugin/src/generators/migration/schema.json index 683d8e6a79951e..b9ffb19605272e 100644 --- a/packages/plugin/src/generators/migration/schema.json +++ b/packages/plugin/src/generators/migration/schema.json @@ -44,7 +44,7 @@ "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "packageJsonUpdates": { "type": "boolean", diff --git a/packages/react-native/src/executors/ensure-symlink/ensure-symlink.impl.ts b/packages/react-native/src/executors/ensure-symlink/ensure-symlink.impl.ts index c7661f0f427b3d..1cfb3f168c6b7b 100644 --- a/packages/react-native/src/executors/ensure-symlink/ensure-symlink.impl.ts +++ b/packages/react-native/src/executors/ensure-symlink/ensure-symlink.impl.ts @@ -6,7 +6,7 @@ export interface ReactNativeEnsureSymlinkOutput { } /** - * TODO (@xiongemi): remove this function in v19. + * TODO (@xiongemi): remove this function in v20. * @deprecated It is no longer needed for react native 73. */ export default async function* ensureSymlinkExecutor( diff --git a/packages/react-native/src/executors/storybook/storybook.impl.ts b/packages/react-native/src/executors/storybook/storybook.impl.ts index 808ae5bbe3279c..1c9a7191c53fd1 100644 --- a/packages/react-native/src/executors/storybook/storybook.impl.ts +++ b/packages/react-native/src/executors/storybook/storybook.impl.ts @@ -13,7 +13,7 @@ import { writeFileSync } from 'fs-extra'; import { PackageJson } from 'nx/src/utils/package-json'; /** - * TODO (@xiongemi): remove this function in v19. + * TODO (@xiongemi): remove this function in v20. * @deprecated Going to use the default react storybook target. Use @nx/react:storybook executor instead. */ export default async function* reactNativeStorybookExecutor( diff --git a/packages/react-native/src/generators/component/schema.d.ts b/packages/react-native/src/generators/component/schema.d.ts index 6fc205f6b1c330..adcf74d99c9ed4 100644 --- a/packages/react-native/src/generators/component/schema.d.ts +++ b/packages/react-native/src/generators/component/schema.d.ts @@ -4,7 +4,7 @@ export interface Schema { name: string; /** - * @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20. */ project: string; skipTests?: boolean; diff --git a/packages/react-native/src/generators/component/schema.json b/packages/react-native/src/generators/component/schema.json index 6688d980d7ce3f..fec5a8a2f679a7 100644 --- a/packages/react-native/src/generators/component/schema.json +++ b/packages/react-native/src/generators/component/schema.json @@ -23,7 +23,7 @@ "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "name": { "type": "string", diff --git a/packages/react/src/generators/component/schema.d.ts b/packages/react/src/generators/component/schema.d.ts index f13493cef3107e..7eca2bbbf47a48 100644 --- a/packages/react/src/generators/component/schema.d.ts +++ b/packages/react/src/generators/component/schema.d.ts @@ -3,7 +3,7 @@ import { SupportedStyles } from '../../../typings/style'; export interface Schema { name: string; /** - * @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20. */ project?: string; style: SupportedStyles; diff --git a/packages/react/src/generators/component/schema.json b/packages/react/src/generators/component/schema.json index 11ef1ba471fc59..b507e4266123a2 100644 --- a/packages/react/src/generators/component/schema.json +++ b/packages/react/src/generators/component/schema.json @@ -13,7 +13,7 @@ "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "name": { "type": "string", diff --git a/packages/react/src/generators/hook/schema.d.ts b/packages/react/src/generators/hook/schema.d.ts index c857d6ae742ed6..6be37c192f9ea8 100644 --- a/packages/react/src/generators/hook/schema.d.ts +++ b/packages/react/src/generators/hook/schema.d.ts @@ -1,7 +1,7 @@ export interface Schema { name: string; /** - * @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20. */ project: string; skipTests?: boolean; diff --git a/packages/react/src/generators/hook/schema.json b/packages/react/src/generators/hook/schema.json index a0c5901aeb49c6..f982642b92e294 100644 --- a/packages/react/src/generators/hook/schema.json +++ b/packages/react/src/generators/hook/schema.json @@ -19,7 +19,7 @@ "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "name": { "type": "string", @@ -56,7 +56,7 @@ "type": "boolean", "description": "Create hook at the source root rather than its own directory.", "default": false, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "export": { "type": "boolean", diff --git a/packages/react/src/generators/redux/schema.d.ts b/packages/react/src/generators/redux/schema.d.ts index 7852968726bc54..fc8b149dd3adc7 100644 --- a/packages/react/src/generators/redux/schema.d.ts +++ b/packages/react/src/generators/redux/schema.d.ts @@ -1,7 +1,7 @@ export interface Schema { name: string; /** - * @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20. */ project?: string; directory?: string; diff --git a/packages/react/src/generators/redux/schema.json b/packages/react/src/generators/redux/schema.json index aec773e83231f8..bad7e07e9ad438 100644 --- a/packages/react/src/generators/redux/schema.json +++ b/packages/react/src/generators/redux/schema.json @@ -22,7 +22,7 @@ "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "directory": { "type": "string", diff --git a/packages/react/src/generators/storybook-configuration/schema.json b/packages/react/src/generators/storybook-configuration/schema.json index cb6695fc3f1bd6..e9c333117bb90d 100644 --- a/packages/react/src/generators/storybook-configuration/schema.json +++ b/packages/react/src/generators/storybook-configuration/schema.json @@ -29,7 +29,7 @@ "configureCypress": { "type": "boolean", "description": "Run the cypress-configure generator.", - "x-deprecated": "Use interactionTests instead. This option will be removed in v19." + "x-deprecated": "Use interactionTests instead. This option will be removed in v20." }, "generateStories": { "type": "boolean", @@ -41,7 +41,7 @@ "generateCypressSpecs": { "type": "boolean", "description": "Automatically generate test files in the Cypress E2E app generated by the `cypress-configure` generator.", - "x-deprecated": "Use interactionTests instead. This option will be removed in v19." + "x-deprecated": "Use interactionTests instead. This option will be removed in v20." }, "configureStaticServe": { "type": "boolean", @@ -53,7 +53,7 @@ "cypressDirectory": { "type": "string", "description": "A directory where the Cypress project will be placed. Placed at the root by default.", - "x-deprecated": "Use interactionTests instead. This option will be removed in v19." + "x-deprecated": "Use interactionTests instead. This option will be removed in v20." }, "js": { "type": "boolean", diff --git a/packages/remix/src/generators/action/schema.d.ts b/packages/remix/src/generators/action/schema.d.ts index 592d42f708d5e9..509cf02cc96680 100644 --- a/packages/remix/src/generators/action/schema.d.ts +++ b/packages/remix/src/generators/action/schema.d.ts @@ -4,7 +4,7 @@ export interface LoaderSchema { path: string; nameAndDirectoryFormat?: NameAndDirectoryFormat; /** - * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19. + * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v20. */ project?: string; } diff --git a/packages/remix/src/generators/action/schema.json b/packages/remix/src/generators/action/schema.json index 30efa8c45ec33d..80c9e406c82f00 100644 --- a/packages/remix/src/generators/action/schema.json +++ b/packages/remix/src/generators/action/schema.json @@ -22,7 +22,7 @@ "type": "string", "description": "The name of the project.", "pattern": "^[a-zA-Z].*$", - "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v20." } }, "required": ["path"] diff --git a/packages/remix/src/generators/error-boundary/schema.d.ts b/packages/remix/src/generators/error-boundary/schema.d.ts index e9516147a56554..32b7b6215c2b24 100644 --- a/packages/remix/src/generators/error-boundary/schema.d.ts +++ b/packages/remix/src/generators/error-boundary/schema.d.ts @@ -5,7 +5,7 @@ export interface ErrorBoundarySchema { skipFormat?: false; nameAndDirectoryFormat?: NameAndDirectoryFormat; /** - * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19. + * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v20. */ project?: string; } diff --git a/packages/remix/src/generators/error-boundary/schema.json b/packages/remix/src/generators/error-boundary/schema.json index c0049aeae341aa..ef6485c74e9b9e 100644 --- a/packages/remix/src/generators/error-boundary/schema.json +++ b/packages/remix/src/generators/error-boundary/schema.json @@ -24,7 +24,7 @@ "type": "string", "description": "The name of the project.", "pattern": "^[a-zA-Z].*$", - "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v20." }, "skipFormat": { "type": "boolean", diff --git a/packages/remix/src/generators/loader/schema.d.ts b/packages/remix/src/generators/loader/schema.d.ts index 592d42f708d5e9..509cf02cc96680 100644 --- a/packages/remix/src/generators/loader/schema.d.ts +++ b/packages/remix/src/generators/loader/schema.d.ts @@ -4,7 +4,7 @@ export interface LoaderSchema { path: string; nameAndDirectoryFormat?: NameAndDirectoryFormat; /** - * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19. + * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v20. */ project?: string; } diff --git a/packages/remix/src/generators/loader/schema.json b/packages/remix/src/generators/loader/schema.json index 90de328524eaa1..8f9ad6e85a5005 100644 --- a/packages/remix/src/generators/loader/schema.json +++ b/packages/remix/src/generators/loader/schema.json @@ -22,7 +22,7 @@ "type": "string", "description": "The name of the project.", "pattern": "^[a-zA-Z].*$", - "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v20." } }, "required": ["path"] diff --git a/packages/remix/src/generators/meta/schema.d.ts b/packages/remix/src/generators/meta/schema.d.ts index f1d60f0ec75625..264ceadcfa382d 100644 --- a/packages/remix/src/generators/meta/schema.d.ts +++ b/packages/remix/src/generators/meta/schema.d.ts @@ -4,7 +4,7 @@ export interface MetaSchema { path: string; nameAndDirectoryFormat?: NameAndDirectoryFormat; /** - * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19. + * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v20. */ project?: string; } diff --git a/packages/remix/src/generators/meta/schema.json b/packages/remix/src/generators/meta/schema.json index 9e6b3e3916b25c..d60855dbd20dcb 100644 --- a/packages/remix/src/generators/meta/schema.json +++ b/packages/remix/src/generators/meta/schema.json @@ -22,7 +22,7 @@ "type": "string", "description": "The name of the project.", "pattern": "^[a-zA-Z].*$", - "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v20." } }, "required": ["path"] diff --git a/packages/remix/src/generators/resource-route/schema.d.ts b/packages/remix/src/generators/resource-route/schema.d.ts index c26cc7ffa8be2e..33fa9cfae7bfb5 100644 --- a/packages/remix/src/generators/resource-route/schema.d.ts +++ b/packages/remix/src/generators/resource-route/schema.d.ts @@ -7,7 +7,7 @@ export interface RemixRouteSchema { loader: boolean; skipChecks: boolean; /** - * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19. + * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v20. */ project?: string; } diff --git a/packages/remix/src/generators/resource-route/schema.json b/packages/remix/src/generators/resource-route/schema.json index a9435772c12787..562035e307e2bf 100644 --- a/packages/remix/src/generators/resource-route/schema.json +++ b/packages/remix/src/generators/resource-route/schema.json @@ -29,7 +29,7 @@ "type": "string", "description": "The name of the project.", "pattern": "^[a-zA-Z].*$", - "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v20." }, "action": { "type": "boolean", diff --git a/packages/remix/src/generators/route/schema.d.ts b/packages/remix/src/generators/route/schema.d.ts index ca8b81dce28921..32f634a68fd5c5 100644 --- a/packages/remix/src/generators/route/schema.d.ts +++ b/packages/remix/src/generators/route/schema.d.ts @@ -9,7 +9,7 @@ export interface RemixRouteSchema { loader: boolean; skipChecks: boolean; /** - * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19. + * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v20. */ project?: string; } diff --git a/packages/remix/src/generators/route/schema.json b/packages/remix/src/generators/route/schema.json index 4c967eb7db48b4..6af2b5728ab798 100644 --- a/packages/remix/src/generators/route/schema.json +++ b/packages/remix/src/generators/route/schema.json @@ -29,7 +29,7 @@ "type": "string", "description": "The name of the project.", "pattern": "^[a-zA-Z].*$", - "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v20." }, "style": { "type": "string", diff --git a/packages/remix/src/generators/style/schema.d.ts b/packages/remix/src/generators/style/schema.d.ts index 940f8686e14c46..af8f9d8f29c0d2 100644 --- a/packages/remix/src/generators/style/schema.d.ts +++ b/packages/remix/src/generators/style/schema.d.ts @@ -4,7 +4,7 @@ export interface RemixStyleSchema { path: string; nameAndDirectoryFormat?: NameAndDirectoryFormat; /** - * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19. + * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v20. */ project?: string; } diff --git a/packages/remix/src/generators/style/schema.json b/packages/remix/src/generators/style/schema.json index fe449dce402475..3d5e1fbe4a8c5c 100644 --- a/packages/remix/src/generators/style/schema.json +++ b/packages/remix/src/generators/style/schema.json @@ -29,7 +29,7 @@ "type": "string", "description": "The name of the project.", "pattern": "^[a-zA-Z].*$", - "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v20." } }, "required": ["path"] diff --git a/packages/storybook/src/generators/configuration/schema.d.ts b/packages/storybook/src/generators/configuration/schema.d.ts index cc42b504cdcfa5..36ee68eb2ec41f 100644 --- a/packages/storybook/src/generators/configuration/schema.d.ts +++ b/packages/storybook/src/generators/configuration/schema.d.ts @@ -12,11 +12,11 @@ export interface StorybookConfigureSchema { configureStaticServe?: boolean; skipFormat?: boolean; /** - * @deprecated Use interactionTests instead. This option will be removed in v19. + * @deprecated Use interactionTests instead. This option will be removed in v20. */ configureCypress?: boolean; /** - * @deprecated Use interactionTests instead. This option will be removed in v19. + * @deprecated Use interactionTests instead. This option will be removed in v20. */ cypressDirectory?: string; addPlugin?: boolean; diff --git a/packages/storybook/src/generators/configuration/schema.json b/packages/storybook/src/generators/configuration/schema.json index d0a25baca8296a..f6e8ade2814050 100644 --- a/packages/storybook/src/generators/configuration/schema.json +++ b/packages/storybook/src/generators/configuration/schema.json @@ -28,12 +28,12 @@ "configureCypress": { "type": "boolean", "description": "Run the cypress-configure generator.", - "x-deprecated": "Use interactionTests instead. This option will be removed in v19." + "x-deprecated": "Use interactionTests instead. This option will be removed in v20." }, "cypressDirectory": { "type": "string", "description": "A directory where the Cypress project will be placed. Added at root by default.", - "x-deprecated": "Use interactionTests instead. This option will be removed in v19." + "x-deprecated": "Use interactionTests instead. This option will be removed in v20." }, "linter": { "description": "The tool to use for running lint checks.", diff --git a/packages/vue/src/generators/component/schema.d.ts b/packages/vue/src/generators/component/schema.d.ts index ff584f0f620188..15849da1ac0f3c 100644 --- a/packages/vue/src/generators/component/schema.d.ts +++ b/packages/vue/src/generators/component/schema.d.ts @@ -11,19 +11,19 @@ export interface ComponentGeneratorSchema { nameAndDirectoryFormat?: 'as-provided' | 'derived'; /** - * @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20. */ flat?: boolean; /** - * @deprecated Provide the desired `directory` option instead and use the `as-provided` format. It will be removed in Nx v19. + * @deprecated Provide the desired `directory` option instead and use the `as-provided` format. It will be removed in Nx v20. */ pascalCaseDirectory?: boolean; /** - * @deprecated Provide the desired `name` option instead and use the `as-provided` format. It will be removed in Nx v19. + * @deprecated Provide the desired `name` option instead and use the `as-provided` format. It will be removed in Nx v20. */ pascalCaseFiles?: boolean; /** - * @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v19. + * @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v20. */ project?: string; } diff --git a/packages/vue/src/generators/component/schema.json b/packages/vue/src/generators/component/schema.json index 371978a2f5e53d..7b7cfc33de36de 100644 --- a/packages/vue/src/generators/component/schema.json +++ b/packages/vue/src/generators/component/schema.json @@ -19,7 +19,7 @@ "$default": { "$source": "projectName" }, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "name": { "type": "string", @@ -57,7 +57,7 @@ "type": "boolean", "description": "Create component at the source root rather than its own directory.", "default": false, - "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "export": { "type": "boolean", @@ -71,14 +71,14 @@ "description": "Use pascal case component file name (e.g. `App.tsx`).", "alias": "P", "default": false, - "x-deprecated": "Provide the desired `name` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the desired `name` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "pascalCaseDirectory": { "type": "boolean", "description": "Use pascal case directory name (e.g. `App/App.tsx`).", "alias": "R", "default": false, - "x-deprecated": "Provide the desired `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." + "x-deprecated": "Provide the desired `directory` option instead and use the `as-provided` format. It will be removed in Nx v20." }, "routing": { "type": "boolean", diff --git a/packages/webpack/src/executors/webpack/schema.json b/packages/webpack/src/executors/webpack/schema.json index dc575323f90b25..ec76624b4f2fd6 100644 --- a/packages/webpack/src/executors/webpack/schema.json +++ b/packages/webpack/src/executors/webpack/schema.json @@ -235,7 +235,7 @@ "type": "boolean", "description": "Do not apply Nx webpack plugins automatically. Plugins need to be applied in the project's webpack.config.js file (e.g. withNx, withReact, etc.).", "default": true, - "x-deprecated": "Automatic configuration of Webpack is deprecated in favor of an explicit 'webpack.config.js' file. This option will be removed in Nx 19. See https://nx.dev/recipes/webpack/webpack-config-setup." + "x-deprecated": "Automatic configuration of Webpack is deprecated in favor of an explicit 'webpack.config.js' file. This option will be removed in Nx 20. See https://nx.dev/recipes/webpack/webpack-config-setup." }, "standardWebpackConfigFunction": { "type": "boolean", diff --git a/packages/webpack/src/utils/webpack/deprecated-stylus-loader.ts b/packages/webpack/src/utils/webpack/deprecated-stylus-loader.ts index 76b64b95f22ec7..f1ed830c4cb05f 100644 --- a/packages/webpack/src/utils/webpack/deprecated-stylus-loader.ts +++ b/packages/webpack/src/utils/webpack/deprecated-stylus-loader.ts @@ -4,7 +4,7 @@ import * as stylusLoader from 'stylus-loader'; // TOOD(v19): Remove this file and stylus support. export default function (source: string): string { logger.warn( - `Stylus is support is deprecated and will be removed in Nx 19. We recommend that you migrate to Sass by renaming \`.styl\` files to \`.scss\` and ensuring that the content is valid Sass.` + `Stylus is support is deprecated and will be removed in Nx 20. We recommend that you migrate to Sass by renaming \`.styl\` files to \`.scss\` and ensuring that the content is valid Sass.` ); return stylusLoader.call(this, source); } diff --git a/packages/workspace/src/generators/move/lib/normalize-schema.ts b/packages/workspace/src/generators/move/lib/normalize-schema.ts index 18c20749edf4a5..c40c8eff03809e 100644 --- a/packages/workspace/src/generators/move/lib/normalize-schema.ts +++ b/packages/workspace/src/generators/move/lib/normalize-schema.ts @@ -240,7 +240,7 @@ function logDeprecationMessage( logger.warn( stripIndents` - In Nx 19, the project name and destination will no longer be derived. + In Nx 20, the project name and destination will no longer be derived. Please provide the exact new project name and destination in the future. Example: nx g ${callingGenerator} --projectName ${options.projectName} --destination ${formats['derived'].destination}` + (options.projectName !== formats['derived'].newProjectName