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.
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 protocol creates a single content‑addressable store and symlinks packages, cutting duplicate dependencies and speeding up installs in a monorepo.
A technical guide on using pnpm's workspace: protocol to eliminate dependency duplication and ensure deterministic internal linking in monorepos.
When maintaining a pnpm workspace that contains an internal package consumed by other workspace projects, teams must decide whether to reference that internal package via the workspace: protocol (e.g., "workspace:^1.0.0") or via a semantic version range (e.g., "^1.0.0") in the dependent manifests. The goal is to receive security and bug fixes published to th