Skip to content

chore: switch package management to pnpm#1321

Merged
styfle merged 6 commits into
mainfrom
styfle-ai/switch-to-pnpm-8e2b
May 21, 2026
Merged

chore: switch package management to pnpm#1321
styfle merged 6 commits into
mainfrom
styfle-ai/switch-to-pnpm-8e2b

Conversation

@styfle

@styfle styfle commented May 20, 2026

Copy link
Copy Markdown
Member

Summary

  • replace Yarn package manager metadata and lockfile with pnpm 10.33.0
  • add pnpm workspace config with minimumReleaseAge: 2880
  • update CI/cache and fixture helper commands to use pnpm
  • install pnpm in CI before actions/setup-node configures pnpm caching
  • declare resolve, rimraf, @types/node, and nan explicitly for pnpm's strict dependency layout
  • approve install scripts only for failing native test dependencies (canvas, nan, sharp)
  • patch unfetch@5.0.0 exports to point at files included in the package tarball

Testing

  • pnpm install
  • pnpm install --frozen-lockfile
  • node dist/ncc/cli.js run test/fixtures/ts-interop/interop.ts
  • pnpm jest test/integration.test.js --runInBand -t "isomorphic-unfetch|canvas|sharp"
  • pnpm build-test-binary && pnpm build && pnpm test
Open in Web Open in Cursor 

cursoragent and others added 2 commits May 20, 2026 22:10
Co-authored-by: Steven <styfle@users.noreply.github.com>
Co-authored-by: Steven <styfle@users.noreply.github.com>
@socket-security

socket-security Bot commented May 20, 2026

Copy link
Copy Markdown

cursoragent and others added 3 commits May 20, 2026 22:14
Co-authored-by: Steven <styfle@users.noreply.github.com>
Co-authored-by: Steven <styfle@users.noreply.github.com>
Co-authored-by: Steven <styfle@users.noreply.github.com>
@styfle styfle changed the title Switch package management to pnpm chore: switch package management to pnpm May 20, 2026
Co-authored-by: Steven <styfle@users.noreply.github.com>
@styfle styfle marked this pull request as ready for review May 20, 2026 22:46
@styfle styfle requested a review from Timer as a code owner May 20, 2026 22:46
@styfle styfle enabled auto-merge (squash) May 20, 2026 22:46
@styfle styfle merged commit 91ace7b into main May 21, 2026
10 checks passed
@styfle styfle deleted the styfle-ai/switch-to-pnpm-8e2b branch May 21, 2026 15:06
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.

3 participants