Skip to main content

Lockfile.createSimplifiedDependencyGraph()

Home > @backstage/cli-node > Lockfile > createSimplifiedDependencyGraph

Creates a simplified dependency graph from the lockfile data, where each key is a package, and the value is a set of all packages that it depends on across all versions.

Signature:

createSimplifiedDependencyGraph(): Map<string, Set<string>>;

Returns:

Map<string, Set<string>>