Lockfile
Home > @backstage/cli-node
> Lockfile
Represents a package manager lockfile.
Signature:
class Lockfile
Methods
Method |
Modifiers |
Description |
---|---|---|
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 with another lockfile, returning entries that have been added, changed, and removed compared to the other lockfile. | ||
Generates a sha1 hex hash of the dependency graph for a package. | ||
|
Load a Lockfile from a file path. | |
|
Parse lockfile contents into a Lockfile. |