Skip to content

viczem/turborepo-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Turborepo Examples

A curated collection of Turborepo examples and templates to help you kickstart your monorepo journey with best practices.

What is Turborepo?

Turborepo is a high-performance build system for JavaScript and TypeScript monorepos. It is designed to make your development workflow faster by:

  • Remote Caching: Never compute the same task twice. If you or a teammate have already built a package, Turborepo will restore the cached output.
  • Parallel Execution: Executes tasks in parallel across your entire monorepo, utilizing all available CPU cores.
  • Pipeline Configuration: Define task dependencies so that tasks run in the correct order.

For more information, visit the official Turborepo GitHub repository.

Using These Examples

One of the best features of Turborepo is the ability to bootstrap a new project directly from a GitHub folder. You can use the create-turbo CLI to clone any example from this repository.

Installation Command

To start a new project based on an example in this repo, run:

pnpm dlx create-turbo@latest --example https://github.com/viczem/turborepo-examples/tree/main/<example-name>

Replace <example-name> with the name of the example directory (e.g., with-nestjs).

Example Workflow

  1. Browse the root of this repository to find a template that fits your needs (folders starting with with-).
  2. Copy the folder name.
  3. Run the command above with that folder name.
  4. Follow the prompts to name your new project.

Contributing

Contributions are welcome! If you have a specific Turborepo configuration that solves a common problem (e.g., combining Next.js, NestJS, and shared libraries), feel free to open a Pull Request.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors