pnpm 11 📦 Configuring pnpm with .npmrc and pnpmfile.js
Configuration in pnpm 11 is not a single file. It is a deliberate split: authentication and registry settings live in .npmrc (INI format), while pnpm-specific behavior lives in pnpm-workspace.yaml (YAML format). The pnpmfile.js is a third mechanism entirely—a hook system that intercepts the dependency resolution process before the lockfile is written. Understanding which file controls…