turborepo-vercel-monorepo
Installation
SKILL.md
turborepo-vercel-monorepo
One repository, one main, several deployables. JS apps share a pnpm
workspace and a Turborepo task graph; each deploys to its own Vercel project.
A Swift app, if there is one, sits beside them and the JS tooling ignores it.
Built from stealth-factory/canary-messenger (layout from its PR #13).
package.json # private root: packageManager, turbo, typescript, scripts
pnpm-workspace.yaml # apps/*, packages/*
turbo.json # build / typecheck / test / dev
tsconfig.base.json # strict, NodeNext, noEmit; apps extend it
.node-version # one Node major for CI, Vercel and local
apps/api/ # Vercel Functions: api/*.ts endpoints, logic in src/, tests in test/
apps/web/ # the website (static placeholder, or Next.js)
apps/apple/ # Swift app: project.yml or .xcodeproj, Packages/, no package.json
packages/<name>/ # shared TS libraries, depended on as "workspace:*"
.github/workflows/js.yml, apple.yml # path-filtered: each side runs only for its own changes