-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Fix bugs and DX issues with bun patch
#11719
Comments
This is probably the biggest blocker for myself and many others from adopting bun.. would love to know how soon this feature could be implemented |
I have a PR open now for these changes here: #11858 |
|
TODOs for @zackradisic:
bun patch-commit
withbun patch --commit package-name
node_modules/package-name
with a copy of itself (excluding node_modules, likepatch-package
). This lets developers test their patches locally before committing them, and avoids the issue where hardlinks can potentially overwrite the cached package. This does not handle postinstall scriptsbun patch --revert package-name
bun patch --commit
needs tests. I am surprised that we mergedbun patch
whenbun patch-commit
had zero test coverage.bun patch --commit
should handle when the patch already existsbun patch --commit
should work with scoped packagesbun patch --commit
should never cause "Resolving..." to happen indefinitely on installbun patch
should not be missing from the help menuThe text was updated successfully, but these errors were encountered: