Scaffold new Pkgs in a PNPM Workspaces Monorepo

Juri Strumpflohner
Published
Hey, let’s dig into the awesome world of Nx plugins and how they can totally automate our PNPM workspaces-based monorepo. You know what’s even cooler? We’ll learn how to easily whip up new packages using some sweet scaffolding techniques. Let’s do this!
▬▬▬▬▬▬ Links ▬▬▬▬▬▬
Nx Plugins: https://nx.dev/plugins/intro/getting-started
Fast PNPM workspaces: https://youtu.be/PwfR77oe1E8
Setup a Monorepo with PNPM workspaces & speed it up with Nx: https://dev.to/nx/setup-a-monorepo-with-pnpm-workspaces-and-speed-it-up-with-nx-1eem
▬▬▬▬▬▬ ⏱ Timecodes ▬▬▬▬▬▬
- 0:00 Intro
- 0:29 Exploring our example PNPM workspace monorepo
- 2:00 Add Nx
- 2:55 Nx Architecture & plugin generators
- 4:10 Setting up a workspace plugin
- 5:44 Creating a generator
- 7:04 Implementing our React package scaffolding generator
- 13:25 Running it!
- 16:08 Recap
▬▬▬▬▬▬ 🐦 Socials ▬▬▬▬▬▬
Nx - https://twitter.com/NxDevTools
Juri - https://twitter.com/juristr · @juristr