@changesets/get-dependents-graph
v2.1.2
Published
Get the graph of dependents in a monorepo
Downloads
3,556,366
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