Skip to content

@saflib/imports


Function: buildReferenceGraph()

buildReferenceGraph(root?): BuildReferenceGraphResult

Build a package-level TypeScript project-reference graph from workspace dependencies. Only packages with a typecheckable tsconfig.json become nodes; edges to packages without a tsconfig are dropped.

Parameters

ParameterType
root?string

Returns

BuildReferenceGraphResult