monorepo

Monorepo script commands and conventions for this codebase. Use when running builds, tests, formatting, linting, or type checking.

$ Instalar

git clone https://github.com/EpicenterHQ/epicenter /tmp/epicenter && cp -r /tmp/epicenter/skills/monorepo ~/.claude/skills/epicenter

// tip: Run this command in your terminal to install the skill


name: monorepo description: Monorepo script commands and conventions for this codebase. Use when running builds, tests, formatting, linting, or type checking.

Script Commands

The monorepo uses consistent script naming conventions:

CommandPurposeWhen to use
bun formatFix formatting (biome + prettier)Development
bun format:checkCheck formattingCI
bun lintFix lint issues (eslint + biome)Development
bun lint:checkCheck lint issuesCI
bun typecheckType checking (tsc, svelte-check, astro check)Both

Convention

  • No suffix = fix (modifies files)
  • :check suffix = check only (for CI, no modifications)
  • typecheck alone = type checking (separate concern, cannot auto-fix)

After Completing Code Changes

Run type checking to verify:

bun typecheck

This runs turbo run typecheck which executes the typecheck script in each package (e.g., tsc --noEmit, svelte-check).