- Prerequisites: Bun >= 1.3, Node.js >= 22
- Clone the repo and install:
bun install - Copy
env.exampleto.env.localand fill in required values - Start development:
turbo dev
- Create a branch from
main - Make changes
- Run gates:
make smokethenmake checkthenmake test - Commit with conventional commits (
feat:,fix:,docs:, etc.) - Open a PR against
main
- Create
packages/{name}/withpackage.json,tsconfig.json,src/index.ts - Name it
@chatos/{name} - Extend
@chatos/config/tsconfig/library.json - Add to consuming apps' dependencies
- Run
bun install
- Bun — only package manager
- Biome — lint + format (run
bunx biome check .) - TypeScript — strict mode, no
anyunless justified - Imports — workspace packages via
@chatos/{name}
See CODE_OF_CONDUCT.md.