Server primitives for any host.
- Root scripts orchestrate package scripts. They do not define package test behavior.
- Packages own their own
src,test, build, and typecheck flows. - Root-level tests are opt-in and only for true workspace invariants.
- Package-local
examples/are part of the pnpm workspace for installs andworkspace:*linking. examples/stays manual-only by default. It is not part of the default roottest,typecheck, orbuildpath.- Package-local config files should only exist when a package has a real local need.
- External dependency versions are centralized in named pnpm catalogs by purpose.
pnpm testrunstestinpackages/*pnpm typecheckrunstypecheckinpackages/*pnpm buildrunsbuildinpackages/*pnpm lintstays root-ownedpnpm dev:docsandpnpm build:docsare explicit docs commands
Each package should be addable with:
- its own
package.json - its own
src - optional
test - optional
tsconfig - optional local tool config only when needed
Adding a package should not require editing a central root test harness.