Skip to content

Commit

Permalink
Update docs (#7193)
Browse files Browse the repository at this point in the history
  • Loading branch information
Didas-git authored Nov 25, 2023

Unverified

This user has not yet uploaded their public signing key.
1 parent 194294f commit ea0ffde
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/cli/update.md
Original file line number Diff line number Diff line change
@@ -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
```

0 comments on commit ea0ffde

Please sign in to comment.