Skip to content

ADR 004 pnpm-Only JavaScript Tooling

JavaScript, TypeScript, Astro, and docs repositories use pnpm only.

  • Pin pnpm through packageManager and devEngines.packageManager.
  • Install with pnpm install --frozen-lockfile.
  • Run package binaries through pnpm exec or repository scripts.
  • Block npm, npx, yarn, and bun for project lifecycle commands.

Repository instructions and CI must not prescribe npm or npx commands, even when upstream documentation uses them.