wrangler-action/node_modules/@changesets/get-dependents-graph
2023-08-07 15:11:15 -05:00
..
dist Temp fix for deps issue 2023-08-07 15:11:15 -05:00
src Temp fix for deps issue 2023-08-07 15:11:15 -05:00
CHANGELOG.md Temp fix for deps issue 2023-08-07 15:11:15 -05:00
package.json Temp fix for deps issue 2023-08-07 15:11:15 -05:00
README.md Temp fix for deps issue 2023-08-07 15:11:15 -05:00

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