This is a starter project for Bun.js and Civet.
By default this workspace uses @danielx/civet/bun-civet plugin during development, Bun resolve it's preload scripts from bunfig.toml file in the root of the workspace (see Bun.js docs).
Note: If you want to use your own bunfig.toml file, feel free to delete the bunfig.toml file in the root of the workspace and replace it with your own.
So, Bun.js is more then just a JavaScript runtime, it's a full-stack development environment that includes a JavaScript runtime, a TypeScript compiler, a bundler, a package manager, a plugin system, a tiny but sharp Shell API (JS/custom loader .bun.sh), low level FFI bindings, built-in C Compiler, a compiler for single-file executables, REPL, test-runner, HRM, HOT, debbuger, native APIs for working with SQLite, PostgreSQL, S3, HTML Parser (HTMLRewriter), suit of utilities for working, Semver, Transpiler.
So, what happens when you brings Civet to the table?
bun installThen compile the Civetman entrypoint
# prepare deps
bun prepare# start dev environment
bun dev# run build
bun run build# Compile the CLI
Bun. install