Development

Development

Turborepo monorepo, package manager is Bun . See Project Structure for how packages/sdk is laid out internally.

Getting started

bun install
docker compose up -d   # local TuringDB — query API on :6666, visualizer on :8080
bun run dev
sh

Commands

Run from the repo root (orchestrated across workspaces by Turborepo ):

CommandWhat
bun run buildBuild all apps/packages
bun run testRun unit + integration tests across all packages
bun run test:unitUnit tests only (mocked, no Docker needed)
bun run test:integrationIntegration tests only — requires docker compose up -d
bun run check-typesType-check, no emit
bun run lintLint the whole repo ( Biome )
bun run formatFormat the whole repo (Biome)
bun run sizeCheck packages/sdk's bundle against its size-limit budget

Monorepo layout

PathWhat
apps/docsThis documentation site ( SveltePress ) — deployed to GitHub Pages via .github/workflows/deploy-docs.yml on push to main/master.
packages/sdk@turtape/sdk — the TuringDB client.
examples/Standalone scripts exercising @turtape/sdk.
docker/, docker-compose.ymlA local TuringDB instance for development and tests.

See Project Structure for a deeper look, including packages/sdk's internal module layout and how its opt-in .use() plugin mechanism works.

For the fuller architecture/commands reference — written for AI coding agents working in this repo, but useful background for humans too — see CLAUDE.md on GitHub.