Skip to content

Monorepo with pnpm and turborepo, deploying into Vercel.

Notifications You must be signed in to change notification settings

sihyungkim/monorepo

 
 

Repository files navigation

Monorepo

Better practice npm Package Design in Monorepo with pnpm and turborepo, deploying into Vercel.

Quick Start

Preinstall

$ npm i -g pnpm
$ pnpm -v # should >= 6.20.0
# Install Rust and Cargo
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Install dependencies

$ pnpm install

Apps

Preview:

React App

# Start React App
$ pnpm --filter "react-app" start

Vite App

$ pnpm start --filter "vite-app"

Node.js App

$ pnpm --filter "node-app" start

Dumi App

# using `...` will run `start` script of dumi-app and all of its dependencies:
$ pnpm --filter "dumi-app..." --parallel start

Packages Development

packages/shared

$ pnpm --filter "@infras/shared" dev

packages/ui

$ pnpm --filter "@infras/ui" dev

packages/native

$ pnpm --filter "@infras/native" build

About

Monorepo with pnpm and turborepo, deploying into Vercel.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 43.7%
  • TypeScript 35.7%
  • HTML 9.6%
  • Vue 5.1%
  • CSS 5.0%
  • Rust 0.8%
  • Less 0.1%