pnpm
A fast JavaScript package manager that stores each package version once on disk and has strong built-in support for workspaces.
In more detail
pnpm installs the same packages as npm but links them from a shared store, which saves disk space and stops code from using dependencies it never declared. Its pnpm-workspace.yaml file lists which folders are workspace packages.
Related terms
- npm — The package manager that comes with Node.js, plus the public registry where JavaScript packages are published.
- package workspace — A package-manager feature that treats several folders in one repository as separate packages and links them to each other locally.
- lockfile — A file that records the exact version of every dependency, including transitive ones, so every install gets the same set.
Taught in
- Monorepo Architecture: Workspaces & Turborepo — Production Full-Stack Engineering