pnpm workspace
pnpm workspace (cheat sheet)
Section titled “pnpm workspace (cheat sheet)”- Root is the main app;
packages/*are workspace packages. Declared inpnpm-workspace.yaml. - Depends on a package: in that package’s
package.json, use"@agent-detective/foo": "workspace:*". catalog:— shared versions live inpnpm-workspace.yamlcatalog; depend with"zod": "catalog:"etc.- Install: from repo root,
pnpm install(use--frozen-lockfilein CI).
More: Development guide.