Get the graph of dependents in a monorepo

Usage no npm install needed!

<script type="module">
  import changesetsGetDependentsGraph from 'https://cdn.skypack.dev/@changesets/get-dependents-graph';


Get Dependents Graph

View changelog

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