Skip to content

kayk1m/monorepo-template

Repository files navigation

Monorepo Template

This is an example for typescript based monorepo using turborepo and yarn berry PnP.

What's inside?

This turborepo uses Yarn as a package manager. It includes the following packages and apps:

Apps and Packages

  • @apps/docs: a documentation site using Nextra
  • @apps/server: a simple Koa NodeJS server including redis based rate limitter
  • @apps/web: a NextJS web application using TailwindCSS
  • @packages/ui: a stub React component library shared by both @apps/web and @apps/docs applications
  • @packages/eslint-config: eslint configurations
  • @packages/tsconfig: tsconfig.jsons used throughout the monorepo

Each package/app is 100% TypeScript.

Utilities

This turborepo has some additional tools already setup for you:

Preparation

  1. Install VSCode Extensions
  1. run the following command:
yarn prepare

Build

To build all apps and packages, run the following command:

cd my-turborepo
yarn run build

Develop

To develop all apps and packages, run the following command:

cd my-turborepo
yarn run dev

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published