Welcome to the official starter kit for Turborepo, the high-speed monorepo management tool that's about to turbocharge your development process!
Ready to hit the ground running? Fire up your terminal and let's get those engines revving:
npx create-turbo@latest
app
: a sleek Next.js app for your web app.contacts-dashboard-app
: a sleek React contact management app that uses browser's storage to save data.dynamic-graph
: a modern and responsive React data visualizer via a graph; that uses browser's storage to save the user's search history and sharable results via links.ui
: a shared React component library powering all the apps.tailwind-config
: a shared Tailwind CSS configuration for consistent styling across apps and libraries.eslint-config-custom
: Keep your code clean with customeslint
configurations, includingeslint-config-next
andeslint-config-prettier
.tsconfig
: Centralizedtsconfig.json
s for consistent TypeScript configurations across the monorepo.
Psst... TypeScript is our language of choice here for that extra type safety!
- TypeScript: For ironclad type checking.
- ESLint: To keep your code squeaky clean.
- Prettier: Because who doesn't love beautifully formatted code?
To construct all apps and packages in one fell swoop:
cd my-turborepo
pnpm build
Kickstart your development environment with:
cd my-turborepo
pnpm dev
Leverage Remote Caching to share cache artifacts across machines. Perfect for team collaborations and CI/CD pipelines.
Initially set to local cache, you can switch to Remote Caching with a Vercel account:
cd my-turborepo
npx turbo login
Authenticate the Turborepo CLI with your Vercel account, then:
npx turbo link
Fuel your knowledge about Turborepo with these resources: