-
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
bun update [package]
#6419
Comments
bun update [package]
yes this sucks we will fix it sorry |
any updates on this feature? Is there an alternative, just as quick way to do the same thing? I would love to fully switch to bun as a package manager but I rely a lot the ability to easily upgrade one or multiple packages. |
I'm struggling with this, too. Having to nuke the entire bun.lockb file to get a single package updated is not great. Due to the binary nature of the lockfile it's not really possible to make changes manually either. This is a little off-topic, but I think this is feedback that is worth considering: I get that having a binary lockfile allows for faster processing and super fast Also note that running |
I assume that it is probably a limitation of update-browserslist-db that is not able to get the info from the lockfile as it is binary |
For Browserslist we need to update all nested dependencies, but just direct one. |
This is supported as of bun We've yet to implement |
What is the problem this feature would solve?
Currently, there is no way to update a single package to its latest version. Additionally, since the lock file is in binary format, it is very difficult to surgically update identifiers and hashes of packages, let alone update nested dependencies.
Specifically, I am trying to support the
bunx update-browserslist-db@latest
workflow, see issue (browserslist/update-db#25) and (draft) PR (browserslist/update-db#26)What is the feature you are proposing to solve the problem?
A
bun update [PACKAGE]
command that would just update this package to the latest version within the specified constraints including nested dependencies.What alternatives have you considered?
Using a different package manager like npm or yarn that provide this specific interface.
The text was updated successfully, but these errors were encountered: