Skip to content

Switch from yarn to pnpm - #211

Merged
lukemelia merged 1 commit into
masterfrom
pnpm
Oct 27, 2026
Merged

lukemelia merged 1 commit into
masterfrom
pnpm

Conversation

@lukemelia

Copy link
Copy Markdown
Contributor

Summary

  • Lockfile: yarn.lock → pnpm-lock.yaml, generated with pnpm import so every resolved version carries over unchanged (including the Dependabot bumps merged today).
  • packageManager: yarn@1.22.22 → pnpm@12.15.0 (with checksum).
  • Volta: drop the yarn pin; Node 16.20.0 → 20.19.0, since pnpm 12 requires Node 18+.
  • pnpm-workspace.yaml: allowBuilds: { core-js: false }. pnpm 12 fails the install on unapproved build scripts; core-js 2's postinstall only prints a funding banner.
  • CI: add pnpm/action-setup@v6 and cache: 'pnpm'; pnpm install --frozen-lockfile for Test, pnpm install --no-lockfile for Floating Dependencies.
  • Docs: CONTRIBUTING.md and README use pnpm install / pnpm test.

No change to the published package: dependencies, engines, and the release-it setup (which publishes via npm) are untouched.

Testing

On Node 20, locally:

  • pnpm install --frozen-lockfile + pnpm test: 35 passing, ESLint clean
  • pnpm install --no-lockfile + pnpm test: 35 passing

Once merged, Dependabot will close #210, which only touches yarn.lock.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Rvn9nzW2qDp8TtbmZ4mEve

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rvn9nzW2qDp8TtbmZ4mEve
@lukemelia
lukemelia merged commit 0fd80ad into master Oct 27, 2026
8 checks passed
@lukemelia
lukemelia deleted the pnpm branch October 27, 2026 19:05
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