Skip to main content

Lockfile

Home > @backstage/cli-node > Lockfile

Represents a package manager lockfile.

Signature:

class Lockfile 

Methods

MethodModifiersDescription
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.
diff(otherLockfile)Diff with another lockfile, returning entries that have been added, changed, and removed compared to the other lockfile.
load(path)staticLoad a Lockfile from a file path.
parse(content)staticParse lockfile contents into a Lockfile.