Skip to content

docs(misc): remove installation instructions for Nx < 18 #30950

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions docs/generated/packages/angular/documents/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,27 +39,12 @@ Make sure to install the `@nx/angular` version that matches the version of `nx`

In any Nx workspace, you can install `@nx/angular` by running the following command:

{% tabs %}
{% tab label="Nx 18+" %}

```shell {% skipRescope=true %}
nx add @nx/angular
```

This will install the correct version of `@nx/angular`.

{% /tab %}
{% tab label="Nx < 18" %}

Install the `@nx/angular` package with your package manager.

```shell
npm add -D @nx/angular
```

{% /tab %}
{% /tabs %}

{% callout type="note" title="Angular Tutorial" %}
For a full tutorial experience, follow the [Angular Monorepo Tutorial](/getting-started/tutorials/angular-monorepo-tutorial)
{% /callout %}
Expand Down
21 changes: 0 additions & 21 deletions docs/generated/packages/detox/documents/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ Make sure to install the `@nx/detox` version that matches the version of `nx` in

In any Nx workspace, you can install `@nx/detox` by running the following command:

{% tabs %}
{% tab label="Nx 18+" %}

```shell {% skipRescope=true %}
nx add @nx/detox
```
Expand Down Expand Up @@ -81,24 +78,6 @@ The `@nx/detox/plugin` is configured in the `plugins` array in `nx.json`.

Once a Detox configuration file has been identified, the targets are created with the name you specify under `buildTargetName`, `startTargetName` or `testTargetName` in the `nx.json` `plugins` array. The default names for the inferred targets are `build` and `test`.

{% /tab %}
{% tab label="Nx < 18" %}

Install the `@nx/detox` package with your package manager.

```shell
npm add -D @nx/detox
```

### Generating Applications

By default, when creating a mobile application, Nx will use Detox to create the e2e tests project.

```shell
nx g @nx/react-native:app apps/frontend --e2eTestRunner=deotx
nx g @nx/expo:app apps/frontend --e2eTestRunner=detox
```

## Using Detox

### Testing Applications
Expand Down
15 changes: 0 additions & 15 deletions docs/generated/packages/esbuild/documents/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,12 @@ Make sure to install the `@nx/esbuild` version that matches the version of `nx`

In any Nx workspace, you can install `@nx/esbuild` by running the following command:

{% tabs %}
{% tab label="Nx 18+" %}

```shell {% skipRescope=true %}
nx add @nx/esbuild
```

This will install the correct version of `@nx/esbuild`.

{% /tab %}
{% tab label="Nx < 18" %}

Install the `@nx/esbuild` package with your package manager.

```shell
npm add -D @nx/esbuild
```

{% /tab %}
{% /tabs %}

## Using the @nx/esbuild Plugin

### Creating a new JS library
Expand Down
15 changes: 0 additions & 15 deletions docs/generated/packages/eslint-plugin/documents/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,12 @@ Make sure to install the `@nx/eslint-plugin` version that matches the version of

In any Nx workspace, you can install `@nx/eslint-plugin` by running the following commands if the package is not already installed:

{% tabs %}
{% tab label="Nx 18+" %}

```shell {% skipRescope=true %}
nx add @nx/eslint-plugin
```

This will install the correct version of `@nx/eslint-plugin`.

{% /tab %}
{% tab label="Nx < 18" %}

Install the `@nx/eslint-plugin` package with your package manager.

```shell
npm add -D @nx/eslint-plugin
```

{% /tab %}
{% /tabs %}

## Included plugins

The plugin contains the following rule configurations divided into sub-plugins.
Expand Down
24 changes: 0 additions & 24 deletions docs/generated/packages/eslint/documents/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ Make sure to install the `@nx/eslint` version that matches the version of `nx` i

In any Nx workspace, you can install `@nx/eslint` by running the following command:

{% tabs %}
{% tab label="Nx 18+" %}

```shell {% skipRescope=true %}
nx add @nx/eslint
```
Expand Down Expand Up @@ -66,27 +63,6 @@ The `@nx/eslint/plugin` is configured in the `plugins` array in `nx.json`.

- The `targetName` option controls the name of the inferred ESLint tasks. The default name is `lint`.

{% /tab %}
{% tab label="Nx 17" %}

Install the `@nx/eslint` package with your package manager.

```shell {% skipRescope=true %}
npm add -D @nx/eslint
```

{% /tab %}
{% tab label="Nx < 17" %}

Install the `@nx/linter` package with your package manager.

```shell
npm add -D @nx/linter
```

{% /tab %}
{% /tabs %}

## Lint

You can lint an application or a library with the following command:
Expand Down
15 changes: 0 additions & 15 deletions docs/generated/packages/expo/documents/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,12 @@ Make sure to install the `@nx/expo` version that matches the version of `nx` in

In any Nx workspace, you can install `@nx/expo` by running the following command:

{% tabs %}
{% tab label="Nx 18+" %}

```shell {% skipRescope=true %}
nx add @nx/expo
```

This will install the correct version of `@nx/expo`.

{% /tab %}
{% tab label="Nx < 18" %}

Install the `@nx/expo` package with your package manager.

```shell
npm add -D @nx/expo
```

{% /tab %}
{% /tabs %}

### How @nx/expo Infers Tasks

The `@nx/expo` plugin will create a task for any project that has an app configuration file present. Any of the following files will be recognized as an app configuration file:
Expand Down
15 changes: 0 additions & 15 deletions docs/generated/packages/express/documents/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,12 @@ Make sure to install the `@nx/express` version that matches the version of `nx`

In any Nx workspace, you can install `@nx/express` by running the following command:

{% tabs %}
{% tab label="Nx 18+" %}

```shell {% skipRescope=true %}
nx add @nx/express
```

This will install the correct version of `@nx/express`.

{% /tab %}
{% tab label="Nx < 18" %}

Install the `@nx/express` package with your package manager.

```shell
npm add -D @nx/express
```

{% /tab %}
{% /tabs %}

## Recipes

- [Add an Express Application to Your Workspace](/showcase/example-repos/add-express)
Expand Down
15 changes: 0 additions & 15 deletions docs/generated/packages/jest/documents/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,12 @@ Make sure to install the `@nx/jest` version that matches the version of `nx` in

In any Nx workspace, you can install `@nx/jest` by running the following command:

{% tabs %}
{% tab label="Nx 18+" %}

```shell {% skipRescope=true %}
nx add @nx/jest
```

This will install the correct version of `@nx/jest`.

{% /tab %}
{% tab label="Nx < 18" %}

Install the `@nx/jest` package with your package manager.

```shell
npm add -D @nx/jest
```

{% /tab %}
{% /tabs %}

#### Configuring @nx/jest/plugin for both E2E and Unit Tests

While Jest is most often used for unit tests, there are cases where it can be used for e2e tests as well as unit tests
Expand Down
15 changes: 0 additions & 15 deletions docs/generated/packages/js/documents/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,12 @@ Make sure to install the `@nx/js` version that matches the version of `nx` in yo

In any Nx workspace, you can install `@nx/js` by running the following command:

{% tabs %}
{% tab label="Nx 18+" %}

```shell {% skipRescope=true %}
nx add @nx/js
```

This will install the correct version of `@nx/js`.

{% /tab %}
{% tab label="Nx < 18" %}

Install the `@nx/js` package with your package manager.

```shell
npm add -D @nx/js
```

{% /tab %}
{% /tabs %}

### `ts` Preset

When initializing a new Nx workspace, specifying `--preset=ts` will generate a workspace with `@nx/js` pre-installed.
Expand Down
15 changes: 0 additions & 15 deletions docs/generated/packages/nest/documents/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,12 @@ Make sure to install the `@nx/nest` version that matches the version of `nx` in

In any Nx workspace, you can install `@nx/nest` by running the following command:

{% tabs %}
{% tab label="Nx 18+" %}

```shell {% skipRescope=true %}
nx add @nx/nest
```

This will install the correct version of `@nx/nest`.

{% /tab %}
{% tab label="Nx < 18" %}

Install the `@nx/nest` package with your package manager.

```shell
npm add -D @nx/nest
```

{% /tab %}
{% /tabs %}

### Create Applications

You can add a new Nest application with the following command:
Expand Down
15 changes: 0 additions & 15 deletions docs/generated/packages/node/documents/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,12 @@ Make sure to install the `@nx/node` version that matches the version of `nx` in

In any Nx workspace, you can install `@nx/node` by running the following command:

{% tabs %}
{% tab label="Nx 18+" %}

```shell {% skipRescope=true %}
nx add @nx/node
```

This will install the correct version of `@nx/node`.

{% /tab %}
{% tab label="Nx < 18" %}

Install the `@nx/node` package with your package manager.

```shell
npm add -D @nx/node
```

{% /tab %}
{% /tabs %}

## Using the @nx/node Plugin

### Creating Applications
Expand Down
15 changes: 0 additions & 15 deletions docs/generated/packages/playwright/documents/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ Make sure to install the `@nx/playwright` version that matches the version of `n

In any Nx workspace, you can install `@nx/playwright` by running the following command:

{% tabs %}
{% tab label="Nx 18+" %}

```shell {% skipRescope=true %}
nx add @nx/playwright
```
Expand Down Expand Up @@ -71,18 +68,6 @@ The `targetName` and `ciTargetName` options control the name of the inferred Pla

If you would like to disable Atomizer for Playwright tasks, set `ciTargetName` to `false`.

{% /tab %}
{% tab label="Nx < 18" %}

Install the `@nx/playwright` package with your package manager.

```shell {% skipRescope=true %}
npm add -D @nx/playwright
```

{% /tab %}
{% /tabs %}

## E2E Testing

By default, when creating a new frontend application, Nx will prompt for which e2e test runner to use. Select `playwright` or pass in the arg `--e2eTestRunner=playwright`
Expand Down
15 changes: 0 additions & 15 deletions docs/generated/packages/react/documents/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,27 +30,12 @@ Make sure to install the `@nx/react` version that matches the version of `nx` in

In any Nx workspace, you can install `@nx/react` by running the following command:

{% tabs %}
{% tab label="Nx 18+" %}

```shell {% skipRescope=true %}
nx add @nx/react
```

This will install the correct version of `@nx/react`.

{% /tab %}
{% tab label="Nx < 18" %}

Install the `@nx/react` package with your package manager.

```shell
npm add -D @nx/react
```

{% /tab %}
{% /tabs %}

## Using the @nx/react Plugin

### Creating Applications and Libraries
Expand Down
Loading