docs/lathe.toml
One small file per package
Each package says what a task runs, what it reads and what it writes. Dependencies point at other tasks, and ^build means "build whatever I depend on first". That is the whole configuration: no plugins, no scripts to keep in sync with package.json.
# packages/ui/lathe.toml
[tasks.build]
run = "tsc -b && vite build"
inputs = ["src/**", "tsconfig.json", "package.json"]
outputs = ["dist/**"]
deps = ["^build"] # my dependencies first
[tasks.test]
run = "vitest run"
deps = ["build"]
passEnv = ["TZ"] # part of the cache key