Course lesson
Use pnpm Filter Commands to Run App Scripts From the Workspace Root
You can use pnpm's --filter flag to run scripts in any app in your monorepo from the root of the project.
- Duration
- 2 min
- Access
- Included
- Transcript
- Retained from source evidence
You can use pnpm's --filter flag to run scripts in any app in your monorepo from the root of the project.
All you have to do is ensure that each of your app's have name set in their package.json file. Then you can run, for example, pnpm --filter my-remix-app dev.