Add Support for LinkWorkspacePackages in Bunfig (#20226)

Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
This commit is contained in:
Jacob
2025-06-10 10:01:15 +10:00
committed by GitHub
parent df3337936c
commit b642e36da2
7 changed files with 168 additions and 8 deletions

View File

@@ -382,6 +382,17 @@ registry = { url = "https://registry.npmjs.org", token = "123456" }
registry = "https://username:password@registry.npmjs.org"
```
### `install.linkWorkspacePackages`
To configure how workspace packages are linked, use the `install.linkWorkspacePackages` option.
Whether to link workspace packages from the monorepo root to their respective `node_modules` directories. Default `true`.
```toml
[install]
linkWorkspacePackages = true
```
### `install.scopes`
To configure a registry for a particular scope (e.g. `@myorg/<package>`) use `install.scopes`. You can reference environment variables with `$variable` notation.