doc: minor fixes (#3278)

* `bun link` only modifies `package.json` when `--save` is passed.
* clang-15 is a separate package from llvm-15.
This commit is contained in:
Keyhan Vakil
2023-06-11 09:26:46 -07:00
committed by GitHub
parent 9a8d9b5e91
commit 50a18b6bac
2 changed files with 2 additions and 2 deletions

View File

@@ -185,7 +185,7 @@ $ cd /path/to/my-app
$ bun link cool-pkg
```
This will add `cool-pkg` to the `dependencies` field of your app's package.json with a special version specifier that tells Bun to load from the registered local directory instead of installing from `npm`.
In addition, the `--save` flag can be used to add `cool-pkg` to the `dependencies` field of your app's package.json with a special version specifier that tells Bun to load from the registered local directory instead of installing from `npm`:
```json-diff
{