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

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/โ€‹@โ€‹types/โ€‹node@โ€‹22.5.5 โต 25.9.0100 +110081 +196 +1100
Addednpm/โ€‹args@โ€‹5.0.39910010082100
Addednpm/โ€‹rimraf@โ€‹6.1.39910010083100
Updatednpm/โ€‹pug@โ€‹3.0.3 โต 3.0.49910010083100
Addednpm/โ€‹concurrently@โ€‹4.1.29910010083100
Updatednpm/โ€‹rxjs@โ€‹7.8.1 โต 7.8.29910010083100
Updatednpm/โ€‹socket.io@โ€‹4.8.0 โต 4.8.3100 +110010083100
Updatednpm/โ€‹oracledb@โ€‹6.6.0 โต 6.10.090 +1100100 +484100
Addednpm/โ€‹@โ€‹vercel/โ€‹ncc@โ€‹0.38.49910010085100
Updatednpm/โ€‹axios@โ€‹0.21.4 โต 1.16.185 -13100 +50100 +196100
Updatednpm/โ€‹tsconfig-paths-webpack-plugin@โ€‹4.1.0 โต 4.2.010010010086100
Updatednpm/โ€‹sequelize@โ€‹6.37.3 โต 6.37.895100 +1697 +586100
Updatednpm/โ€‹ioredis@โ€‹5.4.1 โต 5.10.193100100 +187 -1100
Updatednpm/โ€‹resolve@โ€‹1.22.8 โต 1.22.1299100100 +189100
Updatednpm/โ€‹nan@โ€‹2.20.0 โต 2.27.010010010090100
Updatednpm/โ€‹typescript@โ€‹6.0.3 โต 5.9.3100100909690
Updatednpm/โ€‹pg@โ€‹8.13.0 โต 8.21.09810099 +290 +6100
Updatednpm/โ€‹@โ€‹sentry/โ€‹node@โ€‹7.119.0 โต 7.120.491 +111009196 +1100
Updatednpm/โ€‹express@โ€‹4.21.0 โต 4.22.297 +110010091100
Updatednpm/โ€‹canvas@โ€‹3.2.1 โต 3.2.39910010091100
Updatednpm/โ€‹koa@โ€‹3.0.3 โต 3.2.098 +1100 +1610092100
Updatednpm/โ€‹terser@โ€‹5.33.0 โต 5.47.197 +610010092100
Updatednpm/โ€‹mongoose@โ€‹8.9.5 โต 8.24.093100 +1610098100
Updatednpm/โ€‹vm2@โ€‹3.10.3 โต 3.11.597 +12100 +75100 +194 +2100
Updatednpm/โ€‹graphql@โ€‹15.9.0 โต 15.10.297 +110010096 -1100
Updatednpm/โ€‹@โ€‹aws-sdk/โ€‹client-s3@โ€‹3.787.0 โต 3.1049.099 +2100100 +198100
Addedgithub/โ€‹pnpm/โ€‹action-setup@โ€‹f40ffcd9367d9f12939873eb1018b921a783ffaa98100100100100
Updatednpm/โ€‹@โ€‹slack/โ€‹web-api@โ€‹6.12.1 โต 6.13.099 +1100100 +199 +2100

View full report

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