MCPcopy Index your code
hub / github.com/dmno-dev/bumpy / discoverPackages

Function discoverPackages

packages/bumpy/src/core/workspace.ts:42–45  ·  view source on GitHub ↗
(rootDir: string, config: BumpyConfig)

Source from the content-addressed store, hash-verified

40
41/** Convenience wrapper that returns just packages (backwards compat) */
42export async function discoverPackages(rootDir: string, config: BumpyConfig): Promise<Map<string, WorkspacePackage>> {
43 const { packages } = await discoverWorkspace(rootDir, config);
44 return packages;
45}
46
47/** Resolve a workspace glob pattern to directories containing package.json */
48async function resolveGlob(rootDir: string, pattern: string): Promise<string[]> {

Callers 4

statusCommandFunction · 0.90
generateCommandFunction · 0.90
versionCommandFunction · 0.90
channelVersionFunction · 0.90

Calls 1

discoverWorkspaceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…