This Turborepo starter is maintained by the Turborepo core team.
Run the following command:
npx create-turbo@latestThis Turborepo includes the following packages/apps:
docs: a Next.js appweb: another Next.js app@repo/ui: a stub React component library shared by bothwebanddocsapplications@repo/eslint-config:eslintconfigurations (includeseslint-config-nextandeslint-config-prettier)@repo/typescript-config:tsconfig.jsons used throughout the monorepo
Each package/app is 100% TypeScript.
This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
To build all apps and packages, run the following command:
With global turbo installed (recommended):
cd my-turborepo
turbo buildWithout global turbo, use your package manager:
cd my-turborepo
npx turbo build
bun dlx turbo build
bun exec turbo buildYou can build a specific package by using a filter:
With global turbo installed:
turbo build --filter=docsWithout global turbo:
npx turbo build --filter=docs
bun exec turbo build --filter=docs
bun exec turbo build --filter=docsTo develop all apps and packages, run the following command:
With global turbo installed (recommended):
cd my-turborepo
turbo devWithout global turbo, use your package manager:
cd my-turborepo
npx turbo dev
bun exec turbo dev
bun exec turbo dev