mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
update bun.lock types for catalog(s) (#19814)
Co-authored-by: RiskyMH <git@riskymh.dev>
This commit is contained in:
7
packages/bun-types/bun.d.ts
vendored
7
packages/bun-types/bun.d.ts
vendored
@@ -7479,9 +7479,16 @@ declare module "bun" {
|
||||
workspaces: {
|
||||
[workspace: string]: BunLockFileWorkspacePackage;
|
||||
};
|
||||
/** @see https://bun.sh/docs/install/overrides */
|
||||
overrides?: Record<string, string>;
|
||||
/** @see https://bun.sh/docs/install/patch */
|
||||
patchedDependencies?: Record<string, string>;
|
||||
/** @see https://bun.sh/docs/install/lifecycle#trusteddependencies */
|
||||
trustedDependencies?: string[];
|
||||
/** @see https://bun.sh/docs/install/catalogs */
|
||||
catalog?: Record<string, string>;
|
||||
/** @see https://bun.sh/docs/install/catalogs */
|
||||
catalogs?: Record<string, Record<string, string>>;
|
||||
|
||||
/**
|
||||
* ```
|
||||
|
||||
@@ -785,6 +785,23 @@
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"catalog": {
|
||||
"type": "object",
|
||||
"description": "A single default catalog for commonly used dependencies. Referenced with 'catalog:' in workspace package dependencies.",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"catalogs": {
|
||||
"type": "object",
|
||||
"description": "Multiple named catalogs for grouping dependencies. Referenced with 'catalog:catalogName' in workspace package dependencies.",
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user