mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Update docs (#7193)
This commit is contained in:
@@ -4,4 +4,14 @@ To update all dependencies to the latest version _that's compatible with the ver
|
||||
$ bun update
|
||||
```
|
||||
|
||||
This will not edit your `package.json`. There's currently no command to force-update all dependencies to the latest version regardless version ranges.
|
||||
## `--force`
|
||||
|
||||
{% callout %}
|
||||
**Alias** — `-f`
|
||||
{% /callout %}
|
||||
|
||||
Bun by default respect the version rages defined in your package.json, to ignore this and update to the latest version you can pass in the `force` flag.
|
||||
|
||||
```sh
|
||||
$ bun update --force
|
||||
```
|
||||
Reference in New Issue
Block a user