Update docs (#7193)

This commit is contained in:
DidaS
2023-11-25 05:25:37 +00:00
committed by GitHub
parent 194294f5b5
commit ea0ffde991

View File

@@ -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
```