The Art of Enterprise Monorepos with Nx and pnpm
In this course we learn how to structure a monorepo with PNPM workspaces, install Nx and use its tooling to optimise CI performance and maintain code quality
- 3.7 / 5 (3 ratings)
- Published
- Updated
1 hr 5 mins
19 Videos

Sean Amarasinghe
Lead Engineer
01Remote
You can take the course from anywhere in the world, as long as you have a computer and an internet connection.
02Self-Paced
Learn at your own pace, whenever it's convenient for you. With no rigid schedule to worry about, you can take the course on your own terms.
03Community
Join a vibrant community of other students who are also learning with The Art of Enterprise Monorepos with Nx and pnpm. Ask questions, get feedback and collaborate with others to take your skills to the next level.
04Structured
Learn in a cohesive fashion that's easy to follow. With a clear progression from basic principles to advanced techniques, you'll grow stronger and more skilled with each module.
Predictably Collaborate on and Automate Complex Apps at Scale
How to structure a monorepo with PNPM workspaces, install Nx and use its tooling to optimize CI performance and maintain code quality.
Importance of managing multiple projects, libraries, and applications within a single, centralized repository to enhance productivity and code maintainability.
By utilizing Nx, a powerful and extensible toolkit, you will learn to streamline the development workflow within monorepos.
We have created a course on how to build monorepos using Nx which is a powerful build system that provides tools and techniques for enhancing developer productivity, optimizing CI performance, and maintaining code quality. Monorepos are an excellent way to reduce the complexity of mutiple codebases, reuse code and increase productivity, but most software engineers working on enterprise solutions find it confusing where to even start.
In this course we cover how to install and configure Nx to speed up development by reducing complexity by improving code organization via code sharing between different projects, ways to optimize builds with local and remote cache, increase test coverage locally and how to configure CI alogn with the tooling via its plugins.
It's taught by Sean Amarasinghe who is a Lead Engineer who has been working with Nx and PNPM integrating it into multiple monorepos.
Our students work at
Sample Course Lessons
Course Syllabus and Content
Introduction
3 Lessons 8 Minutes
Introduction to the Course
- 02Overcoming Challenges with Multiple Repositories - A Deep Dive into Package Management and WorkspacesSneak Peek00:04:57
Challenges in managing a large number of repositories
We will discuss what monorepos are and the essential criteria for monorepo implementation
Getting Started
3 Lessons 9 Minutes
An introduction to PNPM and its benefits.
We are going to set up a monorepo folder structure with PNPM workspaces.
Create our first application inside the PNPM workspace.
Shared Repositories
2 Lessons 8 Minutes
We are going create a shared library using React and TypeScript.
We are going import a ccomponent from a shared library into our main app.
Nx
4 Lessons 13 Minutes
An intro to Nx and the features it provides the developers
How to add Nx to the workspace and running Nx commands
How to run Nx commands
An intro to Nx graph to identify dependencies
Caching
2 Lessons 6 Minutes
Learn about how Nx cache works
Configure caching strategies based on your project's requirements
Nx Task Pipeline Features and Workspace Optimization
2 Lessons 5 Minutes
Make sure dependencies are built first before running an application using dependsOn field.
Use advanced optimizations beyond caching for growing applications and packages within your monorepo.
Creating custom plugins and scaffolding new packages with generators
2 Lessons 11 Minutes
Gain a solid understanding of what Nx plugins are, how they work, and why they are a crucial component of the Nx ecosystem.
How to use the generators to scaffold new projects
Subscribe for a Free Lesson
By subscribing to the newline newsletter, you will also receive weekly, hands-on tutorials and updates on upcoming courses in your inbox.
What Students are Saying
Meet the Course Instructor

Purchase the course today
newline Pro Subscription
$18/MO
Get unlimited access to the course, plus 60+ newline books, guides and courses. Learn More
Billed annually or $40/mo billed monthly. Free to cancel anytime.
- Discord Community Access
- Full Transcripts
- Project Completion Guarantee
- Lifetime Access
Plus:
- Unlimited access to 60+ newline Books, Guides and Courses
- Interactive, Live Project Demos for Every newline Book, Guide and Course
- Complete Project Source Code for Every newline Book, Guide and Course
- Best Value 🏆
Frequently Asked Questions
What is The Art of Enterprise Monorepos with Nx and pnpm?
In this course we’ll cover how to structure a monorepo PNPM workspaces, install Nx and use its tooling to optimize CI performance and maintain code quality. We’ll build a monorepo with multiple projects, libraries, and applications within a single, centralized repository to enhance productivity and code maintainability. This project is valuable for software engineers and architects working with enterprise applications.
Who is this course for?
This course was produced for software engineers and archietects from beginner to senior level.
What if I don't like the course?
We offer a 30-day money-back guarantee, so if you're not satisfied with the course, you can request a refund within 30 days of purchase by sending us a message.
What is included in the course?
This course include 14 videos, totaling 53 minutes. You’ll have access to every lesson video, textual lesson content, downloadable project code files, interactive IDE, and AI Tutor.
What are there prerequisites for this course?
This course assumes you know JavaScript and Node.js.
How long will it take to complete the course?
The course offers flexibility, allowing you to learn at your own pace. Start, stop, re-watch anytime. It’s expected that you’d spend approximately 1-2 hours going through the entire course materials.
Can I access the course on my mobile device?.
Yes, the course is fully responsive and can be accessed on your mobile device.
Is there a certificate upon completion of the course?
Yes, you can get a certificate by sending us a message.
Can I ask questions during the course?
Yes, you can ask questions in the comments section of each lesson, and our team will respond as quickly as possible. You can also ask us questions anytime through the community driven Discord channel.
Can I download the course videos?
No, the course videos cannot be downloaded, but they can be accessed online at any time.
What is the price of the course?
The course is currently priced at [$X USD]. Alternatively, you can access the complete course as part of the "newline Pro subscription", which costs $20/month.
How is this course different then other content available on [TOPIC]?
This course is unlike any other course on Nx and monorepos because it goes through the entire process of setting up a monorepo with PNPM workspaces, installing Nx and using its tooling to optimize CI performance and maintain code quality. It’s a comprehensive guide that covers everything you need to know to get started with monorepos.