mirror of
https://github.com/pnpm/pnpm.git
synced 2026-04-20 23:17:17 -04:00
Update all packages from zkochan/packages to their latest major versions and exclude them from minimumReleaseAge requirement. This includes updating catalog entries, adapting to breaking API changes (default exports replaced with named exports, sync functions renamed with Sync suffix), and updating type declarations.
@pnpm/modules-cleaner
Exports util functions to clean up node_modules
Install
pnpm install @pnpm/modules-cleaner
API
prune(...args)
Compares the wanted lockfile with the current one and removes redundant packages from node_modules.
removeDirectDependency(...args)
Removes a direct dependency from node_modules.
License
MIT