Selecting a pnpm node-linker Mode for Workspace Monorepos
Learn how to choose between isolated, hoisted, and loose node-linker modes in pnpm workspaces to balance strict dependency isolation with tool compatibility.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to choose between isolated, hoisted, and loose node-linker modes in pnpm workspaces to balance strict dependency isolation with tool compatibility.
Large projects waste time and disk space on node_modules. Yarn Plug'n'Play replaces the directory with a single map file, speeds installs, enforces strict dependencies, and offers a zero‑install workflow. Learn how to switch, test, and handle limitations.
pnpm stores packages once in a global content-addressable store and hardlinks them into workspaces, eliminating monorepo disk duplication—if your tools handle symlinks.
A diagnostic guide for pnpm phantom dependency errors, store linking failures, and workspace issues in monorepos with ordered checks, safe fixes, and escalation criteria.
Learn how to diagnose and fix 'workspace: package not found' and ERR_PNPM_RESOLVE_FAILURE errors in pnpm monorepos by verifying workspace boundaries and protocol prefixes.
A task guide for migrating a JavaScript/TypeScript monorepo to pnpm workspaces with strict dependency isolation, content-addressable store reuse, and deterministic installs using the workspace:* protocol and isolated node-linker mode.
Learn how pnpm's workspace versioning command synchronizes package versions and workspace dependencies across a monorepo, where it breaks down, and how to verify the result.
Learn how pnpm catalogs let you centralize dependency versions in a monorepo, avoid phantom dependencies, and safely update packages across workspaces.
Adopt pnpm workspaces with a single root lockfile and filtered CI builds to get deterministic installs, prevent phantom dependencies, and speed up CI. This guide explains the minimal design, trust boundaries, operational checks, failure modes, and when to redesign.