Skip to content

Latest commit

 

History

History
91 lines (59 loc) · 1.88 KB

readme.md

File metadata and controls

91 lines (59 loc) · 1.88 KB

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'