# pnpm uses a strict, symlink-heavy node_modules layout by default. On Windows,
# this conflicts with turbo's platform-specific binaries (@turbo/windows-64) —
# pnpm tries to ignore a path it should keep, hitting ENOENT during rename.
# `node-linker=hoisted` switches pnpm to npm's flat layout, which avoids the
# symlink filtering entirely. Trade-off: loses pnpm's strict phantom-dep
# protection. See risk table in
# docs/superpowers/specs/2026-05-02-pnpm-turbo-migration.md.
node-linker=hoisted

# pnpm 8+ auto-installs all declared peer deps by default — even ones marked
# optional via `peerDependenciesMeta`. Workspace packages that declare optional
# peers (see `peerDependenciesMeta` in each packages/typescript/*/package.json)
# may have tests asserting fallback paths trigger WHEN those packages are not
# installed; auto-installing them breaks those tests. This restores npm's
# behavior: optional peers stay absent unless a consumer explicitly installs
# them.
auto-install-peers=false
