The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.
nx
Package reference
Here is a list of all the executors, generators and migrations available from this package.
Guides
Executors
An executor that does nothing
Run any custom commands with Nx.
Run an NPM script using Nx.
Generators
Connect a workspace to Nx Cloud
Migrations
20.0.x
19.2.x
18.1.x
18.0.x
17.3.x
17.0.x
use-legacy-cache
Set `useLegacyCache` to true for migrating workspaces
move-use-daemon-process
Migration for v20.0.0-beta.7
19-2-4-set-project-name
Set project name in nx.json explicitly
19-2-2-update-nx-wrapper
Updates the nx wrapper.
19-2-0-move-graph-cache-directory
Updates the default workspace data directory to .nx/workspace-data
move-default-base-to-nx-json-root
Moves affected.defaultBase to defaultBase in `nx.json`
18.0.0-disable-adding-plugins-for-existing-workspaces
Updates nx.json to disabled adding plugins when generating projects in an existing Nx workspace
17.3.0-update-nx-wrapper
Updates the nx wrapper.
rm-default-collection-npm-scope
Migration for v17.0.0-rc.1
17.0.0-use-minimal-config-for-tasks-runner-options
Use minimal config for tasksRunnerOptions
17.0.0-move-cache-directory
Updates the default cache directory to .nx/cache
Sample Code Changes
Add .nx/cache
to the .gitignore
file.
1node_modules
2
Add .nx/cache
to the .prettierignore
file.
1/dist
2