Commit 5e26f79
committed
chore(pnpm): drop dead .pnpmrc, declare pnpm defaults in pnpm-workspace.yaml
pnpm v11 reads settings from pnpm-workspace.yaml (and the npm-compat
subset from .npmrc), not from .pnpmrc. The .pnpmrc file previously
committed was being silently ignored — every setting in it was a
no-op.
Changes:
- Delete .pnpmrc (dead file, pnpm does not read it).
- Append to pnpm-workspace.yaml:
- autoInstallPeers: true pnpm default, declared explicitly
- enablePrePostScripts: true pnpm default, declared explicitly (husky)
- saveExact: true pin exact on `pnpm add`
No behavioral change — these match current pnpm defaults. Declaring
explicitly hardens against future pnpm default flips silently
diverging across the fleet.1 parent d6bfe36 commit 5e26f79
2 files changed
Lines changed: 13 additions & 27 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments