-
Notifications
You must be signed in to change notification settings - Fork 9
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
Migrate from bun to npm, pnpm, or yarn as the package manager #215
Comments
I was the one who adopted Bun, and I currently think we should migrate to npm, so I'll write down my thoughts. First, the initial issue mentioned in the background is resolved by Bun v1.1.39, which enables text-based lock files. https://x.com/bunjavascript/status/1866879040424120625 However, Bun is not being used as widely as I had imagined. In particular, most publicly available OSS applications that developers can try out immediately use npm or pnpm. Vercel example (pnpm): https://github.com/vercel/ai-chatbot If this trend doesn't change, I believe switching from Bun to npm (or pnpm) would be a better choice for developers. |
@toyamarinyon @shige
If agreement is reached on pnpm, I will make a PR. |
@sakit0 Thank you for summarising. I expect to use workspace (and turborepo) in the near future, so I think pnpm is fine. |
@sakit0 I also think migrating to pnpm is a good idea! |
@toyamarinyon @shige |
Task description
Migrate from bun to npm, pnpm, or yarn as the package manager.
Background
bun:test
withmock.module
does not provide a way to reset the mocks.Transitioning to npm, pnpm, or yarn will allow for more flexibility and might resolve the limitations encountered with bun.
TODO (Optional)
Additional notes (Optional)
The text was updated successfully, but these errors were encountered: