-
Notifications
You must be signed in to change notification settings - Fork 3k
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
implement bun update
#4046
implement bun update
#4046
Conversation
- analogous to `npm update` - `bun update <name>` to refresh specified package under `package.json` - `bun update` to refresh all package to latest versions
Can you add a test with dependencies of dependencies that get updated? From reading the code, I'm a little confused why this works when the dependency is not passed in the list. Where does it choose to update the package? I'm also wondering how it deals with version tags like "latest", if those get updated. And if "*" is chosen. |
I'm assuming you meant
Same way as it would be handled by bun/test/cli/install/bun-install.test.ts Lines 1228 to 1288 in f2f2277
Will do 👌 |
We need to update zsh/fish/bash completions to add the |
Thank you |
- analogous to `npm update` - `bun update <name>` to refresh specified package under `package.json` - `bun update` to refresh all package to latest versions
npm update
bun update <name>
to refresh specified package underpackage.json
bun update
to refresh all package to latest versionsWhat does this PR do?
How did you verify your code works?
zig fmt
on the changed files