Nx Docker Build with a Pruned Lockfile for Lean Node Images
Use Nx generatePackageJson to emit a per-app package.json and pruned lockfile, then build a lean multi-stage Docker image for an Nx Node app.
14 min read
Tag
Use Nx generatePackageJson to emit a per-app package.json and pruned lockfile, then build a lean multi-stage Docker image for an Nx Node app.
14 min read
Learn how Nx conformance rules, tags, and module boundaries govern large monorepos, and how to roll out enforcement in stages without blocking every team.
13 min read
Learn how Nx inferred tasks work, the plugin → targetDefaults → project.json precedence, how to verify cache inputs, and how to migrate safely.
17 min read
Learn how Nx module federation works as a build and deployment topology: hosts, remote apps, shared dependencies, CI caching, and independent deploys.
13 min read
Learn how nx release splits versioning, changelogs and publishing into phases driven by conventional commits, and how to run it safely in CI.
13 min read
Learn how Nx generators and executors let platform teams encode build conventions in a tested local plugin, plus when to avoid them and what they cost.
14 min read
Learn how the Nx task pipeline turns dependsOn into a task graph, how ^build differs from build, and how to debug build order, caching and races.
13 min read
Learn what workspaces, task runners like Nx, and Lerna each do in a monorepo, how affected runs and caching work, and which layers your repo needs.
13 min read
How a small team can set up a JavaScript monorepo with pnpm workspaces, and when measured build and CI pain justifies adding Turborepo or Nx.
17 min read
Learn to structure an Nx Angular monorepo like a layered service: thin apps, typed libraries, lint-enforced module boundaries and affected-only CI.
13 min read
Learn how Nx models a React monorepo as a dependency graph: scaffold apps and libraries with generators, build shared UI, enforce boundaries, speed up CI.
13 min read
Learn how Nx module boundaries work, how to design tags and depConstraints, roll the lint rule into an existing workspace, and make it a blocking CI check.
14 min read