chore: integrate proman scaffold
CI / check (pull_request) Failing after 1m47s

- Add proman.yaml with 8 packages in dependency order
- Add @shazhou/proman as devDependency
- Replace root scripts: build/test/check/format → proman commands
- Keep typecheck script for standalone tsc --build

Fixes #27
This commit is contained in:
2026-06-04 03:09:31 +00:00
parent 7b4859594a
commit 90893b0aa8
70 changed files with 201 additions and 123 deletions
@@ -1,9 +1,10 @@
import { describe, expect, test } from 'vitest';
import { execFileSync } from "node:child_process";
import { mkdir, rm, writeFile } from "node:fs/promises";
import { tmpdir } from "node:os";
import { join } from "node:path";
import { dirname, join } from "node:path";
import { fileURLToPath } from "node:url";
import type { CasRef, StartNodePayload, ThreadId } from "@united-workforce/protocol";
import { describe, expect, test } from "vitest";
import { cmdThreadStart } from "../commands/thread.js";
import { createUwfStore, getThread } from "../store.js";
@@ -133,7 +134,8 @@ graph:
const workflowPath = await createTestWorkflow();
const testCwd = "/test/cli/path";
const uwfBin = join(process.cwd(), "dist", "cli.js");
const pkgRoot = dirname(dirname(dirname(fileURLToPath(import.meta.url))));
const uwfBin = join(pkgRoot, "dist", "cli.js");
// Register the workflow
execFileSync(process.execPath, [uwfBin, "workflow", "add", workflowPath], {