(packages: Iterable<string>)
| 131 | * Find the transitive closure of dependencies of the given packages. |
| 132 | */ |
| 133 | export function findDeps(packages: Iterable<string>): Set<string> { |
| 134 | return new Set( |
| 135 | [...packages] |
| 136 | .map(packageName => findSubgraph(packageName, DEPENDENCY_GRAPH)) |
| 137 | .reduce((a, b) => [...a, ...b], [])); |
| 138 | } |
| 139 | |
| 140 | /** |
| 141 | * Find the reverse dependencies of the given packages, i.e. find the |
no test coverage detected
searching dependent graphs…