UNPKG

lerna

Version:

Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository

7 lines (6 loc) 412 B
/** * Merges all cycles that share nodes into a single cycle, then returns all merged cycles. This allows all cycle nodes to be traversed without repeating any nodes. * @param cycles a list of cycles, with each cycle being a list of project names * @returns a list of cycles that do not share any nodes with any other cycles */ export declare function mergeOverlappingCycles(cycles: string[][]): string[][];