chore: rework how we do the bumping as a seperate command

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-04-16 11:01:28 +02:00
parent 2ccd389166
commit 03f3bb5808
5 changed files with 125 additions and 49 deletions
@@ -45,6 +45,7 @@ export interface BackstagePackageJson {
backstage?: {
role?: PackageRole;
moved?: string;
};
exports?: JsonValue;
@@ -136,8 +137,8 @@ export class PackageGraph extends Map<string, PackageGraphNode> {
* Lists all local packages in a monorepo.
*/
static async listTargetPackages(): Promise<BackstagePackage[]> {
console.log(paths.targetDir);
const { packages } = await getPackages(paths.targetDir);
return packages as BackstagePackage[];
}