Skip to content

Migrate to pnpm#1167

Open
hleepfl wants to merge 13 commits into
developfrom
1145-pnpm-migration
Open

Migrate to pnpm#1167
hleepfl wants to merge 13 commits into
developfrom
1145-pnpm-migration

Conversation

@hleepfl

@hleepfl hleepfl commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Switching over from npm to pnpm. Reasons are : it's faster, uses less disk space, forces stricter definition of dependencies and makes monorepo management easier (catalog feature for example)
Again I recommend reviewing by commit

Notes

  • I had to pin exact dependency versions. pnpm doesn't like major version only, and some minor version changes were breaking things anyways
  • Shared dependencies which need to be the same version can be defined in catalog
  • I had to remove the polyfill lib in webapp and polyfill Buffer by hand instead. The library had bugs that hadn't been fixed since like 8 minor versions.

Also I haven't been able to test npm publishing yet. I'm like 50% confident

@hleepfl hleepfl force-pushed the 1145-pnpm-migration branch from 274e038 to eff23f9 Compare June 24, 2026 14:26
@hleepfl hleepfl requested review from JulienVig and tharvik June 24, 2026 15:06
@hleepfl hleepfl marked this pull request as ready for review June 24, 2026 15:07
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