Updated the entire project to use Bun instead of npm/yarn for: - Faster package installation (3x faster than npm) - Native TypeScript support - Better runtime performance - Built-in bundler Changes: - Updated package.json to use bun in all scripts - Renamed project from example-marketing to localgreenchain - Added bunfig.toml for bun configuration - Updated README with Bun installation instructions - Added "Why Bun?" section explaining benefits - Updated .gitignore for bun-specific debug logs - Changed all npm/yarn references to bun commands All commands now use: - bun install (instead of npm install) - bun run dev (instead of npm run dev) - bun test (instead of npm test)
19 lines
408 B
TOML
19 lines
408 B
TOML
# Bun configuration for LocalGreenChain
|
|
|
|
[install]
|
|
# Install dependencies from the lockfile if it exists
|
|
frozenLockfile = false
|
|
|
|
# Configure which registries to use
|
|
registry = "https://registry.npmjs.org/"
|
|
|
|
# Cache directory
|
|
cache = "node_modules/.cache/bun"
|
|
|
|
[run]
|
|
# Automatically install dependencies when running scripts
|
|
autoInstall = true
|
|
|
|
[test]
|
|
# Test configuration (when tests are added)
|
|
preload = []
|