@changesets/get-dependents-graph
v2.1.2
Published
Get the graph of dependents in a monorepo
Downloads
5,145,764
Keywords
Readme
Get Dependents Graph
Small helper utility extracted from bolt to get a graph of relationships between packages.
import { getDependentsGraph } from "@changesets/get-dependents-graph";
import { getPackages } from "@manypkg/get-packages";
let { graph, valid } = getDependentsGraph(await getPackages(cwd));
Mostly published for use in changesets