docs(agents): build shared packages before a consumer's tsc/tests in isolation #384

Merged
vvzvlad merged 1 commits from docs/agents-workspace-build-order into develop 2026-07-06 16:06:35 +03:00

1 Commits

Author SHA1 Message Date
claude_code 24946ad820 docs(agents): build shared packages before a consumer's tsc/tests in isolation
Document the TS2307 trap: the gitignored build/ of @docmost/prosemirror-markdown,
@docmost/git-sync and @docmost/mcp is not honoured by a single-package
pnpm --filter <pkg> test/tsc or a bare pnpm -r test (Nx dependsOn ^build is only
applied by nx run-many), so a consumer's typecheck fails with
Cannot find module '@docmost/...' until those packages are built first.
Mirrors the order .github/workflows/test.yml already uses.
2026-07-06 05:50:34 +03:00