Building a Scalable Monorepo with JavaScript and TypeScript
56mAdvanced2024-10-08
Authors

Eve Porcello
Software Developer and Instructor
Course details
In this course, learn the fundamentals of managing multiple repositories for different components of a project, recognizing the advantages and challenges this strategy presents. This understanding is crucial for making informed decisions on project structure, facilitating scalability, and independence across teams and services. Instructor Eve Porcello starts with a look at monorepo architecture, then shows you how to configure pnpm workspaces. Then, learn about the benefits of integrating Turborepo, a high-performance build system designed for JavaScript and TypeScript codebases.
Skills covered
TypeScriptEcma InternationalJavaScriptProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Scaling a codebase with a monorepo
- 02 - What you should know
1. Understanding Monorepos
- 03 - Working with a monorepo architecture
- 04 - Setting up the dev environment
- 05 - Creating a package
- 06 - Creating multiple packages
- 07 - Recursively running multiple packages
2. Configuring pnpm Workspaces
- 08 - Referencing local packages
- 09 - Challenge - Sharing code across projects
- 10 - Solution - Sharing code across projects
- 11 - Linking to local file paths
3. Exploring Turborepo
- 12 - Introducing Turborepo
- 13 - Installing external dependencies
- 14 - Creating an internal package
- 15 - Setting an internal dependency
- 16 - Writing a tsconfig file
- 17 - Running the build
4. Turborepo Integration
- 18 - Improving performance with build caching
- 19 - Utilizing remote caching
- 20 - Understanding developer mode features
- 21 - Handling environment variables
Conclusion
- 22 - Next steps
Related courses
- Unity 5: Build a Character Dialogue System
- Unity: Working with Google Firebase
- Building a Project with the ChatGPT API
- Build with AI: Building a Project with the ChatGPT API
- Nest.js Developer Lab 2026: Build a Robust API with Authentication, Articles, and User Profiles
- Recruitment in a Startup: Ten Mistakes to Avoid
- Building AI-Powered Browser Agents with Playwright and Large Language Models
- Building and Securing RESTful APIs in ASP.NET Core
Related learn paths
- Prepare for the AZ-203 Developing Solutions for Microsoft Azure Exam
- Prepare for the Azure Developer Associate (AZ-204) Certification
- Getting Started as an Azure Developer
- Advance Your Skills as a Django Developer
- Become a Django Developer
- Explore App Development with the MERN Stack
- Become a Spring Developer
- Introduction to Fundamental Skills for Data Work: Data Collection