I find pnpm arguments a bit cumbersome, especially for filtering by workspace.
These simple command aliases make installing dependencies super simple.
They work best with command line tab completion installed.
- Install dependency
p package-name
- Install dependency to workspace (filter)
pf @my-workspace/my-package package-name
- Install dev dependency
pd package-name
- Install dev dependency to workspace (filter)
pdf @my-workspace/my-package package-name