nx

The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

Package reference

Here is a list of all the executors, generators and migrations available from this package.

Guides

Executors

Generators

Migrations

  • 20.0.x

  • use-legacy-cache

    Set `useLegacyCache` to true for migrating workspaces

    Version: 20.0.1

    move-use-daemon-process

    Migration for v20.0.0-beta.7

    Version: 20.0.0-beta.7
  • 19.2.x

  • 19-2-4-set-project-name

    Set project name in nx.json explicitly

    Version: 19.2.4-beta.0

    19-2-2-update-nx-wrapper

    Updates the nx wrapper.

    Version: 19.2.2-beta.0

    19-2-0-move-graph-cache-directory

    Updates the default workspace data directory to .nx/workspace-data

    Version: 19.2.0-beta.2
  • 18.1.x

  • move-default-base-to-nx-json-root

    Moves affected.defaultBase to defaultBase in `nx.json`

    Version: 18.1.0-beta.3
  • 18.0.x

  • 18.0.0-disable-adding-plugins-for-existing-workspaces

    Updates nx.json to disabled adding plugins when generating projects in an existing Nx workspace

    Version: 18.0.0-beta.2
  • 17.3.x

  • 17.3.0-update-nx-wrapper

    Updates the nx wrapper.

    Version: 17.3.0-beta.6
  • 17.0.x

  • rm-default-collection-npm-scope

    Migration for v17.0.0-rc.1

    Version: 17.0.0-rc.1

    17.0.0-use-minimal-config-for-tasks-runner-options

    Use minimal config for tasksRunnerOptions

    Version: 17.0.0-beta.3

    17.0.0-move-cache-directory

    Updates the default cache directory to .nx/cache

    Version: 17.0.0-beta.1

    Sample Code Changes

    Add .nx/cache to the .gitignore file.

    .gitignore
    1node_modules 2

    Add .nx/cache to the .prettierignore file.

    .prettierignore
    1/dist 2