Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider replacing yarn with pnpm #5333

Open
jmrossy opened this issue Jan 29, 2025 · 2 comments
Open

Consider replacing yarn with pnpm #5333

jmrossy opened this issue Jan 29, 2025 · 2 comments

Comments

@jmrossy
Copy link
Contributor

jmrossy commented Jan 29, 2025

Yarn v1 was ahead of the game for a while with it's monorepo support that greatly improved on lerna. However, in the years since then, yarn has generally fallen behind and pnpm is leading the pack.

In particular it has:

  1. Better performance
  2. Better monorepo features
  3. Better security
  4. Growing usage
  5. Generally better user satisfaction (from what I hear)
@yorhodes
Copy link
Member

what about bun

@jmrossy
Copy link
Contributor Author

jmrossy commented Jan 30, 2025

@yorhodes bun is very cool, very fast, and also prioritizes security so it's worth considering!
I do have two small reservations though:

  1. I wouldn't recommend using the bun package manager unless we also replace our usage of node with bun. Which would be nice but since the majority of our CLI users will use node, risk of missing a node-specific bug is a bit higher
  2. I don't know how good bun's monorepo features are. The docs say it supports workspaces, I just don't know personally how good they are and haven't heard anything about it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants