nx migrate upgrade: A Two-Phase Guide to Nx Breaking Changes
Run an nx migrate upgrade as a reviewable change: inspect migrations.json, apply in small commits, verify behavior, and handle breaking changes safely.
16 min read
Category
Workspace tooling, the project graph, affected builds, caching and CI for monorepos.
Run an nx migrate upgrade as a reviewable change: inspect migrations.json, apply in small commits, verify behavior, and handle breaking changes safely.
16 min read
Mark serve targets as continuous in Nx and wire them with task dependencies so nx serve web starts your API too, plus readiness, ports and e2e.
13 min read
Configure Nx named inputs, implicit dependencies and workspace-root filesets so changes to SQL, protobuf, YAML and template files trigger the right tasks.
13 min read
Model SQL migrations, .proto schemas and config files with Nx namedInputs and dependency edges so affected detection and caching stop skipping changed projects.
13 min read
Model each schema as an Nx project with a non-cached migrate target, pick safe base SHAs, and keep a full-run safety net so no environment drifts.
13 min read
How Nx and pnpm workspaces split responsibilities, and how catalogs, strict node_modules and a lockfile workflow keep a monorepo correct and fast.
13 min read
Learn how nx migrate works in two phases, how to review migrations.json, and how to upgrade Nx one major version at a time with small, revertable commits.
13 min read
Learn to mark dev servers, watchers, and local services as Nx continuous tasks, wire them with dependsOn, and handle readiness, shutdown, and logs.
13 min read
Set up Go services in an Nx monorepo: wrap go build and test as targets, declare precise cache inputs, map dependencies and run affected Go builds in CI.
13 min read
Learn how Nx builds task graphs, when to use build vs ^build, how to centralize pipeline rules in targetDefaults, and how to debug wrong build order.
16 min read
Learn how Nx build configurations, project.json targets and fileReplacements work, and when backend services should use runtime config instead.
13 min read
Learn when a shared script is enough and when an nx local plugin pays off for caching, project graph awareness, generators and inferred tasks.
12 min read