Write docs/monorepo.md explaining the workspace layout: pnpm-workspace.yaml (apps/* plus contracts), turbo.json's task graph (build with dependsOn: ^build, dev persistent/uncached, lint), which scripts live at the root vs. per app, and why contracts is a pnpm workspace member despite being a Cargo project.
Acceptance criteria:
- The directory tree is documented one level deep with a purpose line per entry
- Explains when to run a root script vs.
pnpm --filter <app>
- Documents the Turbo task graph and what is cached
- Explains the shared root tooling (Prettier config,
.prettierignore, root ESLint setup) and that Prettier is pinned to one exact version across the workspace
Write
docs/monorepo.mdexplaining the workspace layout:pnpm-workspace.yaml(apps/*pluscontracts),turbo.json's task graph (buildwithdependsOn: ^build,devpersistent/uncached,lint), which scripts live at the root vs. per app, and whycontractsis a pnpm workspace member despite being a Cargo project.Acceptance criteria:
pnpm --filter <app>.prettierignore, root ESLint setup) and that Prettier is pinned to one exact version across the workspace