MCPcopy Create free account
hub / github.com/dmno-dev/bumpy / catalogYamlFile

Function catalogYamlFile

packages/bumpy/src/utils/package-manager.ts:87–91  ·  view source on GitHub ↗
(pm: PackageManager)

Source from the content-addressed store, hash-verified

85 * same `catalog` / `catalogs` shape. npm and bun keep catalogs in package.json.
86 */
87export function catalogYamlFile(pm: PackageManager): string | null {
88 if (pm === 'pnpm') return 'pnpm-workspace.yaml';
89 if (pm === 'yarn') return '.yarnrc.yml';
90 return null;
91}
92
93/**
94 * Normalize a catalog name to its canonical form.

Callers 3

getChangedCatalogEntriesFunction · 0.90
loadCatalogsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…