feat(scripts): pnpm work ready + blocked subcommands, DAG-aware next

This commit is contained in:
2026-05-13 08:05:19 +02:00
parent 23fedac1a8
commit 4cf979aaa5
2 changed files with 68 additions and 16 deletions

View File

@@ -21,6 +21,8 @@ describe("pnpm work cli", () => {
expect(out).toContain("rebuild-state");
expect(out).toContain("status");
expect(out).toContain("next");
expect(out).toContain("ready");
expect(out).toContain("blocked");
});
it("rebuild-state writes _state.json", () => {
@@ -39,4 +41,14 @@ describe("pnpm work cli", () => {
const out = run("next");
expect(out.length).toBeGreaterThan(0);
});
it("ready prints something", () => {
const out = run("ready");
expect(out.length).toBeGreaterThan(0);
});
it("blocked prints something", () => {
const out = run("blocked");
expect(out.length).toBeGreaterThan(0);
});
});