Pnpm

Use when working with pnpm — the fast, disk-space-efficient Node.js package manager. Covers the symlinked node_modules layout (isolated/hoisted/pnp, hoist, shamefullyHoist, nodeLinker, virtualStoreDir), the content-addressable global store, pnpm-lock.yaml (lockfileVersion 9.0, importers, packages, snapshots), pnpm-workspace.yaml monorepos (-r, --filter, workspace: protocol), catalogs (catalog: protocol), overrides, packageExtensions, patching (pnpm patch / patch-commit), peer dependency isolation (autoInstallPeers, strictPeerDependencies), .pnpmfile hooks (readPackage, afterAllResolved, custom resolvers/fetchers), the CLI (install, add, update, run, exec, dlx, create, publish, pack, list, why, outdated, audit, store, fetch, prune, config, env, runtime), configuration (pnpm-workspace.yaml, .npmrc auth, pnpm_config_*, the v11 config split, minimumReleaseAge, trustPolicy, allowBuilds), env variables (PNPM_HOME, XDG_DATA_HOME, PNPM_PACKAGE_NAME), and how pnpm differs from npm, Yarn Classic, and Yarn Berry.

carapace-sh f1b2960 16 files · 135.4 KB Updated

File contents

carapace-sh/carapace-pnpm/tree/main/skills/pnpm commit f1b2960559

Frequently asked questions

npx skillmds@latest add carapace-sh/pnpm