pnpm install # Install dependencies
pnpm build # Build all packages
pnpm dev # Watch mode for developmentpnpm typecheck # Type check without emitting
pnpm lint # Run oxlint (no any types, type aliases)
pnpm lint --fix # Auto-fix linting issues
pnpm format # Format with oxfmt (import sorting)
pnpm format --check # Check formatting onlypnpm test # Run unit tests (no Docker required)
pnpm test:integration # Run integration tests (requires Docker)
# Run a single package's tests via pnpm's filter
pnpm --filter @amqp-contract/core test:integration
pnpm --filter @amqp-contract/client test:integration
pnpm --filter @amqp-contract/worker test:integrationpnpm changeset # Create changeset entry for version bumps
pnpm version # Version packages
pnpm release # Publish packagesLefthook runs oxfmt and oxlint on every git commit, and commitlint on commit-msg, so format / lint / message-format breakage is caught automatically. Before pushing, also run:
pnpm typecheck— type errors are not in the pre-commit hookpnpm test— unit tests (integration tests run in CI)