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

Bun-update command #4147

Closed
mathletedev opened this issue Aug 14, 2023 · 1 comment
Closed

Bun-update command #4147

mathletedev opened this issue Aug 14, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@mathletedev
Copy link

What is the problem this feature would solve?

This feature would make it easier to update all existing packages to their latest versions.

What is the feature you are proposing to solve the problem?

It would be similar to npm-update:
In addition to the existing sub-commands (such as bun add), there would be a bun update command that updates every package listed in package.json to its latest version.

What alternatives have you considered?

I have written my own "bun update" command (in Rust, not Zig): https://github.com/mathletedev/bunup
It simply iterates through all the packages listed in package.json and runs bun add for each one. However, it would be amazing if it could be packaged with Bun by default!

@mathletedev mathletedev added the enhancement New feature or request label Aug 14, 2023
@yus-ham
Copy link
Contributor

yus-ham commented Aug 16, 2023

This already implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants