mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Allow "catalog" and "catalogs" in top-level package.json if it wasn't provided in "workspaces" object (#21009)
This commit is contained in:
@@ -52,6 +52,8 @@ In your root-level `package.json`, add a `catalog` or `catalogs` field within th
|
||||
}
|
||||
```
|
||||
|
||||
If you put `catalog` or `catalogs` at the top level of the `package.json` file, that will work too.
|
||||
|
||||
### 2. Reference Catalog Versions in Workspace Packages
|
||||
|
||||
In your workspace packages, use the `catalog:` protocol to reference versions:
|
||||
|
||||
Reference in New Issue
Block a user