Files
claude-task-master/bunfig.toml
Ralph Khreish 03d145c2af feat: migrate to Bun for development
- Replace tsdown with Bun.build() for bundling
- Add bunfig.toml and tests/setup.ts for Bun test config
- Update CI to use Bun for install and build
- Update all package test scripts to use vitest (Node runtime)
- Remove deprecated deps: jest, ts-jest, tsdown, tsx, cross-env
- Delete jest.config.js, jest.resolver.cjs, tsdown.config.ts

Build: Bun bundler (faster than tsdown/esbuild)
Install: Bun package manager (bun.lock)
Tests: Vitest on Node (Bun runtime has Zod SSR issues)
Distribution: Node-compatible output unchanged

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 16:48:32 +01:00

28 lines
578 B
TOML

# Bun configuration for Taskmaster
# https://bun.sh/docs/runtime/bunfig
[test]
# Run setup file before each test suite
preload = ["./tests/setup.ts"]
# Enable coverage reporting
coverage = true
# Coverage thresholds
coverageThreshold = { line = 70, function = 70, statement = 70 }
# Test timeouts
timeout = 10000
# Test file patterns
# Bun automatically finds *.test.ts, *.spec.ts files
[install]
# Use frozen lockfile in CI
# frozen = true
[install.lockfile]
# Save lockfile as bun.lockb (binary) for faster parsing
# Can also use "bun.lock" for text format
save = true