@motss-changesets/get-dependents-graph
v1.3.8
Published
Get the graph of dependents in a monorepo
Downloads
10
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