Skip to content

s1njar/skeleton-turborepo

Repository files navigation

TurboRepo Base

This monorepository is based on turborepo


Table of Contents


1. Prepare your system

These things make developing with this project easier.

1.1 Needed Extensions

  • Eslint
  • Prettier
  • Stylelint

2. Prepare the Project

2.1 Add .env

cp .env.example .env

cd apps/web && ln -s ../../.env .env && cd ../../

2.2 Install

pnpm install

3. Scripts

Script Description
pnpm dev Start the development Server
pnpm build Building a production ready version of monorepo
pnpm lint Lint the current Typescript code using eslint
pnpm lint-staged-husky Lint the current staged Typescript code using eslint
pnpm test Tests the code
pnpm clean Cleans the root and workspace projects node modules
pnpm format:lint Checks the linting of the project
pnpm format:fix Fixes automatically linting problems
pnpm cache:turbo:clear Deletes the turbo cache
pnpm deps:update Updates all project dependencies