stock-bot/bunfig.toml

30 lines
646 B
TOML

# Root bunfig.toml for Stock Bot Trading Platform
# Configures Bun for the entire monorepo workspace
# Look for packages in workspace root
peer = true
workspaces = true
[install.scopes]
"@stock-bot" = { registry = "file:../../" }
[test]
# Configure coverage and test behavior
coverage = true
timeout = "30s"
# Configure test environment
preload = ["./test/setup.ts"]
# Exclude dist directories from test runs
exclude = ["**/dist/**", "**/node_modules/**", "**/*.js"]
# Environment variables for tests
[test.env]
NODE_ENV = "test"
# Module path resolution
[bun]
paths = {
"@stock-bot/*" = ["./libs/*/src"]
}