Cheatsheetฟรี
pnpm cheatsheet — workspaces & everyday commands
The pnpm commands you reach for daily, plus the workspace filters that make monorepo scripts painless.
ของ lazyyy เอง · อัปเดต 9 ส.ค. 2569
ส่วนประกอบ
pnpm cheatsheet
pnpm add -D vitest # dev dep
pnpm dlx create-next-app # run without installing
pnpm -F web dev # run a script in one workspace pkg
pnpm -r build # run recursively across all packages
pnpm up -i -L # interactive upgrade to latest
pnpm why react # who pulls in this dep
-F (filter) + -r (recursive) are the two flags that unlock monorepos.