Skip to content

chore: migrate from npm to pnpm with supply-chain hardening#10

Merged
bartvw merged 2 commits intomainfrom
chore/pnpm-migration
Apr 13, 2026
Merged

chore: migrate from npm to pnpm with supply-chain hardening#10
bartvw merged 2 commits intomainfrom
chore/pnpm-migration

Conversation

@bartvw
Copy link
Copy Markdown
Owner

@bartvw bartvw commented Apr 13, 2026

  • Pin package manager to pnpm@10.33.0 (via packageManager + Corepack)
  • Add engines.node >= 22
  • Configure minimum-release-age=7d quarantine for new releases
  • Restrict lifecycle scripts to esbuild only (pnpm.onlyBuiltDependencies)
  • Bump @types/node ^20 -> ^24 to pick up undici-types 7.x (has provenance)
  • trust-policy-ignore-after=30d grandfathers historical downgrades in long-lived transitive deps (semver, synckit) while keeping the check active for recently-published packages
  • Update CI workflows, pre-commit hook, README, CLAUDE.md

bartvw and others added 2 commits April 13, 2026 22:04
- Pin package manager to pnpm@10.33.0 (via packageManager + Corepack)
- Add engines.node >= 22
- Configure minimum-release-age=7d quarantine for new releases
- Restrict lifecycle scripts to esbuild only (pnpm.onlyBuiltDependencies)
- Bump @types/node ^20 -> ^24 to pick up undici-types 7.x (has provenance)
- trust-policy-ignore-after=30d grandfathers historical downgrades in
  long-lived transitive deps (semver, synckit) while keeping the check
  active for recently-published packages
- Update CI workflows, pre-commit hook, README, CLAUDE.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
pnpm's strict isolation doesn't expose transitive binaries the way
npm's flat hoisting does. eslint was only reachable via plugins in
devDeps, which worked under npm but broke `pnpm run lint` in CI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bartvw bartvw merged commit 74ae690 into main Apr 13, 2026
9 checks passed
@bartvw bartvw deleted the chore/pnpm-migration branch April 13, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant