| 6 | import type { BumpyConfig, WorkspacePackage } from '../types.ts'; |
| 7 | |
| 8 | export interface WorkspaceDiscoveryResult { |
| 9 | packages: Map<string, WorkspacePackage>; |
| 10 | catalogs: CatalogMap; |
| 11 | } |
| 12 | |
| 13 | /** Discover all workspace packages and catalogs in a monorepo or single-package repo */ |
| 14 | export async function discoverWorkspace(rootDir: string, config: BumpyConfig): Promise<WorkspaceDiscoveryResult> { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…