Workspace & Filtering
Master PNPM workspace mechanics, filtering commands, and parallel task execution.
Workspace Management & Filtering
Morax leverages PNPM workspaces to provide lightning-fast, disk-efficient package management with isolated node_modules and hardlink deduplication.
pnpm-workspace.yaml
The root workspace configuration maps all directories that contain apps and packages:
pnpm-workspace.yaml
Filtering Commands (`--filter`)
The --filter (or -F) flag allows you to target specific applications or packages without changing directories:
Filter Syntax
Adding Dependencies
Add an external package to a specific workspace directly from the root:
Targeted Installation
Parallel Script Execution
To run all applications concurrently in development mode, use pnpm -r (recursive) or root npm scripts:
Parallel Execution