diff --git a/docs/changelog/17_0_0.md b/docs/changelog/17_0_0.md index ef89492afd..5831b8aab0 100644 --- a/docs/changelog/17_0_0.md +++ b/docs/changelog/17_0_0.md @@ -22,7 +22,7 @@ title="Nx 17.0 Has Landed!!!" Use [the `nx migrate` command](/features/automate-updating-dependencies) to automatically account for these breaking changes. {% cards cols="2" %} -{% card title="Rename @nx/linter to @nx/eslint" type="document" url="/recipes/other/rescope#rename" /%} +{% card title="Rename @nx/linter to @nx/eslint" type="document" url="/deprecated/rescope#rename" /%} {% card title="Removed workspace generator command" type="external" url="https://github.com/nrwl/nx/pull/19541" /%} {% card title="Removed workspace-lint command" type="external" url="https://github.com/nrwl/nx/pull/16212" /%} {% card title="Removed defaultCollection property" type="external" url="https://github.com/nrwl/nx/pull/19708" /%} diff --git a/docs/generated/manifests/menus.json b/docs/generated/manifests/menus.json index c749b699c4..a1ed7ec676 100644 --- a/docs/generated/manifests/menus.json +++ b/docs/generated/manifests/menus.json @@ -2166,23 +2166,6 @@ } ], "disableCollapsible": false - }, - { - "name": "Other", - "path": "/recipes/other", - "id": "other", - "isExternal": false, - "children": [ - { - "name": "Rescope Packages from @nrwl to @nx", - "path": "/recipes/other/rescope", - "id": "rescope", - "isExternal": false, - "children": [], - "disableCollapsible": false - } - ], - "disableCollapsible": false } ], "disableCollapsible": false @@ -4054,31 +4037,6 @@ "children": [], "disableCollapsible": false }, - { - "name": "Other", - "path": "/recipes/other", - "id": "other", - "isExternal": false, - "children": [ - { - "name": "Rescope Packages from @nrwl to @nx", - "path": "/recipes/other/rescope", - "id": "rescope", - "isExternal": false, - "children": [], - "disableCollapsible": false - } - ], - "disableCollapsible": false - }, - { - "name": "Rescope Packages from @nrwl to @nx", - "path": "/recipes/other/rescope", - "id": "rescope", - "isExternal": false, - "children": [], - "disableCollapsible": false - }, { "name": "Showcase", "path": "/showcase", @@ -4939,6 +4897,14 @@ "isExternal": false, "children": [], "disableCollapsible": false + }, + { + "name": "Rescope Packages from @nrwl to @nx", + "path": "/deprecated/rescope", + "id": "rescope", + "isExternal": false, + "children": [], + "disableCollapsible": false } ], "disableCollapsible": false @@ -5047,6 +5013,14 @@ "children": [], "disableCollapsible": false }, + { + "name": "Rescope Packages from @nrwl to @nx", + "path": "/deprecated/rescope", + "id": "rescope", + "isExternal": false, + "children": [], + "disableCollapsible": false + }, { "name": "See Also", "path": "/see-also", @@ -10123,14 +10097,6 @@ "isExternal": false, "disableCollapsible": false }, - { - "id": "tao", - "path": "/nx-api/tao", - "name": "tao", - "children": [], - "isExternal": false, - "disableCollapsible": false - }, { "id": "vite", "path": "/nx-api/vite", diff --git a/docs/generated/manifests/nx-api.json b/docs/generated/manifests/nx-api.json index 5f346a8ff1..0027579936 100644 --- a/docs/generated/manifests/nx-api.json +++ b/docs/generated/manifests/nx-api.json @@ -3113,18 +3113,6 @@ }, "path": "/nx-api/storybook" }, - "tao": { - "githubRoot": "https://github.com/nrwl/nx/blob/master", - "name": "tao", - "packageName": "@nrwl/tao", - "description": "CLI for generating code and running commands", - "documents": {}, - "root": "/packages/tao", - "source": "/packages/tao/src", - "executors": {}, - "generators": {}, - "path": "/nx-api/tao" - }, "vite": { "githubRoot": "https://github.com/nrwl/nx/blob/master", "name": "vite", diff --git a/docs/generated/manifests/nx.json b/docs/generated/manifests/nx.json index 53f6719004..dbe3d50412 100644 --- a/docs/generated/manifests/nx.json +++ b/docs/generated/manifests/nx.json @@ -2962,29 +2962,6 @@ "isExternal": false, "path": "/recipes/nx-release", "tags": [] - }, - { - "id": "other", - "name": "Other", - "description": "Other recipes you will find useful.", - "mediaImage": "", - "file": "", - "itemList": [ - { - "id": "rescope", - "name": "Rescope Packages from @nrwl to @nx", - "description": "", - "mediaImage": "", - "file": "shared/recipes/rescope", - "itemList": [], - "isExternal": false, - "path": "/recipes/other/rescope", - "tags": [] - } - ], - "isExternal": false, - "path": "/recipes/other", - "tags": [] } ], "isExternal": false, @@ -5551,40 +5528,6 @@ "path": "/recipes/nx-release/build-before-versioning", "tags": ["nx-release"] }, - "/recipes/other": { - "id": "other", - "name": "Other", - "description": "Other recipes you will find useful.", - "mediaImage": "", - "file": "", - "itemList": [ - { - "id": "rescope", - "name": "Rescope Packages from @nrwl to @nx", - "description": "", - "mediaImage": "", - "file": "shared/recipes/rescope", - "itemList": [], - "isExternal": false, - "path": "/recipes/other/rescope", - "tags": [] - } - ], - "isExternal": false, - "path": "/recipes/other", - "tags": [] - }, - "/recipes/other/rescope": { - "id": "rescope", - "name": "Rescope Packages from @nrwl to @nx", - "description": "", - "mediaImage": "", - "file": "shared/recipes/rescope", - "itemList": [], - "isExternal": false, - "path": "/recipes/other/rescope", - "tags": [] - }, "/showcase": { "id": "showcase", "name": "Showcase", @@ -6764,6 +6707,17 @@ "isExternal": false, "path": "/deprecated/v1-nx-plugin-api", "tags": [] + }, + { + "id": "rescope", + "name": "Rescope Packages from @nrwl to @nx", + "description": "", + "mediaImage": "", + "file": "shared/deprecated/rescope", + "itemList": [], + "isExternal": false, + "path": "/deprecated/rescope", + "tags": [] } ], "isExternal": false, @@ -6913,6 +6867,17 @@ "path": "/deprecated/v1-nx-plugin-api", "tags": [] }, + "/deprecated/rescope": { + "id": "rescope", + "name": "Rescope Packages from @nrwl to @nx", + "description": "", + "mediaImage": "", + "file": "shared/deprecated/rescope", + "itemList": [], + "isExternal": false, + "path": "/deprecated/rescope", + "tags": [] + }, "/see-also": { "id": "see-also", "name": "See Also", diff --git a/docs/generated/packages-metadata.json b/docs/generated/packages-metadata.json index b1c35172a3..4d47064750 100644 --- a/docs/generated/packages-metadata.json +++ b/docs/generated/packages-metadata.json @@ -3086,17 +3086,6 @@ "root": "/packages/storybook", "source": "/packages/storybook/src" }, - { - "description": "CLI for generating code and running commands", - "documents": [], - "executors": [], - "generators": [], - "githubRoot": "https://github.com/nrwl/nx/blob/master", - "name": "tao", - "packageName": "@nrwl/tao", - "root": "/packages/tao", - "source": "/packages/tao/src" - }, { "description": "The Nx Plugin for building and testing applications using Vite", "documents": [ diff --git a/docs/map.json b/docs/map.json index 6619d36284..5eaa8fa442 100644 --- a/docs/map.json +++ b/docs/map.json @@ -1121,19 +1121,6 @@ "file": "shared/recipes/nx-release/build-before-versioning" } ] - }, - { - "name": "Other", - "id": "other", - "description": "Other recipes you will find useful.", - "itemList": [ - { - "name": "Rescope Packages from @nrwl to @nx", - "id": "rescope", - "tags": [], - "file": "shared/recipes/rescope" - } - ] } ] }, @@ -1438,6 +1425,11 @@ "name": "v1 Nx Plugin API", "id": "v1-nx-plugin-api", "file": "shared/deprecated/v1-nx-plugin-api" + }, + { + "name": "Rescope Packages from @nrwl to @nx", + "id": "rescope", + "file": "shared/deprecated/rescope" } ] }, diff --git a/docs/shared/recipes/rescope.md b/docs/shared/deprecated/rescope.md similarity index 83% rename from docs/shared/recipes/rescope.md rename to docs/shared/deprecated/rescope.md index 6ddd586184..2f18491845 100644 --- a/docs/shared/recipes/rescope.md +++ b/docs/shared/deprecated/rescope.md @@ -1,8 +1,8 @@ # Rescope Packages from @nrwl to @nx -As of version 16, all the official Nx plugins are moving from the `@nrwl` npm scope to `@nx`. The goal is for anyone looking through a list of dependencies to easily make the connection between the `nx` package and the `@nx` plugins that are associated with it. +As of version 16, all the official Nx plugins moved from the `@nrwl` npm scope to `@nx`. The goal is for anyone looking through a list of dependencies to easily make the connection between the `nx` package and the `@nx` plugins that are associated with it. -`@nrwl/*` packages are still provided and reexport the `@nx/*` packages so any third-party plugins should continue to work. Any generators (e.g. `@nrwl/react:library`) and executors (e.g. `@nrwl/webpack:webpack`) will continue to work in the interim as well. +As of version 20, the `@nrwl` scoped packages will no longer be published to npm. ## What Do You Need To Do? diff --git a/docs/shared/recipes/installation/update-global-installation.md b/docs/shared/recipes/installation/update-global-installation.md index fa13722b6c..0405353ea3 100644 --- a/docs/shared/recipes/installation/update-global-installation.md +++ b/docs/shared/recipes/installation/update-global-installation.md @@ -5,11 +5,11 @@ There are some cases where an issue could arise when using an outdated global in - `Could not find Nx modules in this workspace.` - `The current directory isn't part of an Nx workspace.` -If you find yourself in this position, you will need to update your global install of Nx. +If you find yourself in this position, you will need to update your global installation of Nx. In most cases, you can update a globally installed npm package by rerunning the command you used to install it. -If you cannot remember which package manager you installed Nx globally with or are still encountering issues, you can locate other installs of Nx with these commands: +If you cannot remember which package manager you installed Nx globally with or are still encountering issues, you can locate other installations of Nx with these commands: {% tabs %} {% tab label="npm" %} @@ -43,33 +43,27 @@ pnpm list --global nx {% /tab %} {% /tabs %} -{% callout type="note" title="Older Global Installations" %} - -In prior versions, Nx could be installed globally via `@nrwl/cli` or `@nrwl/tao`. If you are seeing these warnings but cannot find other global installations of Nx via the above commands, you should look for these packages as well. In general, you should remove these and install the latest version of `nx` instead. - -{% /callout %} - You can then remove the extra global installations by running the following commands for the duplicate installations: {% tabs %} {% tab label="npm" %} ```shell -npm rm --global nx @nrwl/cli @nrwl/tao +npm rm --global nx ``` {% /tab %} {% tab label="yarn" %} ```shell -yarn global remove nx @nrwl/cli @nrwl/tao +yarn global remove nx ``` {% /tab %} {% tab label="pnpm" %} ```shell -pnpm rm --global nx @nrwl/cli @nrwl/tao +pnpm rm --global nx ``` {% /tab %} diff --git a/docs/shared/recipes/tips-n-tricks/keep-nx-versions-in-sync.md b/docs/shared/recipes/tips-n-tricks/keep-nx-versions-in-sync.md index a056ed453a..80c18db7b9 100644 --- a/docs/shared/recipes/tips-n-tricks/keep-nx-versions-in-sync.md +++ b/docs/shared/recipes/tips-n-tricks/keep-nx-versions-in-sync.md @@ -2,7 +2,7 @@ If your Nx plugin versions do not match the version of `nx` in your repository, you can encounter some difficult to debug errors. To get your Nx plugins back in sync, follow the steps below: -1. Identify all the official Nx plugins that are used in your repo. This includes `nx` and any packages in the `@nx/` or `@nrwl/` organization scope, except for plugins that are still in [nx-labs](https://github.com/nrwl/nx-labs). Also, `nx-cloud` does not need to match the other package versions. +1. Identify all the official Nx plugins that are used in your repo. This includes `nx` and any packages in the `@nx/` organization scope, except for plugins that are still in [nx-labs](https://github.com/nrwl/nx-labs). Also, `nx-cloud` does not need to match the other package versions. 2. Run `nx report` and identify the minimum and maximum version numbers for all the packages that need to by in sync. 3. Run `nx migrate --from=[minimumVersion] --to=[maximumVersion]`. Note that all the official Nx plugin migration generators are designed to be idempotent - meaning that running them multiple times is equivalent to running them once. This allows you to run the migrations for all plugins without being concerned about re-running a migration that was already run. diff --git a/docs/shared/reference/sitemap.md b/docs/shared/reference/sitemap.md index bc9c361125..29d730b47a 100644 --- a/docs/shared/reference/sitemap.md +++ b/docs/shared/reference/sitemap.md @@ -177,8 +177,6 @@ - [Configure Changelog Format](/recipes/nx-release/configure-changelog-format) - [Publish a Custom Dist Directory](/recipes/nx-release/publish-custom-dist-directory) - [Build Before Versioning](/recipes/nx-release/build-before-versioning) - - [Other](/recipes/other) - - [Rescope Packages from @nrwl to @nx](/recipes/other/rescope) - [Troubleshoot Nx Console Issues](/recipes/nx-console/console-troubleshooting) - [Showcase](/showcase) - [Nx with your favorite tech](/showcase/example-repos) @@ -232,6 +230,7 @@ - [globalImplicitDependencies](/deprecated/global-implicit-dependencies) - [Angular Schematics and Builders](/deprecated/angular-schematics-builders) - [v1 Nx Plugin API](/deprecated/v1-nx-plugin-api) + - [Rescope Packages from @nrwl to @nx](/deprecated/rescope) - [See Also](/see-also) - [Site Map](/see-also/sitemap) @@ -712,7 +711,6 @@ - [convert-to-inferred](/nx-api/storybook/generators/convert-to-inferred) - [migrate-7](/nx-api/storybook/generators/migrate-7) - [migrate-8](/nx-api/storybook/generators/migrate-8) - - [tao](/nx-api/tao) - [vite](/nx-api/vite) - [documents](/nx-api/vite/documents) - [Overview](/nx-api/vite/documents/overview) diff --git a/docs/shared/tutorials/angular-monorepo.md b/docs/shared/tutorials/angular-monorepo.md index 50d3007c4f..ed48874e36 100644 --- a/docs/shared/tutorials/angular-monorepo.md +++ b/docs/shared/tutorials/angular-monorepo.md @@ -203,7 +203,7 @@ NX Capabilities in @nx/angular: component-story : Creates a stories.ts file for a component. component-test : Creates a cypress component test file for a component. convert-tslint-to-eslint : Converts a project from TSLint to ESLint. - init : Initializes the `@nrwl/angular` plugin. + init : Initializes the `@nx/angular` plugin. library : Creates an Angular library. library-secondary-entry-point : Creates a secondary entry point for an Angular publishable library. remote : Generate a Remote Angular Module Federation Application. @@ -214,7 +214,7 @@ NX Capabilities in @nx/angular: delegate-build : Delegates the build to a different target while supporting incremental builds. ng-packagr-lite : Builds a library with support for incremental builds. -This executor is meant to be used with buildable libraries in an incremental build scenario. It is similar to the `@nrwl/angular:package` executor but with some key differences: +This executor is meant to be used with buildable libraries in an incremental build scenario. It is similar to the `@nx/angular:package` executor but with some key differences: - It doesn't run `ngcc` automatically (`ngcc` needs to be run separately beforehand if needed, this can be done in a `postinstall` hook on `package.json`). - It only produces ESM2020 bundles. - It doesn't generate package exports in the `package.json`. diff --git a/docs/shared/tutorials/react-monorepo.md b/docs/shared/tutorials/react-monorepo.md index 036aa1a5bb..b819e68d52 100644 --- a/docs/shared/tutorials/react-monorepo.md +++ b/docs/shared/tutorials/react-monorepo.md @@ -242,7 +242,7 @@ NX Capabilities in @nx/react: GENERATORS - init : Initialize the `@nrwl/react` plugin. + init : Initialize the `@nx/react` plugin. application : Create a React application. library : Create a React library. component : Create a React component. diff --git a/e2e/utils/create-project-utils.ts b/e2e/utils/create-project-utils.ts index 73c41a95d1..5cac030113 100644 --- a/e2e/utils/create-project-utils.ts +++ b/e2e/utils/create-project-utils.ts @@ -528,7 +528,6 @@ export function newLernaWorkspace({ const overrides = { ...json.overrides, nx: nxVersion, - '@nrwl/devkit': nxVersion, '@nx/devkit': nxVersion, }; if (packageManager === 'pnpm') { diff --git a/graph/ui-project-details/src/lib/project-details/project-details.stories.tsx b/graph/ui-project-details/src/lib/project-details/project-details.stories.tsx index b8683ca9d6..257db9b315 100644 --- a/graph/ui-project-details/src/lib/project-details/project-details.stories.tsx +++ b/graph/ui-project-details/src/lib/project-details/project-details.stories.tsx @@ -98,14 +98,6 @@ export const Primary = { options: { command: 'node ./scripts/copy-readme.js jest' }, configurations: {}, }, - 'add-extra-dependencies': { - executor: 'nx:run-commands', - options: { - command: - 'node ./scripts/add-dependency-to-build.js jest @nrwl/jest', - }, - configurations: {}, - }, lint: { dependsOn: ['build-native', '^build-native'], inputs: [ @@ -202,14 +194,6 @@ export const Primary = { 'packages/jest/project.json', 'nx-core-build-project-json-nodes', ], - 'targets.add-extra-dependencies': [ - 'packages/jest/project.json', - 'nx-core-build-project-json-nodes', - ], - 'targets.add-extra-dependencies.command': [ - 'packages/jest/project.json', - 'nx-core-build-project-json-nodes', - ], 'targets.lint': [ 'packages/jest/project.json', 'nx-core-build-project-json-nodes', @@ -611,14 +595,6 @@ export const Gradle = { 'packages/jest/project.json', 'nx-core-build-project-json-nodes', ], - 'targets.add-extra-dependencies': [ - 'packages/jest/project.json', - 'nx-core-build-project-json-nodes', - ], - 'targets.add-extra-dependencies.command': [ - 'packages/jest/project.json', - 'nx-core-build-project-json-nodes', - ], 'targets.lint': [ 'packages/jest/project.json', 'nx-core-build-project-json-nodes', @@ -826,14 +802,6 @@ export const Cart = { 'packages/jest/project.json', 'nx-core-build-project-json-nodes', ], - 'targets.add-extra-dependencies': [ - 'packages/jest/project.json', - 'nx-core-build-project-json-nodes', - ], - 'targets.add-extra-dependencies.command': [ - 'packages/jest/project.json', - 'nx-core-build-project-json-nodes', - ], 'targets.lint': [ 'packages/jest/project.json', 'nx-core-build-project-json-nodes', diff --git a/graph/ui-project-details/src/lib/target-configuration-details-list-item/target-configuration-details-list-item.stories.tsx b/graph/ui-project-details/src/lib/target-configuration-details-list-item/target-configuration-details-list-item.stories.tsx index 4bdf0ab800..51db052b8c 100644 --- a/graph/ui-project-details/src/lib/target-configuration-details-list-item/target-configuration-details-list-item.stories.tsx +++ b/graph/ui-project-details/src/lib/target-configuration-details-list-item/target-configuration-details-list-item.stories.tsx @@ -105,14 +105,6 @@ export const Simple: Story = { options: { command: 'node ./scripts/copy-readme.js jest' }, configurations: {}, }, - 'add-extra-dependencies': { - executor: 'nx:run-commands', - options: { - command: - 'node ./scripts/add-dependency-to-build.js jest @nrwl/jest', - }, - configurations: {}, - }, lint: { dependsOn: ['build-native', '^build-native'], inputs: [ diff --git a/nx-dev/feature-package-schema-viewer/src/lib/content.tsx b/nx-dev/feature-package-schema-viewer/src/lib/content.tsx index 7ebf7d7e63..727b237d8c 100644 --- a/nx-dev/feature-package-schema-viewer/src/lib/content.tsx +++ b/nx-dev/feature-package-schema-viewer/src/lib/content.tsx @@ -126,14 +126,6 @@ export function Content({ > {schemaViewModel.type} - - Rescope @nrwl to @nx - {schemaViewModel.deprecated && ( - - Rescope @nrwl to @nx - {name.startsWith('@nx/powerpack') ? undefined : (
diff --git a/nx-dev/nx-dev/redirect-rules.js b/nx-dev/nx-dev/redirect-rules.js index 176da2a03d..afe355be50 100644 --- a/nx-dev/nx-dev/redirect-rules.js +++ b/nx-dev/nx-dev/redirect-rules.js @@ -1045,6 +1045,7 @@ const troubleshootingOutOfRecipes = { * Removed deprecated URLs */ const removedDeprecatedUrls = { + '/recipes/other/rescope': '/deprecated/rescope', // Removed in Nx 20 '/nx-api/nx/documents/affected-dep-graph': '/deprecated/affected-graph', // nx affected:graph was removed in Nx 19 '/cli/affected-dep-graph': '/deprecated/affected-graph', '/nx/affected-dep-graph': '/deprecated/affected-graph', diff --git a/nx.json b/nx.json index b41ef6b844..aae0a94312 100644 --- a/nx.json +++ b/nx.json @@ -52,11 +52,7 @@ ] }, "release": { - "projects": [ - "packages/*", - "packages/nx/native-packages/*", - "packages-legacy/*" - ], + "projects": ["packages/*", "packages/nx/native-packages/*"], "releaseTagPattern": "{version}", "changelog": { "workspaceChangelog": { diff --git a/packages-legacy/angular/README.md b/packages-legacy/angular/README.md deleted file mode 100644 index 5a4a5a8932..0000000000 --- a/packages-legacy/angular/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/angular has been renamed to @nx/angular! - -@nrwl/angular has been renamed to [@nx/angular](https://www.npmjs.com/package/@nx/angular). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/angular will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/angular/executors.json b/packages-legacy/angular/executors.json deleted file mode 100644 index 20e5fede3b..0000000000 --- a/packages-legacy/angular/executors.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "executors": { - "delegate-build": { - "implementation": "@nx/angular/src/executors/delegate-build/delegate-build.impl", - "schema": "@nx/angular/src/executors/delegate-build/schema.json", - "description": "Delegates the build to a different target while supporting incremental builds." - }, - "ng-packagr-lite": { - "implementation": "@nx/angular/src/executors/ng-packagr-lite/ng-packagr-lite.impl", - "schema": "@nx/angular/src/executors/ng-packagr-lite/schema.json", - "description": "Builds a library with support for incremental builds.\nThis executor is meant to be used with buildable libraries in an incremental build scenario. It is similar to the `@nrwl/angular:package` executor but with some key differences:\n- It doesn't run `ngcc` automatically (`ngcc` needs to be run separately beforehand if needed, this can be done in a `postinstall` hook on `package.json`).\n- It only produces ESM2020 bundles.\n- It doesn't generate package exports in the `package.json`." - }, - "package": { - "implementation": "@nx/angular/src/executors/package/package.impl", - "schema": "@nx/angular/src/executors/package/schema.json", - "description": "Builds and packages an Angular library producing an output following the Angular Package Format (APF) to be distributed as an NPM package.\nThis executor is similar to the `@angular-devkit/build-angular:ng-packagr` with additional support for incremental builds." - } - }, - "builders": { - "delegate-build": { - "implementation": "@nx/angular/src/executors/delegate-build/compat", - "schema": "@nx/angular/src/executors/delegate-build/schema.json", - "description": "Delegates the build to a different target while supporting incremental builds." - }, - "ng-packagr-lite": { - "implementation": "@nx/angular/src/executors/ng-packagr-lite/compat", - "schema": "@nx/angular/src/executors/ng-packagr-lite/schema.json", - "description": "Builds a library with support for incremental builds.\nThis executor is meant to be used with buildable libraries in an incremental build scenario. It is similar to the `@nrwl/angular:package` executor but with some key differences:\n- It doesn't run `ngcc` automatically (`ngcc` needs to be run separately beforehand if needed, this can be done in a `postinstall` hook on `package.json`)\n- It only produces ESM2020 bundles\n- It doesn't generate package exports in the `package.json`" - }, - "package": { - "implementation": "@nx/angular/src/executors/package/compat", - "schema": "@nx/angular/src/executors/package/schema.json", - "description": "Builds and packages an Angular library to be distributed as an NPM package. It supports incremental builds." - }, - "webpack-browser": { - "implementation": "@nx/angular/src/builders/webpack-browser/webpack-browser.impl", - "schema": "@nx/angular/src/builders/webpack-browser/schema.json", - "description": "The `webpack-browser` executor is very similar to the standard `browser` builder provided by the Angular Devkit. It allows you to build your Angular application to a build artifact that can be hosted online. There are some key differences: \n- Supports Custom Webpack Configurations \n- Supports Incremental Building" - }, - "dev-server": { - "implementation": "@nx/angular/src/builders/dev-server/dev-server.impl", - "schema": "@nx/angular/src/builders/dev-server/schema.json", - "description": "The `dev-server` executor is very similar to the standard `dev-server` builder provided by the Angular Devkit. It is usually used in tandem with `@nrwl/angular:webpack-browser` when your Angular application uses a custom webpack configuration." - }, - "webpack-server": { - "implementation": "@nx/angular/src/builders/webpack-server/webpack-server.impl", - "schema": "@nx/angular/src/builders/webpack-server/schema.json", - "description": "The `webpack-server` executor is very similar to the standard `server` builder provided by the Angular Devkit. It is usually used in tandem with `@nrwl/angular:webpack-browser` when your Angular application uses a custom webpack configuration and NgUniversal for SSR." - }, - "module-federation-dev-server": { - "implementation": "@nx/angular/src/builders/module-federation-dev-server/module-federation-dev-server.impl", - "schema": "@nx/angular/src/builders/module-federation-dev-server/schema.json", - "description": "The module-federation-dev-server executor is reserved exclusively for use with host Module Federation applications. It allows the user to specify which remote applications should be served with the host." - }, - "module-federation-dev-ssr": { - "implementation": "@nx/angular/src/builders/module-federation-dev-ssr/module-federation-dev-ssr.impl", - "schema": "@nx/angular/src/builders/module-federation-dev-ssr/schema.json", - "description": "The module-federation-dev-ssr executor is reserved exclusively for use with host Module Federation applications that use SSR. It allows the user to specify which remote applications should be served with the host." - } - } -} diff --git a/packages-legacy/angular/executors.ts b/packages-legacy/angular/executors.ts deleted file mode 100644 index ef085598bc..0000000000 --- a/packages-legacy/angular/executors.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/angular/executors'; diff --git a/packages-legacy/angular/generators.json b/packages-legacy/angular/generators.json deleted file mode 100644 index e56e8662de..0000000000 --- a/packages-legacy/angular/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/angular"], - "schematics": {} -} diff --git a/packages-legacy/angular/generators.ts b/packages-legacy/angular/generators.ts deleted file mode 100644 index bf80a75ccf..0000000000 --- a/packages-legacy/angular/generators.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/angular/generators'; diff --git a/packages-legacy/angular/index.ts b/packages-legacy/angular/index.ts deleted file mode 100644 index ffd52501b3..0000000000 --- a/packages-legacy/angular/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/angular'; diff --git a/packages-legacy/angular/mf/index.ts b/packages-legacy/angular/mf/index.ts deleted file mode 100644 index 9e619e9e02..0000000000 --- a/packages-legacy/angular/mf/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/angular/mf'; diff --git a/packages-legacy/angular/mf/ng-package.json b/packages-legacy/angular/mf/ng-package.json deleted file mode 100644 index bb6786ef97..0000000000 --- a/packages-legacy/angular/mf/ng-package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "lib": { - "entryFile": "index.ts" - } -} diff --git a/packages-legacy/angular/module-federation/index.ts b/packages-legacy/angular/module-federation/index.ts deleted file mode 100644 index 6d0ac0629d..0000000000 --- a/packages-legacy/angular/module-federation/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/angular/module-federation'; diff --git a/packages-legacy/angular/ng-package.json b/packages-legacy/angular/ng-package.json deleted file mode 100644 index fb93e3b8bd..0000000000 --- a/packages-legacy/angular/ng-package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "$schema": "../../node_modules/ng-packagr/ng-package.schema.json", - "lib": { - "entryFile": "index.ts" - }, - "dest": "../../build/packages/angular-legacy", - "deleteDestPath": false, - "allowedNonPeerDependencies": [ - "@nx/", - "@nrwl/", - "@angular-devkit", - "@angular-eslint/", - "@nguniversal/builders", - "@schematics", - "@phenomnomnominal/tsquery", - "@typescript-eslint/", - "chalk", - "chokidar", - "ignore", - "minimatch", - "rxjs-for-await", - "webpack-merge", - "ts-node", - "tsconfig-paths", - "semver", - "webpack", - "http-server", - "magic-string", - "enquirer", - "find-cache-dir" - ], - "keepLifecycleScripts": true -} diff --git a/packages-legacy/angular/package.json b/packages-legacy/angular/package.json deleted file mode 100644 index 908c00c395..0000000000 --- a/packages-legacy/angular/package.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "@nrwl/angular", - "version": "0.0.1", - "private": false, - "description": "The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: \n\n- Integration with libraries such as Storybook, Jest, ESLint, Tailwind CSS, and Cypress. \n\n- Generators to help scaffold code quickly (like: Micro Frontends, Libraries, both internal to your codebase and publishable to npm) \n\n- Single Component Application Modules (SCAMs) \n\n- NgRx helpers. \n\n- Utilities for automatic workspace refactoring.", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/angular" - }, - "keywords": [ - "Monorepo", - "Angular", - "Jest", - "Cypress", - "CLI" - ], - "exports": { - "./generators": "./generators.js", - "./executors": "./executors.js", - "./tailwind": "./tailwind.js", - "./src/generators/utils": "./src/generators/utils/index.js", - "./src/utils": "./src/utils/public-api.js", - "./module-federation": "./module-federation/index.js", - "./plugins/component-testing": "./plugins/component-testing.js" - }, - "author": "Victor Savkin", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "builders": "./executors.json", - "schematics": "./generators.json", - "dependencies": { - "@nx/angular": "file:../../packages/angular" - }, - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/angular/migrations.json" - } -} diff --git a/packages-legacy/angular/plugins/component-testing.ts b/packages-legacy/angular/plugins/component-testing.ts deleted file mode 100644 index 2ff8d282b9..0000000000 --- a/packages-legacy/angular/plugins/component-testing.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/angular/plugins/component-testing'; diff --git a/packages-legacy/angular/project.json b/packages-legacy/angular/project.json deleted file mode 100644 index 110df74eaa..0000000000 --- a/packages-legacy/angular/project.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "name": "angular-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/angular", - "projectType": "library", - "targets": { - "build-ng": { - "dependsOn": ["^build", "build-base"], - "executor": "@nx/angular:package", - "options": { - "project": "packages-legacy/angular/ng-package.json", - "tsConfig": "packages-legacy/angular/tsconfig.runtime.json" - }, - "outputs": ["{workspaceRoot}/build/packages/angular-legacy"] - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build"], - "options": { - "main": "packages-legacy/angular/index.ts", - "tsConfig": "packages-legacy/angular/tsconfig.json", - "outputPath": "build/packages/angular-legacy", - "assets": [ - { - "input": "packages-legacy/angular", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/angular", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - }, - "build": { - "dependsOn": ["build-ng", "build-base", "^build"], - "executor": "nx:run-commands", - "options": { - "commands": [ - { - "command": "node ./scripts/copy-readme.js angular-legacy" - }, - { - "command": "echo 'Built angular-legacy'" - } - ] - } - } - }, - "implicitDependencies": ["workspace", "cypress", "jest"] -} diff --git a/packages-legacy/angular/tailwind.ts b/packages-legacy/angular/tailwind.ts deleted file mode 100644 index b257ad4f99..0000000000 --- a/packages-legacy/angular/tailwind.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/angular/tailwind'; diff --git a/packages-legacy/angular/testing/index.ts b/packages-legacy/angular/testing/index.ts deleted file mode 100644 index 9d77ff3992..0000000000 --- a/packages-legacy/angular/testing/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { readAll, readFirst } from '@nx/angular/testing'; diff --git a/packages-legacy/angular/testing/ng-package.json b/packages-legacy/angular/testing/ng-package.json deleted file mode 100644 index bb6786ef97..0000000000 --- a/packages-legacy/angular/testing/ng-package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "lib": { - "entryFile": "index.ts" - } -} diff --git a/packages-legacy/angular/tsconfig.json b/packages-legacy/angular/tsconfig.json deleted file mode 100644 index fa90524f19..0000000000 --- a/packages-legacy/angular/tsconfig.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/angular/tsconfig.runtime.json b/packages-legacy/angular/tsconfig.runtime.json deleted file mode 100644 index 8c04a878ac..0000000000 --- a/packages-legacy/angular/tsconfig.runtime.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "esnext" - }, - "angularCompilerOptions": { - "compilationMode": "partial" - } -} diff --git a/packages-legacy/cypress/README.md b/packages-legacy/cypress/README.md deleted file mode 100644 index 727aaedf32..0000000000 --- a/packages-legacy/cypress/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/cypress has been renamed to @nx/cypress! - -@nrwl/cypress has been renamed to [@nx/cypress](https://www.npmjs.com/package/@nx/cypress). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/cypress will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/cypress/executors.json b/packages-legacy/cypress/executors.json deleted file mode 100644 index 47e53c5430..0000000000 --- a/packages-legacy/cypress/executors.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "builders": { - "cypress": { - "implementation": "@nx/cypress/src/executors/cypress/compat", - "schema": "@nx/cypress/src/executors/cypress/schema.json", - "description": "Run Cypress E2E tests." - } - }, - "executors": { - "cypress": { - "implementation": "@nx/cypress/src/executors/cypress/cypress.impl", - "schema": "@nx/cypress/src/executors/cypress/schema.json", - "description": "Run Cypress E2E tests." - } - } -} diff --git a/packages-legacy/cypress/generators.json b/packages-legacy/cypress/generators.json deleted file mode 100644 index 6546b76550..0000000000 --- a/packages-legacy/cypress/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/cypress"], - "schematics": {} -} diff --git a/packages-legacy/cypress/index.ts b/packages-legacy/cypress/index.ts deleted file mode 100644 index 72debf3354..0000000000 --- a/packages-legacy/cypress/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/cypress'; diff --git a/packages-legacy/cypress/package.json b/packages-legacy/cypress/package.json deleted file mode 100644 index acd8be0e55..0000000000 --- a/packages-legacy/cypress/package.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "@nrwl/cypress", - "version": "0.0.1", - "private": false, - "description": "The Nx Plugin for Cypress contains executors and generators allowing your workspace to use the powerful Cypress integration testing capabilities.", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/cypress" - }, - "keywords": [ - "Monorepo", - "Angular", - "React", - "Web", - "Node", - "Nest", - "Jest", - "Cypress", - "CLI" - ], - "main": "./index", - "typings": "./index.d.ts", - "author": "Victor Savkin", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "schematics": "./generators.json", - "builders": "./executors.json", - "dependencies": { - "@nx/cypress": "file:../../packages/cypress" - }, - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/cypress/migrations.json" - } -} diff --git a/packages-legacy/cypress/plugins/cypress-preset.ts b/packages-legacy/cypress/plugins/cypress-preset.ts deleted file mode 100644 index 1bfe579ba3..0000000000 --- a/packages-legacy/cypress/plugins/cypress-preset.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/cypress/plugins/cypress-preset'; diff --git a/packages-legacy/cypress/project.json b/packages-legacy/cypress/project.json deleted file mode 100644 index 0f76be12c7..0000000000 --- a/packages-legacy/cypress/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "cypress-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/cypress", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js cypress-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/cypress/index.ts", - "tsConfig": "packages-legacy/cypress/tsconfig.json", - "outputPath": "build/packages/cypress-legacy", - "assets": [ - { - "input": "packages-legacy/cypress", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/cypress", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - } -} diff --git a/packages-legacy/cypress/tsconfig.json b/packages-legacy/cypress/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/cypress/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/detox/README.md b/packages-legacy/detox/README.md deleted file mode 100644 index d4a21d1a83..0000000000 --- a/packages-legacy/detox/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/detox has been renamed to @nx/detox! - -@nrwl/detox has been renamed to [@nx/detox](https://www.npmjs.com/package/@nx/detox). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/detox will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/detox/executors.json b/packages-legacy/detox/executors.json deleted file mode 100644 index df862b7de0..0000000000 --- a/packages-legacy/detox/executors.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "executors": { - "build": { - "implementation": "@nx/detox/src/executors/build/build.impl", - "schema": "@nx/detox/src/executors/build/schema.json", - "description": "Run the command defined in build property of the specified configuration." - }, - "test": { - "implementation": "@nx/detox/src/executors/test/test.impl", - "schema": "@nx/detox/src/executors/test/schema.json", - "description": "Initiating your detox test suite." - } - } -} diff --git a/packages-legacy/detox/generators.json b/packages-legacy/detox/generators.json deleted file mode 100644 index 4334ccca21..0000000000 --- a/packages-legacy/detox/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/detox"], - "schematics": {} -} diff --git a/packages-legacy/detox/index.ts b/packages-legacy/detox/index.ts deleted file mode 100644 index 6b614d03fd..0000000000 --- a/packages-legacy/detox/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/detox'; diff --git a/packages-legacy/detox/package.json b/packages-legacy/detox/package.json deleted file mode 100644 index eed31dc478..0000000000 --- a/packages-legacy/detox/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "@nrwl/detox", - "version": "0.0.1", - "private": false, - "description": "The Nx Plugin for Detox contains executors and generators for allowing your workspace to use the powerful Detox integration testing capabilities.", - "keywords": [ - "Monorepo", - "React", - "Web", - "Native", - "CLI", - "Detox" - ], - "homepage": "https://nx.dev", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/detox" - }, - "license": "MIT", - "author": "Victor Savkin", - "main": "./index", - "types": "index.d.ts", - "dependencies": { - "@nx/detox": "file:../../packages/detox" - }, - "builders": "./executors.json", - "schematics": "./generators.json", - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/detox/migrations.json" - } -} diff --git a/packages-legacy/detox/project.json b/packages-legacy/detox/project.json deleted file mode 100644 index b69b222051..0000000000 --- a/packages-legacy/detox/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "detox-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/detox", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js detox-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/detox/index.ts", - "tsConfig": "packages-legacy/detox/tsconfig.json", - "outputPath": "build/packages/detox-legacy", - "assets": [ - { - "input": "packages-legacy/detox", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/detox", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - } -} diff --git a/packages-legacy/detox/tsconfig.json b/packages-legacy/detox/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/detox/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/devkit/README.md b/packages-legacy/devkit/README.md deleted file mode 100644 index 927cb9a826..0000000000 --- a/packages-legacy/devkit/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/devkit has been renamed to @nx/devkit! - -@nrwl/devkit has been renamed to [@nx/devkit](https://www.npmjs.com/package/@nx/devkit). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/devkit will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/devkit/index.ts b/packages-legacy/devkit/index.ts deleted file mode 100644 index a122ec53a6..0000000000 --- a/packages-legacy/devkit/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/devkit'; diff --git a/packages-legacy/devkit/package.json b/packages-legacy/devkit/package.json deleted file mode 100644 index b333891f37..0000000000 --- a/packages-legacy/devkit/package.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "@nrwl/devkit", - "version": "0.0.1", - "private": false, - "description": "The Nx Devkit is used to customize Nx for different technologies and use cases. It contains many utility functions for reading and writing files, updating configuration, working with Abstract Syntax Trees(ASTs), and more. Learn more about [extending Nx by leveraging the Nx Devkit](https://nx.dev/extending-nx/intro/getting-started) on our docs.", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/devkit" - }, - "keywords": [ - "Monorepo", - "Angular", - "React", - "Web", - "Node", - "Nest", - "Jest", - "Cypress", - "CLI" - ], - "main": "./index", - "typings": "./index.d.ts", - "author": "Victor Savkin", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "dependencies": { - "@nx/devkit": "file:../../packages/devkit" - }, - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/devkit/migrations.json" - } -} diff --git a/packages-legacy/devkit/project.json b/packages-legacy/devkit/project.json deleted file mode 100644 index 0a104864df..0000000000 --- a/packages-legacy/devkit/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "devkit-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/devkit", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js devkit-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/devkit/index.ts", - "tsConfig": "packages-legacy/devkit/tsconfig.json", - "outputPath": "build/packages/devkit-legacy", - "assets": [ - { - "input": "packages-legacy/devkit", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/devkit", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - } -} diff --git a/packages-legacy/devkit/testing.ts b/packages-legacy/devkit/testing.ts deleted file mode 100644 index b0b2450860..0000000000 --- a/packages-legacy/devkit/testing.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/devkit/testing'; diff --git a/packages-legacy/devkit/tsconfig.json b/packages-legacy/devkit/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/devkit/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/esbuild/README.md b/packages-legacy/esbuild/README.md deleted file mode 100644 index 30fe4a7945..0000000000 --- a/packages-legacy/esbuild/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/esbuild has been renamed to @nx/esbuild! - -@nrwl/esbuild has been renamed to [@nx/esbuild](https://www.npmjs.com/package/@nx/esbuild). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/esbuild will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/esbuild/executors.json b/packages-legacy/esbuild/executors.json deleted file mode 100644 index b04ba4b425..0000000000 --- a/packages-legacy/esbuild/executors.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "builders": { - "esbuild": { - "implementation": "@nx/esbuild/src/executors/esbuild/compat", - "schema": "@nx/esbuild/src/executors/esbuild/schema.json", - "description": "Bundle a package using EsBuild." - } - }, - "executors": { - "esbuild": { - "implementation": "@nx/esbuild/src/executors/esbuild/esbuild.impl", - "schema": "@nx/esbuild/src/executors/esbuild/schema.json", - "description": "Bundle a package using EsBuild." - } - } -} diff --git a/packages-legacy/esbuild/generators.json b/packages-legacy/esbuild/generators.json deleted file mode 100644 index 8c6b4903cb..0000000000 --- a/packages-legacy/esbuild/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/esbuild"], - "schematics": {} -} diff --git a/packages-legacy/esbuild/index.ts b/packages-legacy/esbuild/index.ts deleted file mode 100644 index 279cccf0ae..0000000000 --- a/packages-legacy/esbuild/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/esbuild'; diff --git a/packages-legacy/esbuild/package.json b/packages-legacy/esbuild/package.json deleted file mode 100644 index c2ec13908b..0000000000 --- a/packages-legacy/esbuild/package.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "@nrwl/esbuild", - "version": "0.0.1", - "private": false, - "description": "The Nx Plugin for esbuild contains executors and generators that support building applications using esbuild", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/esbuild" - }, - "keywords": [ - "Monorepo", - "EsBuild", - "Web", - "CLI" - ], - "main": "./index", - "typings": "./index.d.ts", - "author": "Victor Savkin", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "schematics": "./generators.json", - "builders": "./executors.json", - "dependencies": { - "@nx/esbuild": "file:../../packages/esbuild" - }, - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/esbuild/migrations.json" - } -} diff --git a/packages-legacy/esbuild/project.json b/packages-legacy/esbuild/project.json deleted file mode 100644 index 263144fa9f..0000000000 --- a/packages-legacy/esbuild/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "esbuild-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/esbuild", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js esbuild-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/esbuild/index.ts", - "tsConfig": "packages-legacy/esbuild/tsconfig.json", - "outputPath": "build/packages/esbuild-legacy", - "assets": [ - { - "input": "packages-legacy/esbuild", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/esbuild", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - } -} diff --git a/packages-legacy/esbuild/tsconfig.json b/packages-legacy/esbuild/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/esbuild/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/eslint-plugin-nx/README.md b/packages-legacy/eslint-plugin-nx/README.md deleted file mode 100644 index 7b4eaf2958..0000000000 --- a/packages-legacy/eslint-plugin-nx/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/eslint-plugin-nx has been renamed to @nx/eslint-plugin! - -@nrwl/eslint-plugin-nx has been renamed to [@nx/eslint-plugin](https://www.npmjs.com/package/@nx/eslint-plugin). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/eslint-plugin-nx will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/eslint-plugin-nx/index.ts b/packages-legacy/eslint-plugin-nx/index.ts deleted file mode 100644 index 1f2421378a..0000000000 --- a/packages-legacy/eslint-plugin-nx/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/eslint-plugin'; diff --git a/packages-legacy/eslint-plugin-nx/package.json b/packages-legacy/eslint-plugin-nx/package.json deleted file mode 100644 index a9d0b14406..0000000000 --- a/packages-legacy/eslint-plugin-nx/package.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "@nrwl/eslint-plugin-nx", - "version": "0.0.1", - "private": false, - "description": "The eslint-plugin-nx package is an ESLint plugin that contains a collection of recommended ESLint rule configurations which you can extend from in your own ESLint configs, as well as an Nx-specific lint rule called enforce-module-boundaries.", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/eslint-plugin-nx" - }, - "keywords": [ - "Monorepo", - "Web", - "Lint", - "ESLint", - "CLI" - ], - "main": "./index.js", - "typings": "./index.d.ts", - "author": "Victor Savkin", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "dependencies": { - "@nx/eslint-plugin": "file:../../packages/eslint-plugin" - }, - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/eslint-plugin/migrations.json" - } -} diff --git a/packages-legacy/eslint-plugin-nx/project.json b/packages-legacy/eslint-plugin-nx/project.json deleted file mode 100644 index d078dcfe2f..0000000000 --- a/packages-legacy/eslint-plugin-nx/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "eslint-plugin-nx-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/eslint-plugin-nx", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js eslint-plugin-nx-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/eslint-plugin-nx/index.ts", - "tsConfig": "packages-legacy/eslint-plugin-nx/tsconfig.json", - "outputPath": "build/packages/eslint-plugin-nx-legacy", - "assets": [ - { - "input": "packages-legacy/eslint-plugin-nx", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/eslint-plugin-nx", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - } -} diff --git a/packages-legacy/eslint-plugin-nx/tsconfig.json b/packages-legacy/eslint-plugin-nx/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/eslint-plugin-nx/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/expo/README.md b/packages-legacy/expo/README.md deleted file mode 100644 index 23e470b97b..0000000000 --- a/packages-legacy/expo/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/expo has been renamed to @nx/expo! - -@nrwl/expo has been renamed to [@nx/expo](https://www.npmjs.com/package/@nx/expo). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/expo will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/expo/executors.json b/packages-legacy/expo/executors.json deleted file mode 100644 index 5b6ecba9ca..0000000000 --- a/packages-legacy/expo/executors.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "executors": { - "update": { - "implementation": "@nx/expo/src/executors/update/update.impl", - "schema": "@nx/expo/src/executors/update/schema.json", - "description": "Start an EAS update for your expo project" - }, - "build": { - "implementation": "@nx/expo/src/executors/build/build.impl", - "schema": "@nx/expo/src/executors/build/schema.json", - "description": "Start an EAS build for your expo project" - }, - "build-list": { - "implementation": "@nx/expo/src/executors/build-list/build-list.impl", - "schema": "@nx/expo/src/executors/build-list/schema.json", - "description": "List all EAS builds for your Expo project" - }, - "download": { - "implementation": "@nx/expo/src/executors/download/download.impl", - "schema": "@nx/expo/src/executors/download/schema.json", - "description": "Download an EAS build" - }, - "run": { - "implementation": "@nx/expo/src/executors/run/run.impl", - "schema": "@nx/expo/src/executors/run/schema.json", - "description": "Run the Android app binary locally or run the iOS app binary locally" - }, - "start": { - "implementation": "@nx/expo/src/executors/start/start.impl", - "schema": "@nx/expo/src/executors/start/schema.json", - "description": "Start a local dev server for the app or start a Webpack dev server for the web app" - }, - "sync-deps": { - "implementation": "@nx/expo/src/executors/sync-deps/sync-deps.impl", - "schema": "@nx/expo/src/executors/sync-deps/schema.json", - "description": "Syncs dependencies to package.json (required for autolinking)." - }, - "ensure-symlink": { - "implementation": "@nx/expo/src/executors/ensure-symlink/ensure-symlink.impl", - "schema": "@nx/expo/src/executors/ensure-symlink/schema.json", - "description": "Ensure workspace node_modules is symlink under app's node_modules folder." - }, - "prebuild": { - "implementation": "@nx/expo/src/executors/prebuild/prebuild.impl", - "schema": "@nx/expo/src/executors/prebuild/schema.json", - "description": "Create native iOS and Android project files for building natively." - }, - "install": { - "implementation": "@nx/expo/src/executors/install/install.impl", - "schema": "@nx/expo/src/executors/install/schema.json", - "description": "Install a module or other package to a project." - }, - "export": { - "implementation": "@nx/expo/src/executors/export/export.impl", - "schema": "@nx/expo/src/executors/export/schema.json", - "description": "Export the JavaScript and assets for your app using Metro/webpack bundler" - } - }, - "builders": { - "update": { - "implementation": "@nx/expo/src/executors/update/compat", - "schema": "@nx/expo/src/executors/update/schema.json", - "description": "Start an EAS update for your expo project" - }, - "build": { - "implementation": "@nx/expo/src/executors/build/compat", - "schema": "@nx/expo/src/executors/build/schema.json", - "description": "Start an EAS build for your expo project" - }, - "build-list": { - "implementation": "@nx/expo/src/executors/build-list/compat", - "schema": "@nx/expo/src/executors/build-list/schema.json", - "description": "List all EAS builds for your Expo project" - }, - "download": { - "implementation": "@nx/expo/src/executors/download/compat", - "schema": "@nx/expo/src/executors/download/schema.json", - "description": "Download an EAS build" - }, - "run": { - "implementation": "@nx/expo/src/executors/run/compat", - "schema": "@nx/expo/src/executors/run/schema.json", - "description": "Run the Android app binary locally or run the iOS app binary locally" - }, - "start": { - "implementation": "@nx/expo/src/executors/start/compat", - "schema": "@nx/expo/src/executors/start/schema.json", - "description": "Start a local dev server for the app or start a Webpack dev server for the web app" - }, - "sync-deps": { - "implementation": "@nx/expo/src/executors/sync-deps/compat", - "schema": "@nx/expo/src/executors/sync-deps/schema.json", - "description": "Syncs dependencies to package.json (required for autolinking)." - }, - "ensure-symlink": { - "implementation": "@nx/expo/src/executors/ensure-symlink/compat", - "schema": "@nx/expo/src/executors/ensure-symlink/schema.json", - "description": "Ensure workspace node_modules is symlink under app's node_modules folder." - }, - "prebuild": { - "implementation": "@nx/expo/src/executors/prebuild/compat", - "schema": "@nx/expo/src/executors/prebuild/schema.json", - "description": "Create native iOS and Android project files for building natively." - }, - "install": { - "implementation": "@nx/expo/src/executors/install/compat", - "schema": "@nx/expo/src/executors/install/schema.json", - "description": "Install a module or other package to a project." - }, - "export": { - "implementation": "@nx/expo/src/executors/export/compat", - "schema": "@nx/expo/src/executors/export/schema.json", - "description": "Export the JavaScript and assets for your app using Metro/webpack bundler" - } - } -} diff --git a/packages-legacy/expo/generators.json b/packages-legacy/expo/generators.json deleted file mode 100644 index a2a748b619..0000000000 --- a/packages-legacy/expo/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/expo"], - "schematics": {} -} diff --git a/packages-legacy/expo/index.ts b/packages-legacy/expo/index.ts deleted file mode 100644 index 7365b90aa0..0000000000 --- a/packages-legacy/expo/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/expo'; diff --git a/packages-legacy/expo/package.json b/packages-legacy/expo/package.json deleted file mode 100644 index 209808a84c..0000000000 --- a/packages-legacy/expo/package.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "@nrwl/expo", - "version": "0.0.1", - "private": false, - "description": "The Expo Plugin for Nx contains executors and generators for managing and developing an expo application within your workspace. For example, you can directly build for different target platforms as well as generate projects and publish your code.", - "keywords": [ - "Monorepo", - "Expo", - "React", - "Web", - "Jest", - "Native", - "CLI" - ], - "homepage": "https://nx.dev", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/expo" - }, - "license": "MIT", - "author": "Victor Savkin", - "main": "./index", - "types": "index.d.ts", - "dependencies": { - "@nx/expo": "file:../../packages/expo" - }, - "builders": "./executors.json", - "schematics": "./generators.json", - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/expo/migrations.json" - } -} diff --git a/packages-legacy/expo/plugins/jest/svg-mock.ts b/packages-legacy/expo/plugins/jest/svg-mock.ts deleted file mode 100644 index 5d45aae397..0000000000 --- a/packages-legacy/expo/plugins/jest/svg-mock.ts +++ /dev/null @@ -1,3 +0,0 @@ -// From https://github.com/kristerkari/react-native-svg-transformer#usage-with-jest -module.exports = 'SvgMock'; -module.exports.ReactComponent = 'SvgMock'; diff --git a/packages-legacy/expo/plugins/with-nx-metro.ts b/packages-legacy/expo/plugins/with-nx-metro.ts deleted file mode 100644 index a52a932070..0000000000 --- a/packages-legacy/expo/plugins/with-nx-metro.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/expo/plugins/with-nx-metro'; diff --git a/packages-legacy/expo/project.json b/packages-legacy/expo/project.json deleted file mode 100644 index da3af54fe9..0000000000 --- a/packages-legacy/expo/project.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "expo-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/expo", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js expo-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/expo/index.ts", - "tsConfig": "packages-legacy/expo/tsconfig.json", - "outputPath": "build/packages/expo-legacy", - "assets": [ - { - "input": "packages-legacy/expo", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/expo", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - }, - "tags": [] -} diff --git a/packages-legacy/expo/tsconfig.json b/packages-legacy/expo/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/expo/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/expo/typings/svg.d.ts b/packages-legacy/expo/typings/svg.d.ts deleted file mode 100644 index fed8d16634..0000000000 --- a/packages-legacy/expo/typings/svg.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -declare module '*.svg' { - import React from 'react'; - import { SvgProps } from 'react-native-svg'; - const content: React.FC; - export default content; -} diff --git a/packages-legacy/express/README.md b/packages-legacy/express/README.md deleted file mode 100644 index ddd799870f..0000000000 --- a/packages-legacy/express/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/express has been renamed to @nx/express! - -@nrwl/express has been renamed to [@nx/express](https://www.npmjs.com/package/@nx/express). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/express will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/express/generators.json b/packages-legacy/express/generators.json deleted file mode 100644 index 24c6a60625..0000000000 --- a/packages-legacy/express/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/express"], - "schematics": {} -} diff --git a/packages-legacy/express/index.ts b/packages-legacy/express/index.ts deleted file mode 100644 index 0683bd7aa8..0000000000 --- a/packages-legacy/express/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/express'; diff --git a/packages-legacy/express/package.json b/packages-legacy/express/package.json deleted file mode 100644 index cf98fa4480..0000000000 --- a/packages-legacy/express/package.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "name": "@nrwl/express", - "version": "0.0.1", - "private": false, - "description": "The Nx Plugin for Express contains executors and generators for allowing your workspace to create powerful Express Node applications and APIs.", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/express" - }, - "keywords": [ - "Monorepo", - "Node", - "Express", - "Jest", - "Cypress", - "CLI" - ], - "main": "./index", - "typings": "./index.d.ts", - "author": "Victor Savkin", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "schematics": "./generators.json", - "dependencies": { - "@nx/express": "file:../../packages/express" - }, - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/express/migrations.json" - } -} diff --git a/packages-legacy/express/project.json b/packages-legacy/express/project.json deleted file mode 100644 index 3474f9d0bf..0000000000 --- a/packages-legacy/express/project.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "express-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/express", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js express-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/express/index.ts", - "tsConfig": "packages-legacy/express/tsconfig.json", - "outputPath": "build/packages/express-legacy", - "assets": [ - { - "input": "packages-legacy/express", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/express", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - }, - "implicitDependencies": ["node"] -} diff --git a/packages-legacy/express/tsconfig.json b/packages-legacy/express/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/express/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/jest/README.md b/packages-legacy/jest/README.md deleted file mode 100644 index 47964ca5d9..0000000000 --- a/packages-legacy/jest/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/jest has been renamed to @nx/jest! - -@nrwl/jest has been renamed to [@nx/jest](https://www.npmjs.com/package/@nx/jest). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/jest will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/jest/executors.json b/packages-legacy/jest/executors.json deleted file mode 100644 index 66a44a0f44..0000000000 --- a/packages-legacy/jest/executors.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "builders": { - "jest": { - "implementation": "@nx/jest/src/executors/jest/compat", - "schema": "@nx/jest/src/executors/jest/schema.json", - "description": "Run Jest unit tests." - } - }, - "executors": { - "jest": { - "implementation": "@nx/jest/src/executors/jest/jest.impl", - "batchImplementation": "@nx/jest/src/executors/jest/jest.impl#batchJest", - "schema": "@nx/jest/src/executors/jest/schema.json", - "description": "Run Jest unit tests." - } - } -} diff --git a/packages-legacy/jest/generators.json b/packages-legacy/jest/generators.json deleted file mode 100644 index 425e10168c..0000000000 --- a/packages-legacy/jest/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/jest"], - "schematics": {} -} diff --git a/packages-legacy/jest/index.ts b/packages-legacy/jest/index.ts deleted file mode 100644 index f2c3729ae7..0000000000 --- a/packages-legacy/jest/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/jest'; diff --git a/packages-legacy/jest/package.json b/packages-legacy/jest/package.json deleted file mode 100644 index 001d5867a3..0000000000 --- a/packages-legacy/jest/package.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "@nrwl/jest", - "version": "0.0.1", - "private": false, - "description": "The Nx Plugin for Jest contains executors and generators allowing your workspace to use the powerful Jest testing capabilities.", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/jest" - }, - "keywords": [ - "Monorepo", - "Angular", - "React", - "Web", - "Node", - "Nest", - "Jest", - "Unit Testing", - "CLI" - ], - "main": "./index", - "typings": "./index.d.ts", - "author": "Victor Savkin", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "schematics": "./generators.json", - "builders": "./executors.json", - "dependencies": { - "@nx/jest": "file:../../packages/jest" - }, - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/jest/migrations.json" - } -} diff --git a/packages-legacy/jest/plugins/resolver.ts b/packages-legacy/jest/plugins/resolver.ts deleted file mode 100644 index f7c7fffd6c..0000000000 --- a/packages-legacy/jest/plugins/resolver.ts +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@nx/jest/plugins/resolver'); diff --git a/packages-legacy/jest/preset/index.ts b/packages-legacy/jest/preset/index.ts deleted file mode 100644 index 986e4d116b..0000000000 --- a/packages-legacy/jest/preset/index.ts +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@nx/jest/preset'); diff --git a/packages-legacy/jest/project.json b/packages-legacy/jest/project.json deleted file mode 100644 index 2fced7750f..0000000000 --- a/packages-legacy/jest/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "jest-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/jest", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js jest-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/jest/index.ts", - "tsConfig": "packages-legacy/jest/tsconfig.json", - "outputPath": "build/packages/jest-legacy", - "assets": [ - { - "input": "packages-legacy/jest", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/jest", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - } -} diff --git a/packages-legacy/jest/tsconfig.json b/packages-legacy/jest/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/jest/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/js/README.md b/packages-legacy/js/README.md deleted file mode 100644 index 09a04c5545..0000000000 --- a/packages-legacy/js/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/js has been renamed to @nx/js! - -@nrwl/js has been renamed to [@nx/js](https://www.npmjs.com/package/@nx/js). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/js will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/js/babel.ts b/packages-legacy/js/babel.ts deleted file mode 100644 index 6384b1444d..0000000000 --- a/packages-legacy/js/babel.ts +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@nx/js/babel'); diff --git a/packages-legacy/js/executors.json b/packages-legacy/js/executors.json deleted file mode 100644 index ff218748b0..0000000000 --- a/packages-legacy/js/executors.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "$schema": "https://json-schema.org/schema", - "executors": { - "tsc": { - "implementation": "@nx/js/src/executors/tsc/tsc.impl", - "schema": "@nx/js/src/executors/tsc/schema.json", - "description": "Build a project using TypeScript." - }, - "swc": { - "implementation": "@nx/js/src/executors/swc/swc.impl", - "schema": "@nx/js/src/executors/swc/schema.json", - "description": "Build a project using SWC." - }, - "node": { - "implementation": "@nx/js/src/executors/node/node.impl", - "schema": "@nx/js/src/executors/node/schema.json", - "description": "Execute a Node application." - } - }, - "builders": { - "tsc": { - "implementation": "@nx/js/src/executors/tsc/compat", - "schema": "@nx/js/src/executors/tsc/schema.json", - "description": "Build a project using TypeScript." - }, - "swc": { - "implementation": "@nx/js/src/executors/swc/compat", - "schema": "@nx/js/src/executors/swc/schema.json", - "description": "Build a project using SWC." - }, - "node": { - "implementation": "@nx/js/src/executors/node/compat", - "schema": "@nx/js/src/executors/node/schema.json", - "description": "Execute a Node application." - } - } -} diff --git a/packages-legacy/js/generators.json b/packages-legacy/js/generators.json deleted file mode 100644 index a2545983d2..0000000000 --- a/packages-legacy/js/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/js"], - "schematics": {} -} diff --git a/packages-legacy/js/index.ts b/packages-legacy/js/index.ts deleted file mode 100644 index c1f5e6d674..0000000000 --- a/packages-legacy/js/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/js'; diff --git a/packages-legacy/js/package.json b/packages-legacy/js/package.json deleted file mode 100644 index 7239ee1d41..0000000000 --- a/packages-legacy/js/package.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "@nrwl/js", - "version": "0.0.1", - "private": false, - "description": "The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects. ", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/js" - }, - "keywords": [ - "Monorepo", - "Web", - "Node", - "Swc", - "Tsc", - "CLI" - ], - "main": "./index.js", - "typings": "./index.d.ts", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "generators": "./generators.json", - "schematics": "./generators.json", - "executors": "./executors.json", - "builders": "./executors.json", - "dependencies": { - "@nx/js": "file:../../packages/js" - }, - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/js/migrations.json" - } -} diff --git a/packages-legacy/js/project.json b/packages-legacy/js/project.json deleted file mode 100644 index 40bdfee0c2..0000000000 --- a/packages-legacy/js/project.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "js-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/js", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js js-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/js/index.ts", - "tsConfig": "packages-legacy/js/tsconfig.json", - "outputPath": "build/packages/js-legacy", - "assets": [ - { - "input": "packages-legacy/js", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/js", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - }, - "tags": [] -} diff --git a/packages-legacy/js/tsconfig.json b/packages-legacy/js/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/js/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/linter-nx/README.md b/packages-legacy/linter-nx/README.md deleted file mode 100644 index cd1bf69381..0000000000 --- a/packages-legacy/linter-nx/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nx/linter has been renamed to @nx/eslint! - -@nx/linter has been renamed to [@nx/eslint](https://www.npmjs.com/package/@nx/eslint). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nx/linter will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/linter-nx/executors.json b/packages-legacy/linter-nx/executors.json deleted file mode 100644 index 82ea0a2928..0000000000 --- a/packages-legacy/linter-nx/executors.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "builders": { - "eslint": { - "implementation": "@nx/eslint/src/executors/lint/compat", - "schema": "@nx/eslint/src/executors/lint/schema.json", - "description": "Run ESLint on a project." - } - }, - "executors": { - "eslint": { - "implementation": "@nx/eslint/src/executors/lint/lint.impl", - "schema": "@nx/eslint/src/executors/lint/schema.json", - "hasher": "@nx/eslint/src/executors/lint/hasher", - "description": "Run ESLint on a project." - } - } -} diff --git a/packages-legacy/linter-nx/generators.json b/packages-legacy/linter-nx/generators.json deleted file mode 100644 index 0ff8e21d46..0000000000 --- a/packages-legacy/linter-nx/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/eslint"], - "schematics": {} -} diff --git a/packages-legacy/linter-nx/index.ts b/packages-legacy/linter-nx/index.ts deleted file mode 100644 index e320f1b0c9..0000000000 --- a/packages-legacy/linter-nx/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/eslint'; diff --git a/packages-legacy/linter-nx/package.json b/packages-legacy/linter-nx/package.json deleted file mode 100644 index f902d3ea2a..0000000000 --- a/packages-legacy/linter-nx/package.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "name": "@nx/linter", - "version": "0.0.1", - "private": false, - "description": "The Linter plugin for Nx contains executors, generators and utilities used for linting JavaScript/TypeScript projects within an Nx workspace.", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/linter-nx" - }, - "keywords": [ - "Monorepo", - "Web", - "Lint", - "ESLint", - "CLI" - ], - "main": "./index", - "typings": "./index.d.ts", - "author": "Victor Savkin", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "builders": "./executors.json", - "schematics": "./generators.json", - "dependencies": { - "@nx/eslint": "file:../../packages/eslint" - }, - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/eslint/migrations.json" - } -} diff --git a/packages-legacy/linter-nx/project.json b/packages-legacy/linter-nx/project.json deleted file mode 100644 index 68639f5734..0000000000 --- a/packages-legacy/linter-nx/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "linter-nx-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/linter-nx", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js linter-nx-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/linter-nx/index.ts", - "tsConfig": "packages-legacy/linter-nx/tsconfig.json", - "outputPath": "build/packages/linter-nx-legacy", - "assets": [ - { - "input": "packages-legacy/linter-nx", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/linter-nx", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - } -} diff --git a/packages-legacy/linter-nx/tsconfig.json b/packages-legacy/linter-nx/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/linter-nx/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/linter/README.md b/packages-legacy/linter/README.md deleted file mode 100644 index d665dec28b..0000000000 --- a/packages-legacy/linter/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/linter has been renamed to @nx/eslint! - -@nrwl/linter has been renamed to [@nx/eslint](https://www.npmjs.com/package/@nx/eslint). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/linter will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/linter/executors.json b/packages-legacy/linter/executors.json deleted file mode 100644 index 82ea0a2928..0000000000 --- a/packages-legacy/linter/executors.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "builders": { - "eslint": { - "implementation": "@nx/eslint/src/executors/lint/compat", - "schema": "@nx/eslint/src/executors/lint/schema.json", - "description": "Run ESLint on a project." - } - }, - "executors": { - "eslint": { - "implementation": "@nx/eslint/src/executors/lint/lint.impl", - "schema": "@nx/eslint/src/executors/lint/schema.json", - "hasher": "@nx/eslint/src/executors/lint/hasher", - "description": "Run ESLint on a project." - } - } -} diff --git a/packages-legacy/linter/generators.json b/packages-legacy/linter/generators.json deleted file mode 100644 index 0ff8e21d46..0000000000 --- a/packages-legacy/linter/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/eslint"], - "schematics": {} -} diff --git a/packages-legacy/linter/index.ts b/packages-legacy/linter/index.ts deleted file mode 100644 index e320f1b0c9..0000000000 --- a/packages-legacy/linter/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/eslint'; diff --git a/packages-legacy/linter/package.json b/packages-legacy/linter/package.json deleted file mode 100644 index ef0ca3de89..0000000000 --- a/packages-legacy/linter/package.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "name": "@nrwl/linter", - "version": "0.0.1", - "private": false, - "description": "The Linter plugin for Nx contains executors, generators and utilities used for linting JavaScript/TypeScript projects within an Nx workspace.", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/linter" - }, - "keywords": [ - "Monorepo", - "Web", - "Lint", - "ESLint", - "CLI" - ], - "main": "./index", - "typings": "./index.d.ts", - "author": "Victor Savkin", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "builders": "./executors.json", - "schematics": "./generators.json", - "dependencies": { - "@nx/eslint": "file:../../packages/eslint" - }, - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/eslint/migrations.json" - } -} diff --git a/packages-legacy/linter/project.json b/packages-legacy/linter/project.json deleted file mode 100644 index 9cbaa08d31..0000000000 --- a/packages-legacy/linter/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "linter-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/linter", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js linter-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/linter/index.ts", - "tsConfig": "packages-legacy/linter/tsconfig.json", - "outputPath": "build/packages/linter-legacy", - "assets": [ - { - "input": "packages-legacy/linter", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/linter", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - } -} diff --git a/packages-legacy/linter/tsconfig.json b/packages-legacy/linter/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/linter/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/nest/README.md b/packages-legacy/nest/README.md deleted file mode 100644 index ca05f09fb3..0000000000 --- a/packages-legacy/nest/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/nest has been renamed to @nx/nest! - -@nrwl/nest has been renamed to [@nx/nest](https://www.npmjs.com/package/@nx/nest). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/nest will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/nest/generators.json b/packages-legacy/nest/generators.json deleted file mode 100644 index bdc46c352f..0000000000 --- a/packages-legacy/nest/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/nest"], - "schematics": {} -} diff --git a/packages-legacy/nest/index.ts b/packages-legacy/nest/index.ts deleted file mode 100644 index 28fca7030e..0000000000 --- a/packages-legacy/nest/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/nest'; diff --git a/packages-legacy/nest/package.json b/packages-legacy/nest/package.json deleted file mode 100644 index a42192e842..0000000000 --- a/packages-legacy/nest/package.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "name": "@nrwl/nest", - "version": "0.0.1", - "private": false, - "description": "The Nx Plugin for Nest contains executors and generators for allowing your workspace to create powerful Nest best in class APIs.", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/nest" - }, - "keywords": [ - "Monorepo", - "Node", - "Nest", - "Jest", - "Cypress", - "CLI" - ], - "main": "./index", - "typings": "./index.d.ts", - "author": "Victor Savkin", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "schematics": "./generators.json", - "dependencies": { - "@nx/nest": "file:../../packages/nest" - }, - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/nest/migrations.json" - } -} diff --git a/packages-legacy/nest/project.json b/packages-legacy/nest/project.json deleted file mode 100644 index a724e16a18..0000000000 --- a/packages-legacy/nest/project.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "nest-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/nest", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js nest-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/nest/index.ts", - "tsConfig": "packages-legacy/nest/tsconfig.json", - "outputPath": "build/packages/nest-legacy", - "assets": [ - { - "input": "packages-legacy/nest", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/nest", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - }, - "implicitDependencies": ["node", "eslint"] -} diff --git a/packages-legacy/nest/tsconfig.json b/packages-legacy/nest/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/nest/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/next/README.md b/packages-legacy/next/README.md deleted file mode 100644 index d5b5cb69a8..0000000000 --- a/packages-legacy/next/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/next has been renamed to @nx/next! - -@nrwl/next has been renamed to [@nx/next](https://www.npmjs.com/package/@nx/next). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/next will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/next/babel.ts b/packages-legacy/next/babel.ts deleted file mode 100644 index 0da4391f04..0000000000 --- a/packages-legacy/next/babel.ts +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@nx/next/babel'); diff --git a/packages-legacy/next/executors.json b/packages-legacy/next/executors.json deleted file mode 100644 index 9c780f4d87..0000000000 --- a/packages-legacy/next/executors.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "executors": { - "build": { - "implementation": "@nx/next/src/executors/build/build.impl", - "schema": "@nx/next/src/executors/build/schema.json", - "description": "Build a Next.js application." - }, - "server": { - "implementation": "@nx/next/src/executors/server/server.impl", - "schema": "@nx/next/src/executors/server/schema.json", - "description": "Serve a Next.js application." - }, - "export": { - "implementation": "@nx/next/src/executors/export/export.impl", - "schema": "@nx/next/src/executors/export/schema.json", - "description": "Export a Next.js application. The exported application is located at `dist/$outputPath/exported`." - } - }, - "builders": { - "build": { - "implementation": "@nx/next/src/executors/build/compat", - "schema": "@nx/next/src/executors/build/schema.json", - "description": "Build a Next.js application." - }, - "server": { - "implementation": "@nx/next/src/executors/server/compat", - "schema": "@nx/next/src/executors/server/schema.json", - "description": "Serve a Next.js application." - }, - "export": { - "implementation": "@nx/next/src/executors/export/compat", - "schema": "@nx/next/src/executors/export/schema.json", - "description": "Export a Next.js application. The exported application is located at `dist/$outputPath/exported`." - } - } -} diff --git a/packages-legacy/next/generators.json b/packages-legacy/next/generators.json deleted file mode 100644 index 76489cddb3..0000000000 --- a/packages-legacy/next/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/next"], - "schematics": {} -} diff --git a/packages-legacy/next/index.ts b/packages-legacy/next/index.ts deleted file mode 100644 index ebb5aaf8a9..0000000000 --- a/packages-legacy/next/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/next'; diff --git a/packages-legacy/next/package.json b/packages-legacy/next/package.json deleted file mode 100644 index b7aad5f9fd..0000000000 --- a/packages-legacy/next/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "@nrwl/next", - "version": "0.0.1", - "private": false, - "description": "The Next.js plugin for Nx contains executors and generators for managing Next.js applications and libraries within an Nx workspace. It provides:\n\n\n- Scaffolding for creating, building, serving, linting, and testing Next.js applications.\n\n- Integration with building, serving, and exporting a Next.js application.\n\n- Integration with React libraries within the workspace. \n\nWhen using Next.js in Nx, you get the out-of-the-box support for TypeScript, Cypress, and Jest. No need to configure anything: watch mode, source maps, and typings just work.", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/next" - }, - "keywords": [ - "Monorepo", - "Node", - "Next", - "Jest", - "Cypress", - "CLI" - ], - "main": "./index", - "typings": "./index.d.ts", - "author": "Victor Savkin", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "schematics": "./generators.json", - "builders": "./executors.json", - "dependencies": { - "@nx/next": "file:../../packages/next" - }, - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/next/migrations.json" - } -} diff --git a/packages-legacy/next/plugins/with-less.ts b/packages-legacy/next/plugins/with-less.ts deleted file mode 100644 index 04e76a31ec..0000000000 --- a/packages-legacy/next/plugins/with-less.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/next/plugins/with-less'; diff --git a/packages-legacy/next/plugins/with-nx.ts b/packages-legacy/next/plugins/with-nx.ts deleted file mode 100644 index 919b742bc4..0000000000 --- a/packages-legacy/next/plugins/with-nx.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/next/plugins/with-nx'; diff --git a/packages-legacy/next/plugins/with-stylus.ts b/packages-legacy/next/plugins/with-stylus.ts deleted file mode 100644 index 689b14a957..0000000000 --- a/packages-legacy/next/plugins/with-stylus.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/next/plugins/with-stylus'; diff --git a/packages-legacy/next/project.json b/packages-legacy/next/project.json deleted file mode 100644 index b1c4e348a4..0000000000 --- a/packages-legacy/next/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "next-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/next", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js next-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/next/index.ts", - "tsConfig": "packages-legacy/next/tsconfig.json", - "outputPath": "build/packages/next-legacy", - "assets": [ - { - "input": "packages-legacy/next", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/next", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - } -} diff --git a/packages-legacy/next/tailwind.ts b/packages-legacy/next/tailwind.ts deleted file mode 100644 index 4e86d13901..0000000000 --- a/packages-legacy/next/tailwind.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/next/tailwind'; diff --git a/packages-legacy/next/tsconfig.json b/packages-legacy/next/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/next/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/next/typings/image.d.ts b/packages-legacy/next/typings/image.d.ts deleted file mode 100644 index 54ff85aba6..0000000000 --- a/packages-legacy/next/typings/image.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/// - -declare module '*.svg' { - import * as React from 'react'; - - export const ReactComponent: React.FunctionComponent< - React.SVGProps & { title?: string } - >; - - const content: any; - export default content; -} diff --git a/packages-legacy/node/README.md b/packages-legacy/node/README.md deleted file mode 100644 index 66e984a110..0000000000 --- a/packages-legacy/node/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/node has been renamed to @nx/node! - -@nrwl/node has been renamed to [@nx/node](https://www.npmjs.com/package/@nx/node). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/node will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/node/executors.json b/packages-legacy/node/executors.json deleted file mode 100644 index 074fd93eaf..0000000000 --- a/packages-legacy/node/executors.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "executors": { - "webpack": { - "implementation": "@nx/node/src/executors/webpack/webpack.impl", - "schema": "@nx/node/src/executors/webpack/schema.json", - "description": "Build a Node application using Webpack." - }, - "node": { - "implementation": "@nx/node/src/executors/node/node.impl", - "schema": "@nx/node/src/executors/node/schema.json", - "description": "Execute a Node application." - } - }, - "builders": { - "webpack": { - "implementation": "@nx/node/src/executors/webpack/compat", - "schema": "@nx/node/src/executors/webpack/schema.json", - "description": "Build a Node application using Webpack." - }, - "node": { - "implementation": "@nx/node/src/executors/node/compat", - "schema": "@nx/node/src/executors/node/schema.json", - "description": "Execute a Node application." - } - } -} diff --git a/packages-legacy/node/generators.json b/packages-legacy/node/generators.json deleted file mode 100644 index ab96d29e48..0000000000 --- a/packages-legacy/node/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/node"], - "schematics": {} -} diff --git a/packages-legacy/node/index.ts b/packages-legacy/node/index.ts deleted file mode 100644 index 1e229f8fa0..0000000000 --- a/packages-legacy/node/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/node'; diff --git a/packages-legacy/node/package.json b/packages-legacy/node/package.json deleted file mode 100644 index e4f0eb2f85..0000000000 --- a/packages-legacy/node/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "@nrwl/node", - "version": "0.0.1", - "private": false, - "description": "The Node Plugin for Nx contains generators and executors to manage Node applications within an Nx workspace.", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/node" - }, - "keywords": [ - "Monorepo", - "Node", - "Nest", - "Jest", - "Cypress", - "CLI" - ], - "main": "./index", - "typings": "./index.d.ts", - "author": "Victor Savkin", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "schematics": "./generators.json", - "builders": "./executors.json", - "dependencies": { - "@nx/node": "file:../../packages/node" - }, - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/node/migrations.json" - } -} diff --git a/packages-legacy/node/project.json b/packages-legacy/node/project.json deleted file mode 100644 index 3848c56792..0000000000 --- a/packages-legacy/node/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "node-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/node", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js node-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/node/index.ts", - "tsConfig": "packages-legacy/node/tsconfig.json", - "outputPath": "build/packages/node-legacy", - "assets": [ - { - "input": "packages-legacy/node", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/node", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - } -} diff --git a/packages-legacy/node/tsconfig.json b/packages-legacy/node/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/node/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/nx-plugin/README.md b/packages-legacy/nx-plugin/README.md deleted file mode 100644 index 1920f1f250..0000000000 --- a/packages-legacy/nx-plugin/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/nx-plugin has been renamed to @nx/plugin! - -@nrwl/nx-plugin has been renamed to [@nx/plugin](https://www.npmjs.com/package/@nx/plugin). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/nx-plugin will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/nx-plugin/executors.json b/packages-legacy/nx-plugin/executors.json deleted file mode 100644 index 4c38f38ba3..0000000000 --- a/packages-legacy/nx-plugin/executors.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "builders": { - "e2e": { - "implementation": "@nx/plugin/src/executors/e2e/compat", - "schema": "@nx/plugin/src/executors/e2e/schema.json", - "description": "Creates and runs the E2E tests for an Nx Plugin." - } - }, - "executors": { - "e2e": { - "implementation": "@nx/plugin/src/executors/e2e/e2e.impl", - "schema": "@nx/plugin/src/executors/e2e/schema.json", - "description": "Creates and runs the E2E tests for an Nx Plugin." - } - } -} diff --git a/packages-legacy/nx-plugin/generators.json b/packages-legacy/nx-plugin/generators.json deleted file mode 100644 index 0e17f026e3..0000000000 --- a/packages-legacy/nx-plugin/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/plugin"], - "schematics": {} -} diff --git a/packages-legacy/nx-plugin/generators.ts b/packages-legacy/nx-plugin/generators.ts deleted file mode 100644 index b687cbad8e..0000000000 --- a/packages-legacy/nx-plugin/generators.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/plugin/generators'; diff --git a/packages-legacy/nx-plugin/index.ts b/packages-legacy/nx-plugin/index.ts deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages-legacy/nx-plugin/package.json b/packages-legacy/nx-plugin/package.json deleted file mode 100644 index ba13c3578e..0000000000 --- a/packages-legacy/nx-plugin/package.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "@nrwl/nx-plugin", - "version": "0.0.1", - "private": false, - "description": "This plugin is used to create Nx plugins! It contains generators for generating common plugin features like generators, executors, migrations and more.", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/nx-plugin" - }, - "keywords": [ - "Monorepo", - "Nx", - "CLI" - ], - "main": "./index", - "types": "./index.d.ts", - "author": "Nrwl", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "schematics": "./generators.json", - "builders": "./executors.json", - "dependencies": { - "@nx/plugin": "file:../../packages/plugin" - }, - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/plugin/migrations.json" - } -} diff --git a/packages-legacy/nx-plugin/project.json b/packages-legacy/nx-plugin/project.json deleted file mode 100644 index ab48206981..0000000000 --- a/packages-legacy/nx-plugin/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "nx-plugin-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/nx-plugin", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js nx-plugin-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/nx-plugin/index.ts", - "tsConfig": "packages-legacy/nx-plugin/tsconfig.json", - "outputPath": "build/packages/nx-plugin-legacy", - "assets": [ - { - "input": "packages-legacy/nx-plugin", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/nx-plugin", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - } -} diff --git a/packages-legacy/nx-plugin/testing.ts b/packages-legacy/nx-plugin/testing.ts deleted file mode 100644 index 483bb9e6f6..0000000000 --- a/packages-legacy/nx-plugin/testing.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/plugin/testing'; diff --git a/packages-legacy/nx-plugin/tsconfig.json b/packages-legacy/nx-plugin/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/nx-plugin/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/react-native/README.md b/packages-legacy/react-native/README.md deleted file mode 100644 index 89663cabe1..0000000000 --- a/packages-legacy/react-native/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/react-native has been renamed to @nx/react-native! - -@nrwl/react-native has been renamed to [@nx/react-native](https://www.npmjs.com/package/@nx/react-native). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/react-native will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/react-native/executors.json b/packages-legacy/react-native/executors.json deleted file mode 100644 index fc773ebd14..0000000000 --- a/packages-legacy/react-native/executors.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "executors": { - "run-android": { - "implementation": "@nx/react-native/src/executors/run-android/run-android.impl", - "schema": "@nx/react-native/src/executors/run-android/schema.json", - "description": "Runs Android application." - }, - "run-ios": { - "implementation": "@nx/react-native/src/executors/run-ios/run-ios.impl", - "schema": "@nx/react-native/src/executors/run-ios/schema.json", - "description": "Runs iOS application." - }, - "bundle": { - "implementation": "@nx/react-native/src/executors/bundle/bundle.impl", - "schema": "@nx/react-native/src/executors/bundle/schema.json", - "description": "Builds the JavaScript bundle for offline use." - }, - "build-android": { - "implementation": "@nx/react-native/src/executors/build-android/build-android.impl", - "schema": "@nx/react-native/src/executors/build-android/schema.json", - "description": "Release Build for Android." - }, - "build-ios": { - "implementation": "@nx/react-native/src/executors/build-ios/build-ios.impl", - "schema": "@nx/react-native/src/executors/build-ios/schema.json", - "description": "Build iOS app" - }, - "start": { - "implementation": "@nx/react-native/src/executors/start/start.impl", - "schema": "@nx/react-native/src/executors/start/schema.json", - "description": "Starts the Javascript server that communicates with connected devices." - }, - "sync-deps": { - "implementation": "@nx/react-native/src/executors/sync-deps/sync-deps.impl", - "schema": "@nx/react-native/src/executors/sync-deps/schema.json", - "description": "Syncs dependencies to `package.json` (required for autolinking)." - }, - "ensure-symlink": { - "implementation": "@nx/react-native/src/executors/ensure-symlink/ensure-symlink.impl", - "schema": "@nx/react-native/src/executors/ensure-symlink/schema.json", - "description": "Ensure workspace `node_modules` is symlink under app's `node_modules` folder." - }, - "storybook": { - "implementation": "@nx/react-native/src/executors/storybook/storybook.impl", - "schema": "@nx/react-native/src/executors/storybook/schema.json", - "description": "Serve React Native Storybook." - }, - "pod-install": { - "implementation": "@nx/react-native/src/executors/pod-install/pod-install.impl", - "schema": "@nx/react-native/src/executors/pod-install/schema.json", - "description": "Run `pod install` in the `ios` directory." - } - }, - "builders": { - "run-android": { - "implementation": "@nx/react-native/src/executors/run-android/compat", - "schema": "@nx/react-native/src/executors/run-android/schema.json", - "description": "Runs Android application." - }, - "run-ios": { - "implementation": "@nx/react-native/src/executors/run-ios/compat", - "schema": "@nx/react-native/src/executors/run-ios/schema.json", - "description": "Runs iOS application." - }, - "bundle": { - "implementation": "@nx/react-native/src/executors/bundle/compat", - "schema": "@nx/react-native/src/executors/bundle/schema.json", - "description": "Builds the JavaScript bundle for offline use." - }, - "build-android": { - "implementation": "@nx/react-native/src/executors/build-android/compat", - "schema": "@nx/react-native/src/executors/build-android/schema.json", - "description": "Release Build for Android." - }, - "build-ios": { - "implementation": "@nx/react-native/src/executors/build-ios/compat", - "schema": "@nx/react-native/src/executors/build-ios/schema.json", - "description": "Build iOS app" - }, - "start": { - "implementation": "@nx/react-native/src/executors/start/compat", - "schema": "@nx/react-native/src/executors/start/schema.json", - "description": "Starts the Javascript server that communicates with connected devices." - }, - "sync-deps": { - "implementation": "@nx/react-native/src/executors/sync-deps/compat", - "schema": "@nx/react-native/src/executors/sync-deps/schema.json", - "description": "Syncs dependencies to `package.json` (required for autolinking)." - }, - "ensure-symlink": { - "implementation": "@nx/react-native/src/executors/ensure-symlink/compat", - "schema": "@nx/react-native/src/executors/ensure-symlink/schema.json", - "description": "Ensure workspace `node_modules` is symlink under app's `node_modules` folder." - }, - "storybook": { - "implementation": "@nx/react-native/src/executors/storybook/compat", - "schema": "@nx/react-native/src/executors/storybook/schema.json", - "description": "Serve React Native Storybook." - }, - "pod-install": { - "implementation": "@nx/react-native/src/executors/pod-install/compat", - "schema": "@nx/react-native/src/executors/pod-install/schema.json", - "description": "Run `pod install` in the `ios` directory." - } - } -} diff --git a/packages-legacy/react-native/generators.json b/packages-legacy/react-native/generators.json deleted file mode 100644 index 0b4121fe5b..0000000000 --- a/packages-legacy/react-native/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/react-native"], - "schematics": {} -} diff --git a/packages-legacy/react-native/index.ts b/packages-legacy/react-native/index.ts deleted file mode 100644 index 51bc127a6e..0000000000 --- a/packages-legacy/react-native/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/react-native'; diff --git a/packages-legacy/react-native/package.json b/packages-legacy/react-native/package.json deleted file mode 100644 index 1f69304c55..0000000000 --- a/packages-legacy/react-native/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "@nrwl/react-native", - "version": "0.0.1", - "private": false, - "description": "The Nx Plugin for React Native contains generators for managing React Native applications and libraries within an Nx workspace. It provides: \n\n-Integration with libraries such as Jest, Detox, and Storybook.\n-Scaffolding for creating buildable libraries that can be published to npm.\n-Utilities for automatic workspace refactoring.", - "keywords": [ - "Monorepo", - "React", - "Web", - "Jest", - "Native", - "CLI" - ], - "homepage": "https://nx.dev", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/react-native" - }, - "license": "MIT", - "author": "Victor Savkin", - "main": "./index", - "types": "index.d.ts", - "dependencies": { - "@nx/react-native": "file:../../packages/react-native" - }, - "builders": "./executors.json", - "schematics": "./generators.json", - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/react-native/migrations.json" - } -} diff --git a/packages-legacy/react-native/plugins/jest/svg-mock.ts b/packages-legacy/react-native/plugins/jest/svg-mock.ts deleted file mode 100644 index 5d45aae397..0000000000 --- a/packages-legacy/react-native/plugins/jest/svg-mock.ts +++ /dev/null @@ -1,3 +0,0 @@ -// From https://github.com/kristerkari/react-native-svg-transformer#usage-with-jest -module.exports = 'SvgMock'; -module.exports.ReactComponent = 'SvgMock'; diff --git a/packages-legacy/react-native/plugins/with-nx-metro.ts b/packages-legacy/react-native/plugins/with-nx-metro.ts deleted file mode 100644 index e2b18e5c7e..0000000000 --- a/packages-legacy/react-native/plugins/with-nx-metro.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/react-native/plugins/with-nx-metro'; diff --git a/packages-legacy/react-native/project.json b/packages-legacy/react-native/project.json deleted file mode 100644 index 5adec4fb05..0000000000 --- a/packages-legacy/react-native/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "react-native-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/react-native", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js react-native-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/react-native/index.ts", - "tsConfig": "packages-legacy/react-native/tsconfig.json", - "outputPath": "build/packages/react-native-legacy", - "assets": [ - { - "input": "packages-legacy/react-native", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/react-native", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - } -} diff --git a/packages-legacy/react-native/tsconfig.json b/packages-legacy/react-native/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/react-native/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/react-native/typings/svg.d.ts b/packages-legacy/react-native/typings/svg.d.ts deleted file mode 100644 index 7c42ae1dd7..0000000000 --- a/packages-legacy/react-native/typings/svg.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -// from https://github.com/kristerkari/react-native-svg-transformer#using-typescript -declare module '*.svg' { - import React from 'react'; - import { SvgProps } from 'react-native-svg'; - const content: React.FC; - export default content; -} diff --git a/packages-legacy/react/README.md b/packages-legacy/react/README.md deleted file mode 100644 index 06433903cb..0000000000 --- a/packages-legacy/react/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/react has been renamed to @nx/react! - -@nrwl/react has been renamed to [@nx/react](https://www.npmjs.com/package/@nx/react). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/react will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/react/ast-utils.ts b/packages-legacy/react/ast-utils.ts deleted file mode 100644 index f54db8abf7..0000000000 --- a/packages-legacy/react/ast-utils.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/react/ast-utils'; diff --git a/packages-legacy/react/babel.ts b/packages-legacy/react/babel.ts deleted file mode 100644 index c15d05c864..0000000000 --- a/packages-legacy/react/babel.ts +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@nx/react/babel'); diff --git a/packages-legacy/react/executors.json b/packages-legacy/react/executors.json deleted file mode 100644 index bd63d5ce50..0000000000 --- a/packages-legacy/react/executors.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "builders": { - "module-federation-dev-server": { - "implementation": "@nx/react/src/executors/module-federation-dev-server/compat", - "schema": "@nx/react/src/executors/module-federation-dev-server/schema.json", - "description": "Serve a host or remote application." - }, - "module-federation-ssr-dev-server": { - "implementation": "@nx/react/src/executors/module-federation-ssr-dev-server/compat", - "schema": "@nx/react/src/executors/module-federation-ssr-dev-server/schema.json", - "description": "Serve a host application along with it's known remotes." - } - }, - "executors": { - "module-federation-dev-server": { - "implementation": "@nx/react/src/executors/module-federation-dev-server/module-federation-dev-server.impl", - "schema": "@nx/react/src/executors/module-federation-dev-server/schema.json", - "description": "Serve a host or remote application." - }, - "module-federation-ssr-dev-server": { - "implementation": "@nx/react/src/executors/module-federation-ssr-dev-server/module-federation-ssr-dev-server.impl", - "schema": "@nx/react/src/executors/module-federation-ssr-dev-server/schema.json", - "description": "Serve a host application along with it's known remotes." - } - } -} diff --git a/packages-legacy/react/generators.json b/packages-legacy/react/generators.json deleted file mode 100644 index 37de7079b8..0000000000 --- a/packages-legacy/react/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/react"], - "schematics": {} -} diff --git a/packages-legacy/react/index.ts b/packages-legacy/react/index.ts deleted file mode 100644 index 216f7e0926..0000000000 --- a/packages-legacy/react/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/react'; diff --git a/packages-legacy/react/module-federation.ts b/packages-legacy/react/module-federation.ts deleted file mode 100644 index 94f304cbc3..0000000000 --- a/packages-legacy/react/module-federation.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/react/module-federation'; diff --git a/packages-legacy/react/package.json b/packages-legacy/react/package.json deleted file mode 100644 index 440fcb129b..0000000000 --- a/packages-legacy/react/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "@nrwl/react", - "version": "0.0.1", - "private": false, - "description": "The React plugin for Nx contains executors and generators for managing React applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Jest, Cypress, and Storybook.\n\n- Generators for applications, libraries, components, hooks, and more.\n\n- Library build support for publishing packages to npm or other registries.\n\n- Utilities for automatic workspace refactoring.", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/react" - }, - "keywords": [ - "Monorepo", - "React", - "Web", - "Jest", - "Cypress", - "CLI" - ], - "main": "./index", - "typings": "./index.d.ts", - "author": "Victor Savkin", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "builders": "./executors.json", - "schematics": "./generators.json", - "dependencies": { - "@nx/react": "file:../../packages/react" - }, - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/react/migrations.json" - } -} diff --git a/packages-legacy/react/plugins/bundle-rollup.ts b/packages-legacy/react/plugins/bundle-rollup.ts deleted file mode 100644 index 76f043592f..0000000000 --- a/packages-legacy/react/plugins/bundle-rollup.ts +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@nx/react/plugins/bundle-rollup'); diff --git a/packages-legacy/react/plugins/component-testing/index.ts b/packages-legacy/react/plugins/component-testing/index.ts deleted file mode 100644 index bdfce05e1b..0000000000 --- a/packages-legacy/react/plugins/component-testing/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/react/plugins/component-testing'; diff --git a/packages-legacy/react/plugins/jest.ts b/packages-legacy/react/plugins/jest.ts deleted file mode 100644 index 265624ce53..0000000000 --- a/packages-legacy/react/plugins/jest.ts +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@nx/react/plugins/jest'); diff --git a/packages-legacy/react/plugins/storybook/index.ts b/packages-legacy/react/plugins/storybook/index.ts deleted file mode 100644 index 3edfc745f9..0000000000 --- a/packages-legacy/react/plugins/storybook/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/react/plugins/storybook'; diff --git a/packages-legacy/react/plugins/webpack.ts b/packages-legacy/react/plugins/webpack.ts deleted file mode 100644 index 04381eaa9a..0000000000 --- a/packages-legacy/react/plugins/webpack.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/react/plugins/webpack'; diff --git a/packages-legacy/react/plugins/with-react.ts b/packages-legacy/react/plugins/with-react.ts deleted file mode 100644 index db56767982..0000000000 --- a/packages-legacy/react/plugins/with-react.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/react/plugins/with-react'; diff --git a/packages-legacy/react/project.json b/packages-legacy/react/project.json deleted file mode 100644 index 574c1fdd43..0000000000 --- a/packages-legacy/react/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "react-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/react", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js react-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/react/index.ts", - "tsConfig": "packages-legacy/react/tsconfig.json", - "outputPath": "build/packages/react-legacy", - "assets": [ - { - "input": "packages-legacy/react", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/react", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - } -} diff --git a/packages-legacy/react/tailwind.ts b/packages-legacy/react/tailwind.ts deleted file mode 100644 index 8c9e3abfe5..0000000000 --- a/packages-legacy/react/tailwind.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/react/tailwind'; diff --git a/packages-legacy/react/tsconfig.json b/packages-legacy/react/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/react/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/react/typings/cssmodule.d.ts b/packages-legacy/react/typings/cssmodule.d.ts deleted file mode 100644 index 864686ce3b..0000000000 --- a/packages-legacy/react/typings/cssmodule.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare module '*.module.css' { - const classes: { readonly [key: string]: string }; - export default classes; -} - -declare module '*.module.scss' { - const classes: { readonly [key: string]: string }; - export default classes; -} - -declare module '*.module.sass' { - const classes: { readonly [key: string]: string }; - export default classes; -} - -declare module '*.module.less' { - const classes: { readonly [key: string]: string }; - export default classes; -} diff --git a/packages-legacy/react/typings/image.d.ts b/packages-legacy/react/typings/image.d.ts deleted file mode 100644 index 427d461daf..0000000000 --- a/packages-legacy/react/typings/image.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -/// -/// - -declare module '*.svg' { - import * as React from 'react'; - - export const ReactComponent: React.FunctionComponent< - React.SVGProps & { title?: string } - >; - - const src: string; - export default src; -} - -declare module '*.bmp' { - const src: string; - export default src; -} - -declare module '*.gif' { - const src: string; - export default src; -} - -declare module '*.jpg' { - const src: string; - export default src; -} - -declare module '*.jpeg' { - const src: string; - export default src; -} - -declare module '*.png' { - const src: string; - export default src; -} - -declare module '*.avif' { - const src: string; - export default src; -} - -declare module '*.webp' { - const src: string; - export default src; -} diff --git a/packages-legacy/react/typings/style.d.ts b/packages-legacy/react/typings/style.d.ts deleted file mode 100644 index 2197a57542..0000000000 --- a/packages-legacy/react/typings/style.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export type SupportedStyles = - | 'css' - | 'scss' - | 'less' - | 'styled-components' - | '@emotion/styled' - | 'styled-jsx' - | 'none'; diff --git a/packages-legacy/react/typings/styled-jsx.d.ts b/packages-legacy/react/typings/styled-jsx.d.ts deleted file mode 100644 index febdbe1583..0000000000 --- a/packages-legacy/react/typings/styled-jsx.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import 'react'; - -declare module 'react' { - interface StyleHTMLAttributes extends React.HTMLAttributes { - jsx?: boolean; - global?: boolean; - } -} diff --git a/packages-legacy/remix/README.md b/packages-legacy/remix/README.md deleted file mode 100644 index 8178d2dd5f..0000000000 --- a/packages-legacy/remix/README.md +++ /dev/null @@ -1,11 +0,0 @@ -## @nrwl/remix has been deprecated! - -@nrwl/remix has been deprecated in favor of [@nx/remix](https://www.npmjs.com/package/@nx/remix). Please use that instead. - -@nrwl/remix will no longer be published in Nx v17. - -

Nx - Smart, Fast and Extensible Build System

- -# Nx: Smart, Fast and Extensible Build System - -Nx is a next generation build system with first class monorepo support and powerful integrations. diff --git a/packages-legacy/remix/generators.json b/packages-legacy/remix/generators.json deleted file mode 100644 index aa164af155..0000000000 --- a/packages-legacy/remix/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/remix"], - "schematics": {} -} diff --git a/packages-legacy/remix/index.ts b/packages-legacy/remix/index.ts deleted file mode 100644 index 17f4557097..0000000000 --- a/packages-legacy/remix/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/remix'; diff --git a/packages-legacy/remix/package.json b/packages-legacy/remix/package.json deleted file mode 100644 index b44d06c675..0000000000 --- a/packages-legacy/remix/package.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "@nrwl/remix", - "version": "0.0.1", - "description": "The Remix plugin for Nx contains executors and generators for managing Remix applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Vitest, Jest, Cypress, and Storybook.\n\n- Generators for applications, libraries, routes, loaders, and more.\n\n- Library build support for publishing packages to npm or other registries.\n\n- Utilities for automatic workspace refactoring.", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/remix" - }, - "keywords": [ - "Monorepo", - "Remix", - "React", - "Web", - "CLI" - ], - "author": "Victor Savkin", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "main": "index.js", - "typings": "./index.d.ts", - "generators": "./generators.json", - "dependencies": { - "@nx/remix": "file:../../packages/remix" - }, - "nx-migrations": { - "migrations": "@nx/remix/migrations.json" - }, - "publishConfig": { - "access": "public" - } -} diff --git a/packages-legacy/remix/project.json b/packages-legacy/remix/project.json deleted file mode 100644 index 6c0b92c597..0000000000 --- a/packages-legacy/remix/project.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "remix-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/remix", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js remix-legacy" - }, - "build-base": { - "executor": "@nrwl/js:tsc", - "dependsOn": ["^build"], - "options": { - "main": "packages-legacy/remix/index.ts", - "tsConfig": "packages-legacy/remix/tsconfig.json", - "outputPath": "build/packages/remix-legacy", - "updateBuildableProjectDepsInPackageJson": false, - "assets": [ - "packages-legacy/remix/*.md", - { - "input": "packages-legacy/remix", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/remix", - "glob": "**/*.d.ts", - "output": "/" - }, - "LICENSE" - ] - } - } - }, - "tags": [] -} diff --git a/packages-legacy/remix/tsconfig.json b/packages-legacy/remix/tsconfig.json deleted file mode 100644 index 9cf8a29c54..0000000000 --- a/packages-legacy/remix/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "module": "commonjs", - "declaration": true - }, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/rollup/README.md b/packages-legacy/rollup/README.md deleted file mode 100644 index 2db1fbd40c..0000000000 --- a/packages-legacy/rollup/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/rollup has been renamed to @nx/rollup! - -@nrwl/rollup has been renamed to [@nx/rollup](https://www.npmjs.com/package/@nx/rollup). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/rollup will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/rollup/executors.json b/packages-legacy/rollup/executors.json deleted file mode 100644 index 1174945b17..0000000000 --- a/packages-legacy/rollup/executors.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "builders": { - "rollup": { - "implementation": "@nx/rollup/src/executors/rollup/compat", - "schema": "@nx/rollup/src/executors/rollup/schema.json", - "description": "Bundle a package using Rollup." - } - }, - "executors": { - "rollup": { - "implementation": "@nx/rollup/src/executors/rollup/rollup.impl", - "schema": "@nx/rollup/src/executors/rollup/schema.json", - "description": "Bundle a package using Rollup." - } - } -} diff --git a/packages-legacy/rollup/generators.json b/packages-legacy/rollup/generators.json deleted file mode 100644 index cbebf1244d..0000000000 --- a/packages-legacy/rollup/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/rollup"], - "schematics": {} -} diff --git a/packages-legacy/rollup/index.ts b/packages-legacy/rollup/index.ts deleted file mode 100644 index 0dc8368744..0000000000 --- a/packages-legacy/rollup/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/rollup'; diff --git a/packages-legacy/rollup/package.json b/packages-legacy/rollup/package.json deleted file mode 100644 index 0c7ec086ba..0000000000 --- a/packages-legacy/rollup/package.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "@nrwl/rollup", - "version": "0.0.1", - "private": false, - "description": "The Nx Plugin for Rollup contains executors and generators that support building applications using Rollup.", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/rollup" - }, - "keywords": [ - "Monorepo", - "Rollup", - "Web", - "CLI" - ], - "main": "./index", - "typings": "./index.d.ts", - "author": "Victor Savkin", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "schematics": "./generators.json", - "builders": "./executors.json", - "dependencies": { - "@nx/rollup": "file:../../packages/rollup" - }, - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/rollup/migrations.json" - } -} diff --git a/packages-legacy/rollup/project.json b/packages-legacy/rollup/project.json deleted file mode 100644 index 9aedf4f410..0000000000 --- a/packages-legacy/rollup/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "rollup-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/rollup", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js rollup-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/rollup/index.ts", - "tsConfig": "packages-legacy/rollup/tsconfig.json", - "outputPath": "build/packages/rollup-legacy", - "assets": [ - { - "input": "packages-legacy/rollup", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/rollup", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - } -} diff --git a/packages-legacy/rollup/tsconfig.json b/packages-legacy/rollup/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/rollup/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/rspack/README.md b/packages-legacy/rspack/README.md deleted file mode 100644 index 12f09ec1da..0000000000 --- a/packages-legacy/rspack/README.md +++ /dev/null @@ -1,11 +0,0 @@ -## @nrwl/rspack has been deprecated! - -@nrwl/rspack has been deprecated in favor of [@nx/rspack](https://www.npmjs.com/package/@nx/rspack). Please use that instead. - -@nrwl/rspack will no longer be published in Nx v17. - -

Nx - Smart, Fast and Extensible Build System

- -# Nx: Smart, Fast and Extensible Build System - -Nx is a next generation build system with first class monorepo support and powerful integrations. diff --git a/packages-legacy/rspack/executors.json b/packages-legacy/rspack/executors.json deleted file mode 100644 index 292b254c51..0000000000 --- a/packages-legacy/rspack/executors.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$schema": "http://json-schema.org/schema", - "executors": { - "rspack": { - "implementation": "@nx/rspack/src/executors/rspack/rspack.impl", - "schema": "@nx/rspack/src/executors/rspack/schema.json", - "description": "rspack executor" - }, - "dev-server": { - "implementation": "@nx/rspack/src/executors/dev-server/dev-server.impl", - "schema": "@nx/rspack/src/executors/dev-server/schema.json", - "description": "dev-server executor" - } - } -} diff --git a/packages-legacy/rspack/generators.json b/packages-legacy/rspack/generators.json deleted file mode 100644 index dc70c4a6af..0000000000 --- a/packages-legacy/rspack/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/rspack"], - "schematics": {} -} diff --git a/packages-legacy/rspack/index.ts b/packages-legacy/rspack/index.ts deleted file mode 100644 index 64c76247e0..0000000000 --- a/packages-legacy/rspack/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/rspack'; diff --git a/packages-legacy/rspack/package.json b/packages-legacy/rspack/package.json deleted file mode 100644 index 68305ae7a0..0000000000 --- a/packages-legacy/rspack/package.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "@nrwl/rspack", - "version": "0.0.1", - "type": "commonjs", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/rspack" - }, - "keywords": [ - "Monorepo", - "Next", - "Vercel" - ], - "author": "Jack Hsu", - "license": "MIT", - "homepage": "https://nx.dev", - "main": "src/index.js", - "generators": "./generators.json", - "executors": "./executors.json", - "dependencies": { - "@nx/rspack": "file:../../packages/rspack" - }, - "nx-migrations": { - "migrations": "@nx/rspack/migrations.json" - } -} diff --git a/packages-legacy/rspack/project.json b/packages-legacy/rspack/project.json deleted file mode 100644 index 9c4f8ea14b..0000000000 --- a/packages-legacy/rspack/project.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "rspack-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/rspack", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js rspack-legacy" - }, - "build-base": { - "executor": "@nrwl/js:tsc", - "dependsOn": ["^build"], - "options": { - "main": "packages-legacy/rspack/index.ts", - "tsConfig": "packages-legacy/rspack/tsconfig.json", - "outputPath": "build/packages/rspack-legacy", - "updateBuildableProjectDepsInPackageJson": false, - "assets": [ - "packages-legacy/rspack/*.md", - { - "input": "packages-legacy/rspack", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/rspack", - "glob": "**/*.d.ts", - "output": "/" - }, - "LICENSE" - ] - } - } - }, - "tags": [] -} diff --git a/packages-legacy/rspack/tsconfig.json b/packages-legacy/rspack/tsconfig.json deleted file mode 100644 index 9cf8a29c54..0000000000 --- a/packages-legacy/rspack/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "module": "commonjs", - "declaration": true - }, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/storybook/README.md b/packages-legacy/storybook/README.md deleted file mode 100644 index 81e7a61c80..0000000000 --- a/packages-legacy/storybook/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/storybook has been renamed to @nx/storybook! - -@nrwl/storybook has been renamed to [@nx/storybook](https://www.npmjs.com/package/@nx/storybook). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/storybook will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/storybook/executors.json b/packages-legacy/storybook/executors.json deleted file mode 100644 index 51ef2d967b..0000000000 --- a/packages-legacy/storybook/executors.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "builders": { - "storybook": { - "implementation": "@nx/storybook/src/executors/storybook/compat", - "schema": "@nx/storybook/src/executors/storybook/schema.json", - "description": "Serve Storybook." - }, - "build": { - "implementation": "@nx/storybook/src/executors/build-storybook/compat", - "schema": "@nx/storybook/src/executors/build-storybook/schema.json", - "description": "Build Storybook." - } - }, - "executors": { - "storybook": { - "implementation": "@nx/storybook/src/executors/storybook/storybook.impl", - "schema": "@nx/storybook/src/executors/storybook/schema.json", - "description": "Serve Storybook." - }, - "build": { - "implementation": "@nx/storybook/src/executors/build-storybook/build-storybook.impl", - "schema": "@nx/storybook/src/executors/build-storybook/schema.json", - "description": "Build Storybook." - } - } -} diff --git a/packages-legacy/storybook/generators.json b/packages-legacy/storybook/generators.json deleted file mode 100644 index 08458127a4..0000000000 --- a/packages-legacy/storybook/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/storybook"], - "schematics": {} -} diff --git a/packages-legacy/storybook/index.ts b/packages-legacy/storybook/index.ts deleted file mode 100644 index 2d616f02ad..0000000000 --- a/packages-legacy/storybook/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/storybook'; diff --git a/packages-legacy/storybook/package.json b/packages-legacy/storybook/package.json deleted file mode 100644 index 90dda3a420..0000000000 --- a/packages-legacy/storybook/package.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "name": "@nrwl/storybook", - "version": "0.0.1", - "private": false, - "description": "The Nx Plugin for Storybook contains executors and generators for allowing your workspace to use the powerful Storybook integration testing & documenting capabilities.", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/storybook" - }, - "keywords": [ - "Angular", - "React", - "Web", - "Storybook", - "Cypress" - ], - "main": "./index", - "typings": "./index.d.ts", - "author": "Isaac Mann", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "schematics": "./generators.json", - "builders": "./executors.json", - "dependencies": { - "@nx/storybook": "file:../../packages/storybook" - }, - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/storybook/migrations.json" - } -} diff --git a/packages-legacy/storybook/presets/cypress.ts b/packages-legacy/storybook/presets/cypress.ts deleted file mode 100644 index a3c5345391..0000000000 --- a/packages-legacy/storybook/presets/cypress.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/storybook/presets/cypress'; diff --git a/packages-legacy/storybook/project.json b/packages-legacy/storybook/project.json deleted file mode 100644 index 3daa8927b0..0000000000 --- a/packages-legacy/storybook/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "storybook-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/storybook", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js storybook-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/storybook/index.ts", - "tsConfig": "packages-legacy/storybook/tsconfig.json", - "outputPath": "build/packages/storybook-legacy", - "assets": [ - { - "input": "packages-legacy/storybook", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/storybook", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - } -} diff --git a/packages-legacy/storybook/tsconfig.json b/packages-legacy/storybook/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/storybook/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/vite/README.md b/packages-legacy/vite/README.md deleted file mode 100644 index 91d3b18654..0000000000 --- a/packages-legacy/vite/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/vite has been renamed to @nx/vite! - -@nrwl/vite has been renamed to [@nx/vite](https://www.npmjs.com/package/@nx/vite). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/vite will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/vite/executors.json b/packages-legacy/vite/executors.json deleted file mode 100644 index 30f6e19ee8..0000000000 --- a/packages-legacy/vite/executors.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "builders": { - "dev-server": { - "implementation": "@nx/vite/src/executors/dev-server/compat", - "schema": "@nx/vite/src/executors/dev-server/schema.json", - "description": "Vite dev server." - }, - "build": { - "implementation": "@nx/vite/src/executors/build/compat", - "schema": "@nx/vite/src/executors/build/schema.json", - "description": "Build with Vite." - }, - "test": { - "implementation": "@nx/vite/src/executors/test/compat", - "schema": "@nx/vite/src/executors/test/schema.json", - "description": "Test with Vitest" - }, - "preview-server": { - "implementation": "@nx/vite/src/executors/preview-server/compat", - "schema": "@nx/vite/src/executors/preview-server/schema.json", - "description": "Vite preview server" - } - }, - "executors": { - "dev-server": { - "implementation": "@nx/vite/src/executors/dev-server/dev-server.impl", - "schema": "@nx/vite/src/executors/dev-server/schema.json", - "description": "Vite dev server." - }, - "build": { - "implementation": "@nx/vite/src/executors/build/build.impl", - "schema": "@nx/vite/src/executors/build/schema.json", - "description": "Build with Vite." - }, - "test": { - "implementation": "@nx/vite/src/executors/test/vitest.impl", - "schema": "@nx/vite/src/executors/test/schema.json", - "description": "Test with Vitest" - }, - "preview-server": { - "implementation": "@nx/vite/src/executors/preview-server/preview-server.impl", - "schema": "@nx/vite/src/executors/preview-server/schema.json", - "description": "Vite preview server" - } - } -} diff --git a/packages-legacy/vite/executors.ts b/packages-legacy/vite/executors.ts deleted file mode 100644 index 785735aa32..0000000000 --- a/packages-legacy/vite/executors.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/vite/executors'; diff --git a/packages-legacy/vite/generators.json b/packages-legacy/vite/generators.json deleted file mode 100644 index b45d8b8da4..0000000000 --- a/packages-legacy/vite/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/vite"], - "schematics": {} -} diff --git a/packages-legacy/vite/index.ts b/packages-legacy/vite/index.ts deleted file mode 100644 index e4515b4496..0000000000 --- a/packages-legacy/vite/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/vite'; diff --git a/packages-legacy/vite/package.json b/packages-legacy/vite/package.json deleted file mode 100644 index 0657bc45a8..0000000000 --- a/packages-legacy/vite/package.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "@nrwl/vite", - "version": "0.0.1", - "private": false, - "description": "The Nx Plugin for building and testing applications using Vite", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/vite" - }, - "keywords": [ - "Monorepo", - "Vite", - "Web", - "CLI" - ], - "main": "./index", - "typings": "./index.d.ts", - "author": "Victor Savkin", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "schematics": "./generators.json", - "builders": "./executors.json", - "dependencies": { - "@nx/vite": "file:../../packages/vite" - }, - "publishConfig": { - "access": "public" - }, - "exports": { - "./package.json": { - "require": "./package.json" - }, - "./generators.json": "./generators.json", - "./executors.json": "./executors.json", - "./executors": "./executors.js" - }, - "nx-migrations": { - "migrations": "@nx/vite/migrations.json" - } -} diff --git a/packages-legacy/vite/plugins/rollup-replace-files.plugin.ts b/packages-legacy/vite/plugins/rollup-replace-files.plugin.ts deleted file mode 100644 index 343d273cb6..0000000000 --- a/packages-legacy/vite/plugins/rollup-replace-files.plugin.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/vite/plugins/rollup-replace-files.plugin'; diff --git a/packages-legacy/vite/project.json b/packages-legacy/vite/project.json deleted file mode 100644 index 9a86df28e8..0000000000 --- a/packages-legacy/vite/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "vite-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/vite", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js vite-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/vite/index.ts", - "tsConfig": "packages-legacy/vite/tsconfig.json", - "outputPath": "build/packages/vite-legacy", - "assets": [ - { - "input": "packages-legacy/vite", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/vite", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - } -} diff --git a/packages-legacy/vite/tsconfig.json b/packages-legacy/vite/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/vite/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/web/README.md b/packages-legacy/web/README.md deleted file mode 100644 index a79d4fe713..0000000000 --- a/packages-legacy/web/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/web has been renamed to @nx/web! - -@nrwl/web has been renamed to [@nx/web](https://www.npmjs.com/package/@nx/web). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/web will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/web/babel.ts b/packages-legacy/web/babel.ts deleted file mode 100644 index a6f660db16..0000000000 --- a/packages-legacy/web/babel.ts +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@nx/web/babel'); diff --git a/packages-legacy/web/executors.json b/packages-legacy/web/executors.json deleted file mode 100644 index a21a306a18..0000000000 --- a/packages-legacy/web/executors.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "builders": { - "file-server": { - "implementation": "@nx/web/src/executors/file-server/compat", - "schema": "@nx/web/src/executors/file-server/schema.json", - "description": "Serve a web application from a folder." - } - }, - "executors": { - "file-server": { - "implementation": "@nx/web/src/executors/file-server/file-server.impl", - "schema": "@nx/web/src/executors/file-server/schema.json", - "description": "Serve a web application from a folder." - } - } -} diff --git a/packages-legacy/web/generators.json b/packages-legacy/web/generators.json deleted file mode 100644 index de791c1241..0000000000 --- a/packages-legacy/web/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/web"], - "schematics": {} -} diff --git a/packages-legacy/web/index.ts b/packages-legacy/web/index.ts deleted file mode 100644 index aa41618035..0000000000 --- a/packages-legacy/web/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/web'; diff --git a/packages-legacy/web/package.json b/packages-legacy/web/package.json deleted file mode 100644 index ada7cbb6f1..0000000000 --- a/packages-legacy/web/package.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "name": "@nrwl/web", - "version": "0.0.1", - "private": false, - "description": "The Nx Plugin for Web Components contains generators for managing Web Component applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Jest, Cypress, and Storybook.\n\n- Scaffolding for creating buildable libraries that can be published to npm.\n\n- Utilities for automatic workspace refactoring.", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/web" - }, - "keywords": [ - "Monorepo", - "Web", - "Jest", - "Cypress", - "CLI" - ], - "main": "./index", - "typings": "./index.d.ts", - "author": "Victor Savkin", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "schematics": "./generators.json", - "builders": "./executors.json", - "dependencies": { - "@nx/web": "file:../../packages/web" - }, - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/web/migrations.json" - } -} diff --git a/packages-legacy/web/project.json b/packages-legacy/web/project.json deleted file mode 100644 index 2b5255fd9c..0000000000 --- a/packages-legacy/web/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "web-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/web", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js web-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/web/index.ts", - "tsConfig": "packages-legacy/web/tsconfig.json", - "outputPath": "build/packages/web-legacy", - "assets": [ - { - "input": "packages-legacy/web", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/web", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - } -} diff --git a/packages-legacy/web/tsconfig.json b/packages-legacy/web/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/web/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/webpack/README.md b/packages-legacy/webpack/README.md deleted file mode 100644 index d1378e83c2..0000000000 --- a/packages-legacy/webpack/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/webpack has been renamed to @nx/webpack! - -@nrwl/webpack has been renamed to [@nx/webpack](https://www.npmjs.com/package/@nx/webpack). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/webpack will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/webpack/executors.json b/packages-legacy/webpack/executors.json deleted file mode 100644 index dc79978044..0000000000 --- a/packages-legacy/webpack/executors.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "builders": { - "webpack": { - "implementation": "@nx/webpack/src/executors/webpack/compat", - "schema": "@nx/webpack/src/executors/webpack/schema.json", - "description": "Run webpack build." - }, - "dev-server": { - "implementation": "@nx/webpack/src/executors/dev-server/compat", - "schema": "@nx/webpack/src/executors/dev-server/schema.json", - "description": "Serve a web application." - }, - "ssr-dev-server": { - "implementation": "@nx/webpack/src/executors/ssr-dev-server/compat", - "schema": "@nx/webpack/src/executors/ssr-dev-server/schema.json", - "description": "Serve a SSR application." - } - }, - "executors": { - "webpack": { - "implementation": "@nx/webpack/src/executors/webpack/webpack.impl", - "schema": "@nx/webpack/src/executors/webpack/schema.json", - "description": "Run webpack build." - }, - "dev-server": { - "implementation": "@nx/webpack/src/executors/dev-server/dev-server.impl", - "schema": "@nx/webpack/src/executors/dev-server/schema.json", - "description": "Serve a web application." - }, - "ssr-dev-server": { - "implementation": "@nx/webpack/src/executors/ssr-dev-server/ssr-dev-server.impl", - "schema": "@nx/webpack/src/executors/ssr-dev-server/schema.json", - "description": "Serve a SSR application." - } - } -} diff --git a/packages-legacy/webpack/generators.json b/packages-legacy/webpack/generators.json deleted file mode 100644 index eec6b00f5c..0000000000 --- a/packages-legacy/webpack/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/webpack"], - "schematics": {} -} diff --git a/packages-legacy/webpack/index.ts b/packages-legacy/webpack/index.ts deleted file mode 100644 index 324863a54c..0000000000 --- a/packages-legacy/webpack/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/webpack'; diff --git a/packages-legacy/webpack/package.json b/packages-legacy/webpack/package.json deleted file mode 100644 index 466811690b..0000000000 --- a/packages-legacy/webpack/package.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "@nrwl/webpack", - "version": "0.0.1", - "private": false, - "description": "The Nx Plugin for Webpack contains executors and generators that support building applications using Webpack.", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/webpack" - }, - "keywords": [ - "Monorepo", - "Webpack", - "Web", - "CLI" - ], - "main": "./index", - "typings": "./index.d.ts", - "author": "Victor Savkin", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "schematics": "./generators.json", - "builders": "./executors.json", - "dependencies": { - "@nx/webpack": "file:../../packages/webpack" - }, - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/webpack/migrations.json" - } -} diff --git a/packages-legacy/webpack/project.json b/packages-legacy/webpack/project.json deleted file mode 100644 index 80405b535a..0000000000 --- a/packages-legacy/webpack/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "webpack-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/webpack", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js webpack-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/webpack/index.ts", - "tsConfig": "packages-legacy/webpack/tsconfig.json", - "outputPath": "build/packages/webpack-legacy", - "assets": [ - { - "input": "packages-legacy/webpack", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/webpack", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - } -} diff --git a/packages-legacy/webpack/tsconfig.json b/packages-legacy/webpack/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/webpack/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages-legacy/workspace/README.md b/packages-legacy/workspace/README.md deleted file mode 100644 index d603190074..0000000000 --- a/packages-legacy/workspace/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/workspace has been renamed to @nx/workspace! - -@nrwl/workspace has been renamed to [@nx/workspace](https://www.npmjs.com/package/@nx/workspace). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/workspace will no longer be published in the future. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages-legacy/workspace/executors.json b/packages-legacy/workspace/executors.json deleted file mode 100644 index c487c0a0d4..0000000000 --- a/packages-legacy/workspace/executors.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "executors": { - "counter": { - "implementation": "@nx/workspace/src/executors/counter/counter.impl", - "batchImplementation": "@nx/workspace/src/executors/counter/counter.impl#batchCounter", - "schema": "@nx/workspace/src/executors/counter/schema.json", - "description": "A dummy executor useful for E2E tests.", - "hidden": true - } - } -} diff --git a/packages-legacy/workspace/generators.json b/packages-legacy/workspace/generators.json deleted file mode 100644 index 9c05dba46b..0000000000 --- a/packages-legacy/workspace/generators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": ["@nx/workspace"], - "schematics": {} -} diff --git a/packages-legacy/workspace/generators.ts b/packages-legacy/workspace/generators.ts deleted file mode 100644 index 935190660e..0000000000 --- a/packages-legacy/workspace/generators.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/workspace/generators'; diff --git a/packages-legacy/workspace/index.ts b/packages-legacy/workspace/index.ts deleted file mode 100644 index 87ce9c5232..0000000000 --- a/packages-legacy/workspace/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/workspace'; diff --git a/packages-legacy/workspace/package.json b/packages-legacy/workspace/package.json deleted file mode 100644 index da5d4fe464..0000000000 --- a/packages-legacy/workspace/package.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "@nrwl/workspace", - "version": "0.0.1", - "private": false, - "description": "The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages-legacy/workspace" - }, - "keywords": [ - "Monorepo", - "Angular", - "React", - "Web", - "Node", - "Nest", - "Jest", - "Cypress", - "CLI" - ], - "main": "./index", - "typings": "./index.d.ts", - "author": "Victor Savkin", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "homepage": "https://nx.dev", - "schematics": "./generators.json", - "builders": "./executors.json", - "dependencies": { - "@nx/workspace": "file:../../packages/workspace" - }, - "publishConfig": { - "access": "public" - }, - "nx-migrations": { - "migrations": "@nx/workspace/migrations.json" - } -} diff --git a/packages-legacy/workspace/presets/core.json b/packages-legacy/workspace/presets/core.json deleted file mode 100644 index 106dd45793..0000000000 --- a/packages-legacy/workspace/presets/core.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "targetDefaults": { - "build": { - "dependsOn": ["^build"] - } - }, - "workspaceLayout": { - "appsDir": "packages", - "libsDir": "packages" - } -} diff --git a/packages-legacy/workspace/presets/npm.json b/packages-legacy/workspace/presets/npm.json deleted file mode 100644 index 2a59ed722a..0000000000 --- a/packages-legacy/workspace/presets/npm.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "targetDefaults": { - "build": { - "dependsOn": ["^build"] - } - } -} diff --git a/packages-legacy/workspace/project.json b/packages-legacy/workspace/project.json deleted file mode 100644 index e7403b6d92..0000000000 --- a/packages-legacy/workspace/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "workspace-legacy", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages-legacy/workspace", - "projectType": "library", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"], - "command": "node ./scripts/copy-readme.js workspace-legacy" - }, - "build-base": { - "executor": "@nx/js:tsc", - "dependsOn": ["^build-base"], - "options": { - "main": "packages-legacy/workspace/index.ts", - "tsConfig": "packages-legacy/workspace/tsconfig.json", - "outputPath": "build/packages/workspace-legacy", - "assets": [ - { - "input": "packages-legacy/workspace", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json"], - "output": "/" - }, - { - "input": "packages-legacy/workspace", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - } - } -} diff --git a/packages-legacy/workspace/tasks-runners/default.ts b/packages-legacy/workspace/tasks-runners/default.ts deleted file mode 100644 index 7a9089f153..0000000000 --- a/packages-legacy/workspace/tasks-runners/default.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@nx/workspace/tasks-runners/default'; diff --git a/packages-legacy/workspace/tsconfig.json b/packages-legacy/workspace/tsconfig.json deleted file mode 100644 index 133314b126..0000000000 --- a/packages-legacy/workspace/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": {}, - "include": ["**/*.ts"], - "files": ["index.ts"] -} diff --git a/packages/angular/project.json b/packages/angular/project.json index c1c7033598..fd573a21a1 100644 --- a/packages/angular/project.json +++ b/packages/angular/project.json @@ -65,9 +65,6 @@ "command": "node ./scripts/copy-readme.js angular", "parallel": false } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js angular @nrwl/angular" } }, "implicitDependencies": [] diff --git a/packages/cypress/project.json b/packages/cypress/project.json index 6831d66964..6c8621171f 100644 --- a/packages/cypress/project.json +++ b/packages/cypress/project.json @@ -49,9 +49,6 @@ "options": { "command": "node ./scripts/copy-readme.js cypress" } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js cypress @nrwl/cypress" } } } diff --git a/packages/detox/project.json b/packages/detox/project.json index 3fb623c7d6..cb8591b5b2 100644 --- a/packages/detox/project.json +++ b/packages/detox/project.json @@ -48,9 +48,6 @@ "options": { "command": "node ./scripts/copy-readme.js detox" } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js detox @nrwl/detox" } } } diff --git a/packages/devkit/project.json b/packages/devkit/project.json index fdb2b47de7..1f5ac83d8b 100644 --- a/packages/devkit/project.json +++ b/packages/devkit/project.json @@ -49,9 +49,6 @@ "options": { "command": "node ./scripts/copy-readme.js devkit" } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js devkit @nrwl/devkit" } } } diff --git a/packages/esbuild/project.json b/packages/esbuild/project.json index 3b328ab2c7..55fff543b5 100644 --- a/packages/esbuild/project.json +++ b/packages/esbuild/project.json @@ -47,14 +47,8 @@ "executor": "nx:run-commands", "outputs": ["{workspaceRoot}/build/packages/esbuild"], "options": { - "commands": [ - "node ./scripts/copy-readme.js esbuild", - "node ./scripts/add-dependency-to-build.js esbuild @nrwl/esbuild" - ] + "commands": ["node ./scripts/copy-readme.js esbuild"] } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js esbuild @nrwl/esbuild" } } } diff --git a/packages/eslint-plugin/project.json b/packages/eslint-plugin/project.json index 31cd29403d..9703951fa0 100644 --- a/packages/eslint-plugin/project.json +++ b/packages/eslint-plugin/project.json @@ -50,9 +50,6 @@ "options": { "command": "node ./scripts/copy-readme.js eslint-plugin" } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js eslint-plugin @nrwl/eslint-plugin-nx" } } } diff --git a/packages/eslint/project.json b/packages/eslint/project.json index b91ae84818..8bc5c95104 100644 --- a/packages/eslint/project.json +++ b/packages/eslint/project.json @@ -49,9 +49,6 @@ "options": { "command": "node ./scripts/copy-readme.js eslint" } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js eslint @nx/linter @nrwl/linter" } }, "implicitDependencies": ["eslint-plugin"] diff --git a/packages/expo/project.json b/packages/expo/project.json index 62061e793d..ad77e40902 100644 --- a/packages/expo/project.json +++ b/packages/expo/project.json @@ -50,9 +50,6 @@ "options": { "command": "node ./scripts/copy-readme.js expo" } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js expo @nrwl/expo" } }, "tags": [] diff --git a/packages/express/project.json b/packages/express/project.json index 3bbc71db1a..667521ea22 100644 --- a/packages/express/project.json +++ b/packages/express/project.json @@ -49,9 +49,6 @@ "options": { "command": "node ./scripts/copy-readme.js express" } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js express @nrwl/express" } }, "implicitDependencies": ["node"] diff --git a/packages/jest/project.json b/packages/jest/project.json index 80bce5e6ab..6e637b3529 100644 --- a/packages/jest/project.json +++ b/packages/jest/project.json @@ -49,9 +49,6 @@ "options": { "command": "node ./scripts/copy-readme.js jest" } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js jest @nrwl/jest" } } } diff --git a/packages/js/project.json b/packages/js/project.json index f85eb84db5..b402b5d10d 100644 --- a/packages/js/project.json +++ b/packages/js/project.json @@ -50,9 +50,6 @@ "options": { "command": "node ./scripts/copy-readme.js js" } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js js @nrwl/js" } }, "tags": [] diff --git a/packages/nest/project.json b/packages/nest/project.json index ec60f9c9dc..16973157f5 100644 --- a/packages/nest/project.json +++ b/packages/nest/project.json @@ -49,9 +49,6 @@ "options": { "command": "node ./scripts/copy-readme.js nest" } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js nest @nrwl/nest" } }, "implicitDependencies": ["node", "eslint"] diff --git a/packages/next/project.json b/packages/next/project.json index 27a775182d..b688bc9a8c 100644 --- a/packages/next/project.json +++ b/packages/next/project.json @@ -54,9 +54,6 @@ "options": { "command": "node ./scripts/copy-readme.js next" } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js next @nrwl/next" } } } diff --git a/packages/node/project.json b/packages/node/project.json index 308fb8963b..aa9d9e92fe 100644 --- a/packages/node/project.json +++ b/packages/node/project.json @@ -49,9 +49,6 @@ "options": { "command": "node ./scripts/copy-readme.js node" } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js node @nrwl/node" } } } diff --git a/packages/nx/project.json b/packages/nx/project.json index f35297d450..23a0a2fbb4 100644 --- a/packages/nx/project.json +++ b/packages/nx/project.json @@ -134,9 +134,6 @@ "parallel": false } }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js nx @nrwl/tao" - }, "test-native": {} } } diff --git a/packages/plugin/project.json b/packages/plugin/project.json index b74f9beba8..ec406b6c8e 100644 --- a/packages/plugin/project.json +++ b/packages/plugin/project.json @@ -49,9 +49,6 @@ "options": { "command": "node ./scripts/copy-readme.js plugin" } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js plugin @nrwl/nx-plugin" } } } diff --git a/packages/react-native/project.json b/packages/react-native/project.json index b148d6778f..89282a88fd 100644 --- a/packages/react-native/project.json +++ b/packages/react-native/project.json @@ -44,9 +44,6 @@ "options": { "command": "node ./scripts/copy-readme.js react-native" } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js react-native @nrwl/react-native" } } } diff --git a/packages/react/plugins/storybook/index.ts b/packages/react/plugins/storybook/index.ts index 83eb1471f2..e8149e91db 100644 --- a/packages/react/plugins/storybook/index.ts +++ b/packages/react/plugins/storybook/index.ts @@ -108,8 +108,7 @@ const fixBabelConfigurationIfNeeded = ( ).find((k) => { const targetConfig = projectData.projectNode.data.targets[k]; return ( - (targetConfig.executor === '@nx/webpack:webpack' || - targetConfig.executor === '@nrwl/webpack:webpack') && + targetConfig.executor === '@nx/webpack:webpack' && targetConfig.options?.babelUpwardRootMode ); }); diff --git a/packages/react/project.json b/packages/react/project.json index 74e26df28b..37130b72e8 100644 --- a/packages/react/project.json +++ b/packages/react/project.json @@ -59,9 +59,6 @@ "options": { "command": "node ./scripts/copy-readme.js react" } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js react @nrwl/react" } } } diff --git a/packages/react/src/generators/cypress-component-configuration/cypress-component-configuration.ts b/packages/react/src/generators/cypress-component-configuration/cypress-component-configuration.ts index 19aea5a6f6..b2d09aa1da 100644 --- a/packages/react/src/generators/cypress-component-configuration/cypress-component-configuration.ts +++ b/packages/react/src/generators/cypress-component-configuration/cypress-component-configuration.ts @@ -55,8 +55,6 @@ export async function cypressComponentConfigGeneratorInternal( validExecutorNames: new Set([ '@nx/webpack:webpack', '@nx/vite:build', - '@nrwl/webpack:webpack', - '@nrwl/vite:build', ]), }); diff --git a/packages/react/src/generators/setup-tailwind/lib/update-project.ts b/packages/react/src/generators/setup-tailwind/lib/update-project.ts index 19c0c72c15..2758bd5b67 100644 --- a/packages/react/src/generators/setup-tailwind/lib/update-project.ts +++ b/packages/react/src/generators/setup-tailwind/lib/update-project.ts @@ -8,10 +8,7 @@ export function updateProject( config: ProjectConfiguration, options: SetupTailwindOptions ) { - if ( - config?.targets?.build?.executor === '@nx/webpack:webpack' || - config?.targets?.build?.executor === '@nrwl/webpack:webpack' - ) { + if (config?.targets?.build?.executor === '@nx/webpack:webpack') { config.targets.build.options ??= {}; config.targets.build.options.postcssConfig = joinPathFragments( config.root, diff --git a/packages/react/src/generators/storybook-configuration/configuration.ts b/packages/react/src/generators/storybook-configuration/configuration.ts index c23e73e36c..1c65f58955 100644 --- a/packages/react/src/generators/storybook-configuration/configuration.ts +++ b/packages/react/src/generators/storybook-configuration/configuration.ts @@ -55,7 +55,6 @@ export async function storybookConfigurationGeneratorInternal( if ( findWebpackConfig(host, projectConfig.root) || projectConfig.targets['build']?.executor === '@nx/rollup:rollup' || - projectConfig.targets['build']?.executor === '@nrwl/rollup:rollup' || projectConfig.targets['build']?.executor === '@nx/expo:build' ) { uiFramework = '@storybook/react-webpack5'; diff --git a/packages/react/src/utils/ct-utils.ts b/packages/react/src/utils/ct-utils.ts index d3f1a3f7f0..73387f629b 100644 --- a/packages/react/src/utils/ct-utils.ts +++ b/packages/react/src/utils/ct-utils.ts @@ -107,10 +107,7 @@ export async function getBundlerFromTarget( tree: Tree ): Promise<'vite' | 'webpack'> { if (found.target && found.config?.executor) { - return found.config.executor === '@nrwl/vite:build' || - found.config.executor === '@nx/vite:build' - ? 'vite' - : 'webpack'; + return found.config.executor === '@nx/vite:build' ? 'vite' : 'webpack'; } const { target, project } = parseTargetString( @@ -119,9 +116,7 @@ export async function getBundlerFromTarget( ); const projectConfig = readProjectConfiguration(tree, project); const executor = projectConfig?.targets?.[target]?.executor; - return executor === '@nrwl/vite:build' || executor === '@nx/vite:build' - ? 'vite' - : 'webpack'; + return executor === '@nx/vite:build' ? 'vite' : 'webpack'; } export async function getActualBundler( diff --git a/packages/remix/project.json b/packages/remix/project.json index e2a8d091df..bba139ad84 100644 --- a/packages/remix/project.json +++ b/packages/remix/project.json @@ -42,9 +42,6 @@ "LICENSE" ] } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js remix @nrwl/remix" } }, "tags": [] diff --git a/packages/rollup/project.json b/packages/rollup/project.json index ed4bc4d92a..149c756f89 100644 --- a/packages/rollup/project.json +++ b/packages/rollup/project.json @@ -49,9 +49,6 @@ "options": { "command": "node ./scripts/copy-readme.js rollup" } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js rollup @nrwl/rollup" } } } diff --git a/packages/rspack/project.json b/packages/rspack/project.json index 54e1479666..8e2074ab87 100644 --- a/packages/rspack/project.json +++ b/packages/rspack/project.json @@ -4,10 +4,6 @@ "sourceRoot": "packages/rspack/src", "projectType": "library", "targets": { - "add-extra-dependencies": { - "outputs": ["{workspaceRoot}/build/packages/rspack"], - "command": "node ./scripts/add-dependency-to-build.js rspack @nrwl/rspack" - }, "build": { "executor": "nx:run-commands", "outputs": ["{workspaceRoot}/build/packages/rspack"], diff --git a/packages/storybook/project.json b/packages/storybook/project.json index 67fb13c753..a5d0705c33 100644 --- a/packages/storybook/project.json +++ b/packages/storybook/project.json @@ -59,9 +59,6 @@ "options": { "command": "node ./scripts/copy-readme.js storybook" } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js storybook @nrwl/storybook" } } } diff --git a/packages/storybook/src/generators/convert-to-inferred/convert-to-inferred.ts b/packages/storybook/src/generators/convert-to-inferred/convert-to-inferred.ts index 11cbc2db21..161b579cb2 100644 --- a/packages/storybook/src/generators/convert-to-inferred/convert-to-inferred.ts +++ b/packages/storybook/src/generators/convert-to-inferred/convert-to-inferred.ts @@ -36,14 +36,14 @@ export async function convertToInferred(tree: Tree, options: Schema) { }, [ { - executors: ['@nx/storybook:build', '@nrwl/storybook:build'], + executors: ['@nx/storybook:build'], postTargetTransformer: buildPostTargetTransformer(migrationLogs), targetPluginOptionMapper: (targetName) => ({ buildStorybookTargetName: targetName, }), }, { - executors: ['@nx/storybook:storybook', '@nrwl/storybook:storybook'], + executors: ['@nx/storybook:storybook'], postTargetTransformer: servePostTargetTransformer(migrationLogs), targetPluginOptionMapper: (targetName) => ({ serveStorybookTargetName: targetName, diff --git a/packages/storybook/src/generators/cypress-project/cypress-project.ts b/packages/storybook/src/generators/cypress-project/cypress-project.ts index f94649575d..98c2fc61e1 100644 --- a/packages/storybook/src/generators/cypress-project/cypress-project.ts +++ b/packages/storybook/src/generators/cypress-project/cypress-project.ts @@ -223,9 +223,7 @@ function projectAlreadyHasCypress(tree: Tree): boolean { const packageJsonContents = readJson(tree, 'package.json'); return ( (packageJsonContents?.['devDependencies']?.['@nx/cypress'] || - packageJsonContents?.['dependencies']?.['@nx/cypress'] || - packageJsonContents?.['devDependencies']?.['@nrwl/cypress'] || - packageJsonContents?.['dependencies']?.['@nrwl/cypress']) && + packageJsonContents?.['dependencies']?.['@nx/cypress']) && (packageJsonContents?.['devDependencies']?.['cypress'] || packageJsonContents?.['dependencies']?.['cypress']) ); diff --git a/packages/storybook/src/generators/migrate-7/helper-functions.ts b/packages/storybook/src/generators/migrate-7/helper-functions.ts index d8b8f21000..e348370936 100644 --- a/packages/storybook/src/generators/migrate-7/helper-functions.ts +++ b/packages/storybook/src/generators/migrate-7/helper-functions.ts @@ -620,9 +620,7 @@ export function checkStorybookInstalled(packageJson): boolean { (packageJson.dependencies['@storybook/core-server'] || packageJson.devDependencies['@storybook/core-server']) && (packageJson.dependencies['@nx/storybook'] || - packageJson.devDependencies['@nx/storybook'] || - packageJson.dependencies['@nrwl/storybook'] || - packageJson.devDependencies['@nrwl/storybook']) + packageJson.devDependencies['@nx/storybook']) ); } diff --git a/packages/storybook/src/generators/migrate-8/helper-functions.ts b/packages/storybook/src/generators/migrate-8/helper-functions.ts index 33aba86b41..3ab44f8457 100644 --- a/packages/storybook/src/generators/migrate-8/helper-functions.ts +++ b/packages/storybook/src/generators/migrate-8/helper-functions.ts @@ -174,9 +174,7 @@ export function checkStorybookInstalled(packageJson): boolean { (packageJson.dependencies['@storybook/core-server'] || packageJson.devDependencies['@storybook/core-server']) && (packageJson.dependencies['@nx/storybook'] || - packageJson.devDependencies['@nx/storybook'] || - packageJson.dependencies['@nrwl/storybook'] || - packageJson.devDependencies['@nrwl/storybook']) + packageJson.devDependencies['@nx/storybook']) ); } diff --git a/packages/storybook/src/utils/utilities.ts b/packages/storybook/src/utils/utilities.ts index a7df73c46a..dd7bc3062f 100644 --- a/packages/storybook/src/utils/utilities.ts +++ b/packages/storybook/src/utils/utilities.ts @@ -136,18 +136,6 @@ export function findStorybookAndBuildTargetsAndCompiler(targets: { '@nx/angular:webpack-browser', '@nx/esbuild:esbuild', '@nx/next:build', - '@nrwl/js:babel', - '@nrwl/js:swc', - '@nrwl/js:tsc', - '@nrwl/webpack:webpack', - '@nrwl/rollup:rollup', - '@nrwl/web:rollup', - '@nrwl/vite:build', - '@nrwl/angular:ng-packagr-lite', - '@nrwl/angular:package', - '@nrwl/angular:webpack-browser', - '@nrwl/esbuild:esbuild', - '@nrwl/next:build', '@nxext/vite:build', '@angular-devkit/build-angular:application', '@angular-devkit/build-angular:browser', @@ -185,14 +173,12 @@ export function findStorybookAndBuildTargetsAndCompiler(targets: { returnObject.compiler = targets[target].options?.compiler; } else if ( targets[target].executor === '@storybook/angular:start-storybook' || - targets[target].executor === '@nrwl/storybook:storybook' || targets[target].executor === '@nx/storybook:storybook' ) { returnObject.storybookTarget = target; } else if ( targets[target].executor === '@storybook/angular:build-storybook' || - targets[target].executor === '@nx/storybook:build' || - targets[target].executor === '@nrwl/storybook:build' + targets[target].executor === '@nx/storybook:build' ) { returnObject.storybookBuildTarget = target; } else if (targets[target].options?.compiler) { diff --git a/packages/tao/.eslintrc.json b/packages/tao/.eslintrc.json deleted file mode 100644 index 77160b79a3..0000000000 --- a/packages/tao/.eslintrc.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "extends": "../../.eslintrc", - "rules": { - "no-restricted-imports": [ - "error", - "@nx/workspace", - "@angular-devkit/core", - "@angular-devkit/architect", - "@angular-devkit/schematics" - ] - }, - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["*.ts", "*.tsx"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["./package.json"], - "parser": "jsonc-eslint-parser", - "rules": { - "@nx/dependency-checks": [ - "error", - { - "buildTargets": ["build-base"], - "ignoredDependencies": ["nx", "typescript"] - } - ] - } - } - ] -} diff --git a/packages/tao/README.md b/packages/tao/README.md deleted file mode 100644 index a1527deb06..0000000000 --- a/packages/tao/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## @nrwl/tao has been merged with nx! - -@nrwl/tao has been deprecated in favor of [nx](https://www.npmjs.com/package/nx). Please use that instead. - -[Read more here](https://nx.dev/recipes/other/rescope) - -@nrwl/tao will no longer be published in Nx v19. - -

- - - Nx - Smart Monorepos · Fast CI - -

- -# Nx: Smart Monorepos · Fast CI - -Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution. diff --git a/packages/tao/index.ts b/packages/tao/index.ts deleted file mode 100644 index 7bf26f41fa..0000000000 --- a/packages/tao/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env node -// this is to support older workspaces -if (process.argv[2] === 'migrate') { - process.argv[2] = '_migrate'; -} - -console.warn( - `@nrwl/tao has been deprecated and will not be published in Nx 17. Please update your global install of nx: https://nx.dev/more-concepts/global-nx` -); - -require('nx/bin/nx'); diff --git a/packages/tao/jest.config.ts b/packages/tao/jest.config.ts deleted file mode 100644 index 9456db3fac..0000000000 --- a/packages/tao/jest.config.ts +++ /dev/null @@ -1,10 +0,0 @@ -/* eslint-disable */ -export default { - transform: { - '^.+\\.[tj]sx?$': ['ts-jest', { tsconfig: '/tsconfig.spec.json' }], - }, - moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'html'], - globals: {}, - displayName: 'tao', - preset: '../../jest.preset.js', -}; diff --git a/packages/tao/package.json b/packages/tao/package.json deleted file mode 100644 index 4880deafb1..0000000000 --- a/packages/tao/package.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "@nrwl/tao", - "version": "0.0.1", - "private": false, - "description": "CLI for generating code and running commands", - "repository": { - "type": "git", - "url": "https://github.com/nrwl/nx.git", - "directory": "packages/tao" - }, - "keywords": [ - "Monorepo", - "Angular", - "React", - "Web", - "Node", - "Nest", - "Jest", - "Cypress", - "CLI" - ], - "main": "./index", - "typings": "./index.d.ts", - "author": "Victor Savkin", - "license": "MIT", - "bugs": { - "url": "https://github.com/nrwl/nx/issues" - }, - "bin": { - "tao": "./index.js" - }, - "homepage": "https://nx.dev", - "dependencies": { - "nx": "file:../nx", - "tslib": "^2.3.0" - }, - "publishConfig": { - "access": "public" - } -} diff --git a/packages/tao/project.json b/packages/tao/project.json deleted file mode 100644 index c6f9a12879..0000000000 --- a/packages/tao/project.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "name": "tao", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages/tao", - "projectType": "library", - "targets": { - "build-base": { - "executor": "@nx/js:tsc", - "options": { - "assets": [ - { - "input": "packages/tao", - "glob": "**/files/**", - "output": "/" - }, - { - "input": "packages/tao", - "glob": "**/files/**/.gitkeep", - "output": "/" - }, - { - "input": "packages/tao", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json", ".eslintrc.json"], - "output": "/" - }, - { - "input": "packages/tao", - "glob": "**/*.js", - "ignore": ["**/jest.config.js"], - "output": "/" - }, - { - "input": "packages/tao", - "glob": "**/*.d.ts", - "output": "/" - }, - { - "input": "", - "glob": "LICENSE", - "output": "/" - } - ] - } - }, - "build": { - "executor": "nx:run-commands", - "outputs": ["{workspaceRoot}/build/packages/tao"], - "options": { - "commands": [ - { - "command": "node ./scripts/chmod build/packages/tao/index.js" - }, - { - "command": "node ./scripts/copy-readme.js tao" - } - ], - "parallel": false - } - } - } -} diff --git a/packages/tao/src/commands/ngcli-adapter.ts b/packages/tao/src/commands/ngcli-adapter.ts deleted file mode 100644 index 6312f2ae2f..0000000000 --- a/packages/tao/src/commands/ngcli-adapter.ts +++ /dev/null @@ -1,5 +0,0 @@ -console.warn( - `@nrwl/tao has been deprecated and will not be published in Nx 17. Change to importing from '@nx/devkit/ngcli-adapter'` -); - -export * from 'nx/src/adapter/ngcli-adapter'; diff --git a/packages/tao/src/shared/logger.ts b/packages/tao/src/shared/logger.ts deleted file mode 100644 index 46fc8cb577..0000000000 --- a/packages/tao/src/shared/logger.ts +++ /dev/null @@ -1,5 +0,0 @@ -console.warn( - `@nrwl/tao has been deprecated and will not be published in Nx 17. Change to importing from '@nx/devkit'` -); - -export * from 'nx/src/utils/logger'; diff --git a/packages/tao/src/shared/nx.ts b/packages/tao/src/shared/nx.ts deleted file mode 100644 index f6e0f3e8c8..0000000000 --- a/packages/tao/src/shared/nx.ts +++ /dev/null @@ -1,5 +0,0 @@ -console.warn( - `@nrwl/tao has been deprecated and will not be published in Nx 17. Change to importing from '@nx/devkit'` -); - -export * from 'nx/src/config/nx-json'; diff --git a/packages/tao/src/shared/package-manager.ts b/packages/tao/src/shared/package-manager.ts deleted file mode 100644 index d4677158fe..0000000000 --- a/packages/tao/src/shared/package-manager.ts +++ /dev/null @@ -1,5 +0,0 @@ -console.warn( - `@nrwl/tao has been deprecated and will not be published in Nx 17. Change to importing from '@nx/devkit'` -); - -export * from 'nx/src/utils/package-manager'; diff --git a/packages/tao/src/shared/project-graph.ts b/packages/tao/src/shared/project-graph.ts deleted file mode 100644 index 155e1123a6..0000000000 --- a/packages/tao/src/shared/project-graph.ts +++ /dev/null @@ -1,5 +0,0 @@ -console.warn( - `@nrwl/tao has been deprecated and will not be published in Nx 17. Change to importing from '@nx/devkit'` -); - -export * from 'nx/src/config/project-graph'; diff --git a/packages/tao/src/shared/tree.ts b/packages/tao/src/shared/tree.ts deleted file mode 100644 index 20c51d819c..0000000000 --- a/packages/tao/src/shared/tree.ts +++ /dev/null @@ -1,5 +0,0 @@ -console.warn( - `@nrwl/tao has been deprecated and will not be published in Nx 17. Change to importing from '@nx/devkit'` -); - -export * from 'nx/src/generators/tree'; diff --git a/packages/tao/src/utils/app-root.ts b/packages/tao/src/utils/app-root.ts deleted file mode 100644 index 53277e18d3..0000000000 --- a/packages/tao/src/utils/app-root.ts +++ /dev/null @@ -1,5 +0,0 @@ -console.warn( - `@nrwl/tao has been deprecated and will not be published in Nx 17. Change to importing from '@nx/devkit'` -); - -export * from 'nx/src/utils/workspace-root'; diff --git a/packages/tao/tsconfig.json b/packages/tao/tsconfig.json deleted file mode 100644 index 58bd2c97a6..0000000000 --- a/packages/tao/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "types": ["node", "jest"] - }, - "include": [], - "files": [], - "references": [ - { - "path": "./tsconfig.lib.json" - }, - { - "path": "./tsconfig.spec.json" - } - ] -} diff --git a/packages/tao/tsconfig.lib.json b/packages/tao/tsconfig.lib.json deleted file mode 100644 index 5c589aef9e..0000000000 --- a/packages/tao/tsconfig.lib.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "commonjs", - "outDir": "../../dist/out-tsc", - "declaration": true, - "types": ["node"] - }, - "exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"], - "include": ["**/*.ts"] -} diff --git a/packages/tao/tsconfig.spec.json b/packages/tao/tsconfig.spec.json deleted file mode 100644 index 46f9467f3b..0000000000 --- a/packages/tao/tsconfig.spec.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../dist/out-tsc", - "module": "commonjs", - "types": ["jest", "node"] - }, - "include": [ - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "**/*.d.ts", - "jest.config.ts" - ] -} diff --git a/packages/vite/project.json b/packages/vite/project.json index 4cc46449d3..f1a7af25fb 100644 --- a/packages/vite/project.json +++ b/packages/vite/project.json @@ -54,9 +54,6 @@ "options": { "command": "node ./scripts/copy-readme.js vite" } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js vite @nrwl/vite" } } } diff --git a/packages/web/project.json b/packages/web/project.json index 8261a33568..0eb7831c3e 100644 --- a/packages/web/project.json +++ b/packages/web/project.json @@ -54,9 +54,6 @@ "options": { "command": "node ./scripts/copy-readme.js web" } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js web @nrwl/web" } } } diff --git a/packages/webpack/project.json b/packages/webpack/project.json index 7c45c463aa..14d3547034 100644 --- a/packages/webpack/project.json +++ b/packages/webpack/project.json @@ -49,9 +49,6 @@ "options": { "command": "node ./scripts/copy-readme.js webpack" } - }, - "add-extra-dependencies": { - "command": "node ./scripts/add-dependency-to-build.js webpack @nrwl/webpack" } } } diff --git a/packages/workspace/package.json b/packages/workspace/package.json index c69f4a5990..1745f204b1 100644 --- a/packages/workspace/package.json +++ b/packages/workspace/package.json @@ -33,30 +33,7 @@ "requirements": {}, "migrations": "./migrations.json", "packageGroup": { - "@nrwl/js": "*", - "@nrwl/jest": "*", - "@nrwl/linter": "*", - "@nrwl/angular": "*", - "@nrwl/cypress": "*", - "@nrwl/detox": "*", - "@nrwl/devkit": "*", - "@nrwl/esbuild": "*", - "@nrwl/eslint-plugin-nx": "*", - "@nrwl/expo": "*", - "@nrwl/express": "*", - "@nrwl/nest": "*", - "@nrwl/next": "*", - "@nrwl/node": "*", "nx-cloud": "latest", - "@nrwl/nx-plugin": "*", - "@nrwl/react-native": "*", - "@nrwl/react": "*", - "@nrwl/rollup": "*", - "@nrwl/storybook": "*", - "@nrwl/tao": "*", - "@nrwl/vite": "*", - "@nrwl/web": "*", - "@nrwl/webpack": "*", "nx": "*" } }, diff --git a/packages/workspace/project.json b/packages/workspace/project.json index 896d4f5433..965f23b41b 100644 --- a/packages/workspace/project.json +++ b/packages/workspace/project.json @@ -78,14 +78,7 @@ "command": "node ./scripts/copy-readme.js workspace" }, "add-extra-dependencies": { - "executor": "nx:run-commands", - "options": { - "commands": [ - "node ./scripts/add-dependency-to-build.js workspace nx", - "node ./scripts/add-dependency-to-build.js workspace @nrwl/workspace" - ], - "parallel": false - } + "command": "node ./scripts/add-dependency-to-build.js workspace nx" } } } diff --git a/scripts/copy-readme.js b/scripts/copy-readme.js index 0865a4988b..792186c69f 100644 --- a/scripts/copy-readme.js +++ b/scripts/copy-readme.js @@ -2,9 +2,7 @@ const fs = require('fs'); const p = process.argv[2]; -let sourceReadmePath = !p.endsWith('-legacy') - ? `packages/${p}/README.md` - : `packages-legacy/${p.replace('-legacy', '')}/README.md`; +let sourceReadmePath = `packages/${p}/README.md`; // we need exception for linter if (p === 'linter') { sourceReadmePath = 'packages/eslint/README.md'; diff --git a/tsconfig.base.json b/tsconfig.base.json index 56ca653fb4..db14af13f2 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -16,8 +16,6 @@ "rootDir": ".", "allowJs": true, "paths": { - "@nrwl/tao": ["packages/tao"], - "@nrwl/tao/*": ["packages/tao/*"], "@nx/angular": ["packages/angular"], "@nx/angular/*": ["packages/angular/*"], "@nx/cypress": ["packages/cypress"],