Use these commands from the repository root unless noted otherwise.
bun install# Build every workspace serially
bun run build
# Build a single workspace
bun run build -w @flippercloud/flipperThe build script delegates to each workspace's build command using bun --workspaces run under the hood.
# Run package-level tests invoked by the repo script
bun run test
# Run coverage for the same set of packages
bun run test:coverage
# Target an individual workspace
bun run test -w @flippercloud/flipperNote: The top-level
testscript currently executes@flippercloud/flipperand@flippercloud/flipper-sequelize. When you add new packages, update the script so CI exercises them too.
bun run lint
bun run lint:fix
bun run type-check
bun run format
bun run format:checkEach command runs across all workspaces, ensuring shared standards.
bun run cleanThis removes dist/ and coverage/ directories from every workspace.
# List all workspaces declared in package.json
bun ls --workspaces
# Run a script across every workspace that defines it
bun run <script> --workspaces --if-present| Issue | Try |
|---|---|
| Missing modules | bun install |
| Stale build output | bun run clean && bun run build |
| Hanging tests | Ensure you built first, then run bun run test -w <pkg> |