UNPKG

workspace-tools

Version:

A collection of tools that are useful in a git-controlled monorepo that is managed by one of these tools:

15 lines (14 loc) 735 B
import { PackageInfos } from "../types/PackageInfo"; export declare function getDependentMap(packages: PackageInfos): Map<string, Set<string>>; /** * @deprecated Do not use * * for a package graph of a->b->c (where b depends on a), transitive consumers of a are b & c and their consumers (or what are the consequences of a) */ export declare function getTransitiveConsumers(targets: string[], packages: PackageInfos, scope?: string[]): string[]; /** * @deprecated Do not use * * for a package graph of a->b->c (where b depends on a), transitive providers of c are a & b and their providers (or what is needed to satisfy c) */ export declare function getTransitiveProviders(targets: string[], packages: PackageInfos): string[];