* docs: move website documentation into the pnpm repository * docs: keep v11 and v12 documentation beside their implementations * docs(pnpr): keep registry documentation beside its implementation * ci: classify product documentation as documentation changes * test: cover product documentation in Rust CI exclusions * ci: isolate documentation publishing and support manual sync * test: make dependency status fixture timestamps deterministic
676 B
676 B
id, title
| id | title |
|---|---|
| clean | pnpm clean |
Aliases: purge
Safely remove node_modules contents from all workspace projects. Uses Node.js to remove directories, which correctly handles NTFS junctions on Windows without following them into their targets.
In a workspace, node_modules directories are cleaned in the root and every workspace package. Non-pnpm hidden entries (e.g., .cache) inside node_modules are preserved.
If a custom virtualStoreDir is configured and it resides inside the project root (but outside node_modules), it is also removed.
Options
--lockfile, -l
Also remove pnpm-lock.yaml files.