illustration for Migrate a Monorepo from NPM Workspaces to Turborepo
pro

Migrate a Monorepo from NPM Workspaces to Turborepo

44m closed-captioning
·
14 lessons
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.7
77
people completed
Published 3 years ago
|
Updated 2 years ago

Monorepos are an amazing way to collaborate on a multitude of projects with other team members. The ability to share code seamlessly between projects and have a single source of truth is paramount when working on projects with multiple moving wheels.

One of the tradeoffs of a Monorepo is all of the management you have to do to make your projects run flawlessly and simultaneously. Each project has it’s own linting, building, testing, and deploying that it runs whenever code in that project changes.

This becomes a real problem when each of your projects lints, builds, tests, and deploys on every PR into your monorepo. You might be fine with a handful of projects but as your applications scale and you accrue more projects, you will need a way to scale.

Turborepo is the tool that solves your monorepo’s needs.

Turborepo is a task runner for Monorepos. Turborepo caches the results of your CI tasks, schedules those tasks to run at maximum speed, and only runs tasks on the affected code in your PRs. And because of remote caching, your coworkers, wherever they are, will have the most up-to-date code possible.

One of the greatest things about it is that it's easy to use and can be incrementally adopted. Turborepo is a thin layer on top of your Monorepo.

Turborepo doesn't get in the way as it is only a task runner. You don't have to modify your application code or anything to make it work.

You’ll learn about

  • How to set up caching for both local and remote
  • CLI-commands and how they enhance your Monorepo
  • Parallel execution of your tasks

So hop in and learn about Turborepo today!

Prerequisite: This course is a continuation of Introduction to Monorepos with NPM Workspaces. To get the most out of this course, watch Monorepos with NPM Workspaces first.

Learner Reviews

  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Great course, easy to follow along.

    Mannuel Ferreira
    2 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    This course was a great transition from npm workspaces to Turborepo. I really gained a bigger insight into how this all works with this class

    Chad Elofson
    2 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    I like it 🙂 the volume of the audio is too low but the content is good

    Learner
    2 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Good overview. Turbo remote cache is a big win, not just between team members, but also speeds CI/CD pipeline for faster releases.

    Jake
    2 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Nice concise overview of Turborepo capabilities, and the power the connection to Verel brings.

    Serge van den Oever
    2 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Learned a lot about Turborepo in a short amount of time. Thanks.

    Mehmet Yarar aka Niyo
    2 years ago

Course Content

44m • 14 lessons

    You might also like these resources:

    illustration for Introduction to Monorepos with NPM Workspaces
    Alejandro Ñáñez • Course • 24m

    Monorepos smooth out the rough edges when managing all of your projects.

    illustration for Scale React Development with Nx
    Juri Strumpflohner • 1h 40m • Course

    Juri demonstrates Nx features and more through the iterative creation of a React + Storybook + Express app. Nx supports the most popular frameworks & libraries on the web.

    illustration for Architect an Extensible Digital Garden with Next.js, Tailwind, and Nx
    Juri Strumpflohner • 2h 1m • Course

    In this course, Juri Strumpflohner demonstrates how to create a Digital Garden through the iterative creation of a React + Storybook.