Files
sim/bunfig.toml
Waleed Latif 717e17d02a feat(bun): upgrade to bun, reduce docker image size by 95%, upgrade docs & ci (#371)
* migrate to bun

* added envvars to drizzle

* upgrade bun devcontainer feature to a valid one

* added bun, docker not working

* updated envvars, updated to bunder and esnext modules

* fixed build, reinstated otel

* feat: optimized multi-stage docker images

* add coerce for boolean envvar

* feat: add docker-compose configuration for local LLM services and remove legacy Dockerfile and entrypoint script

* feat: add docker-compose files for local and production environments, and implement GitHub Actions for Docker image build and publish

* refactor: remove unused generateStaticParams function from various API routes and maintain dynamic rendering

* cleanup

* upgraded bun

* updated ci

* fixed build

---------

Co-authored-by: Aditya Tripathi <aditya@climactic.co>
2025-05-18 01:01:32 -07:00

34 lines
794 B
TOML

# Bun Configuration File
[install]
# Recommend using exact versions for better reproducibility
exact = true
# Auto-detect lockfile and registry changes
registry = "https://registry.npmjs.org/"
# Cache binaries for faster install
cache = true
# Strict mode for more reliable dependency resolution
strict = false
# Enables frozen lockfile by default to prevent accidental changes
frozen = false
# Configure workspaces for monorepo
workspaces = ["apps/*", "packages/*"]
[test]
# Test configuration
preload = "./apps/sim/test/setup.ts"
extensions = [".test.ts", ".test.tsx"]
timeout = 10000
[run]
# Environment setting for running scripts
env = { NEXT_PUBLIC_APP_URL = "http://localhost:3000" }
[build]
# Build configuration
minify = true
[debug]
# Configure debug mode
inject-preload = true