Skip to content
/ bun-monorepo Public template
forked from codiplace/bun-monorepo

bun-monorepo + Elysia.js + Next.js + React Native Expo + Drizzle ORM

Notifications You must be signed in to change notification settings

loclv/bun-monorepo

 
 

Repository files navigation

Bun monorepo

A demo of a monorepo using Bun + Elysia.js + Next.js + React Native Expo + Drizzle ORM.

🏕️ What's inside?

This monorepo includes the following packages/apps:

Apps and Packages

Utilities

This monorepo has some additional tools already setup for you:

🌱 Getting Started

To install and start developing all apps, run the following command:

# upgrade bun version
bun upgrade

bun i
bun dev

For more information, see the package.json file.

DB migration:

bun gen
bun migrate
bun seed

Tested with Bun 1.1.8.

🌳 Others scripts

# type check all packages
bun typecheck

# format all packages
bun format

# lint all packages
bun lint

npm-check-updates

Use npm-check-updates upgrades your package.json dependencies to the latest versions, ignoring specified versions.

-ws flag means that Run on all workspaces. Add --root to also upgrade the root project..

bunx npm-check-updates -i -ws

If you see a error below, please try upgrading your Node.js version to the latest version.

internal/modules/cjs/loader.js:888
  throw err;
  ^

Error: Cannot find module 'node:path'

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 86.1%
  • JavaScript 9.5%
  • CSS 4.4%