@nx/workspace
An Nx workspace is any directory with an
nx.json file, which sets the
defaults for how Nx runs and caches tasks. A workspace can hold a single project
or many. Add Nx to a new or existing workspace to get cached tasks, affected-only
builds, and faster CI.
New to Nx?
What is Nx? See what Nx is and how it speeds up your builds and CI.
Crafting your workspace Set up and structure an Nx workspace step by step.
Add Nx to an existing workspace
Already using npm, pnpm, Yarn, or Bun workspaces? Add Nx to make your tasks cacheable and your CI affected-aware.
Package reference
The @nx/workspace package contains generators and executors for
creating and managing your workspace.