PackageGraph.listChangedPackages()
Home > @backstage/cli-node > PackageGraph > listChangedPackages
Lists all packages that have changed since a given git ref.
Signature:
listChangedPackages(options: {
ref: string;
analyzeLockfile?: boolean;
}): Promise<PackageGraphNode[]>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
options |
{ ref: string; analyzeLockfile?: boolean; } |
Promise<PackageGraphNode[]>
Remarks
If the analyzeLockfile option is set to true, the change detection will also consider changes to the dependency management lockfile.