From ea0ffde991582cdabfec246eb3d31c8cd9b8e49b Mon Sep 17 00:00:00 2001 From: DidaS Date: Sat, 25 Nov 2023 05:25:37 +0000 Subject: [PATCH] Update docs (#7193) --- docs/cli/update.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/cli/update.md b/docs/cli/update.md index dfda37f014..209f9c0f85 100644 --- a/docs/cli/update.md +++ b/docs/cli/update.md @@ -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 +``` \ No newline at end of file