pnpm's isolated node_modules as a dependency hygiene check
pnpm's symlink-based node_modules makes phantom dependencies fail fast. This post explains the isolated layout, how to verify it locally, and the tooling trade-offs of strict resolution.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
pnpm's symlink-based node_modules makes phantom dependencies fail fast. This post explains the isolated layout, how to verify it locally, and the tooling trade-offs of strict resolution.
An architecture note covering the requirements, minimal file set, trust boundaries, operational checks, failure modes, and change triggers for pnpm workspaces.
pnpm’s content‑addressable store uses hard links to share dependency files across projects, saving disk space and surfacing phantom dependencies early. This guide explains the mechanism, shows a concrete example, and outlines trade‑offs for real‑world use.
pnpm stores each package version once in a global content-addressable store and builds node_modules from hard links and symlinks, saving disk space and blocking phantom dependencies by default.
A diagnostic guide for resolving pnpm workspace installation failures, covering store corruption, lockfile mismatches, and workspace protocol errors.
Learn how pnpm’s workspace protocol creates a single content‑addressable store and symlinks packages, cutting duplicate dependencies and speeding up installs in a monorepo.
Learn how to pick the right pnpm hoisting mode for your Node.js project, compare disk usage and compatibility, and apply the setting with verification steps.
Learn how pnpm’s overrides field lets you force a specific dependency version across a monorepo, eliminating conflicts without forking packages.
pnpm workspaces let you share dependencies across a monorepo, cutting install time and disk usage. This post walks through setting up a minimal workspace, explains hoisting, and shows how to diagnose common pitfalls.