vitorrsousaa / monorepo-template-example

0 stars 0 forks source link

Monorepo Starter Template

The purpose of this configuration is to ensure strict coding standards and facilitate coding experience using monorepo.

Intro

This monorepo consist in these packages:

└─ monorepo # <- monorepo root package
   ├─ apps
   │  ├─ api # <- typescript server application
   │  ├─ client # <- typescript react application
   │  └─ storefront # <- typescript next application
   └─ packages
      ├─ @shared/config-css # <- css config files used throughout the monorepo
      ├─ @shared/config-typescript # <- tsconfig.json's used throughout the monorepo
      ├─ @shared/logger # <- isomorphic logger (a small wrapper around console.log)
      ├─ @shared/vitest-presets # <- Vitest configurations
      └─ @shared/ui # <- a dummy React UI library with tailwindcss and shadcn

Configuration

Core

Monorepo

Lib

Lib | react

App | next

Each package and app is 100% TypeScript.

Utilities

This Turborepo has some additional tools already setup for you: