Skip to content

Latest commit

 

History

History
111 lines (72 loc) · 2.04 KB

README.md

File metadata and controls

111 lines (72 loc) · 2.04 KB

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 .