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>
This commit is contained in:
Waleed Latif
2025-05-18 01:01:32 -07:00
committed by GitHub
co-authored by Aditya Tripathi
parent e57d3f79a1
commit 717e17d02a
144 changed files with 5173 additions and 53421 deletions
+14 -24
View File
@@ -2,28 +2,24 @@
# dependencies
/node_modules
docs/node_modules
/apps/**/node_modules
/packages/**/node_modules
scripts/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions
/scripts/node_modules
# bun specific
.bun
bun.lock
bun-debug.log*
# testing
/coverage
/apps/**/coverage
# next.js
/.next/
sim/.next/
sim/out/
sim/build
docs/.next/
docs/out/
docs/build
/apps/**/out/
/apps/**/.next/
/apps/**/build
# production
/build
@@ -36,12 +32,6 @@ sim-standalone.tar.gz
.DS_Store
*.pem
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
# env files
.env
*.env
@@ -61,9 +51,9 @@ next-env.d.ts
.cursorrules
# docs
docs/.source
docs/.contentlayer
docs/.content-collections
/apps/docs/.source
/apps/docs/.contentlayer
/apps/docs/.content-collections
# database instantiation
**/postgres_data/