Skip to content

Boilerplate to create a Turbo monorepo

Notifications You must be signed in to change notification settings

ntheanh201/turbo-template

 
 

Repository files navigation

turbo-template

Create a Turbo monorepo

Requirements

Features

  • First-class TypeScript, JavaScript ESM, and CJS support

  • Format code with Prettier (and Prettier plugins)

    turbo format
  • Typecheck code in TypeScript

    turbo typecheck
  • Lint code with ESLint, automatically detect TypeScript, JavaScript ESM, and CJS modules

    turbo lint
  • Build code with any tools (Next.js, Vite, Rollup, tsup, esbuild, etc.)

    turbo build
  • Format, typecheck, lint, and build code with Turborepo pipeline

    turbo format typecheck lint build
  • Publish npm packages with pnpm

    pnpm -r publish
  • Generate code with Turborepo generators (in TypeScript)

    turbo gen
  • Best-in-class Visual Studio Code integration

    • UI to run format, typecheck, lint, build, publish, and generate tasks

    • Work flawlessly with TypeScript, ESLint, and Prettier

    • Debug code with breakpoints

    • Fix and format code automatically

    • Use workspace TypeScript version

    • Recommend extensions

Usage

  1. Create a repository from this template

  2. Remove irrelevant files

    rm -rf .git README.md
  3. Install dependencies

    pnpm i
  4. Open in Visual Studio Code

    code .

About

Boilerplate to create a Turbo monorepo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.9%
  • TypeScript 9.1%