Commands Reference
All development scripts and commands for working on Recall.
Development
# Run all dev servers (turbo)
pnpm dev
# Run only the web app
pnpm --filter @workspace/web dev
# Run only the worker
pnpm --filter @workspace/worker devBuilding
# Build all packages
pnpm build
# Build only the web app
pnpm --filter @workspace/web buildTesting
# Run all tests
pnpm test
# Watch mode for web app tests
pnpm --filter @workspace/web test:watchCode Quality
# Run Biome linter
pnpm lint
# Format code with Biome
pnpm format
# Find unused exports and dependencies
pnpm knipAlways run pnpm format before committing to ensure consistent code style across the codebase.
Database
# Navigate to the web app
cd apps/web
# Generate a new migration after schema changes
pnpm drizzle-kit generate
# Run pending migrations
pnpm drizzle-kit migrateComponent Stories
# Start Ladle dev server
pnpm --filter @workspace/web ladleCLI Development
# Run CLI directly from source
pnpm recall <command>
# Build and link CLI globally for testing
pnpm cli:link
# Unlink global CLI
pnpm cli:unlinkDocker
# Build Docker images locally
recall compose build
# Build without cache
recall compose build --no-cache
# Build only web or worker
recall compose build web
recall compose build worker
# Run other docker compose commands
recall compose up -d
recall compose ps
recall compose logs -f web
recall compose downVersioning
# Create a changeset (do this before every PR)
pnpm changeset
# Apply changesets and bump versions (maintainers only)
pnpm version-packagesTurborepo
The monorepo uses Turborepo for parallel task execution and caching. Most commands are defined in turbo.json and can be run from the repo root via pnpm <script>.
To run a command for a specific package:
pnpm --filter @workspace/<package-name> <command>Was this page helpful?