Using pnpm workspace:* for Local Development and Versioned Releases
Use workspace:* in pnpm monorepos for local builds, then pin versions before publishing to external registries to avoid broken consumer installs.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use workspace:* in pnpm monorepos for local builds, then pin versions before publishing to external registries to avoid broken consumer installs.
pnpm's isolated, symlink-based node_modules prevents phantom dependencies by making undeclared transitive packages fail at install time. Learn the layout, trade-offs, and how to verify it.
Stop phantom dependencies in a pnpm monorepo by enforcing isolated node_modules, one committed lockfile, and CI installs that fail on drift.
pnpm's built-in patch command lets you modify dependency source without forking. This post walks through the workflow, monorepo sharing via catalogs, CI reproducibility, and the practical limits you'll hit with version upgrades and TypeScript declarations.
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.