Features
- Allow specifying the shell target when configuring autocompletion with
pnpm install-completion
. For instance:pnpm install-completion zsh
. #3041 - New option added:
enable-modules-dir
. Whenfalse
, pnpm will not write any files to the modules directory (node_modules). This is useful for when the modules directory is mounted with filesystem in userspace (FUSE). There is an experimental CLI that allows to mount a modules directory with FUSE: @pnpm/mount-modules.
Bug Fixes
-
Fixed a performance regression that was caused by #3032 and shipped in pnpm v5.13.7
The performance of repeat
pnpm install
execution was in some cases significantly slower. -
Don't create broken symlinks to skipped optional dependencies, when hoisting. This issue was already fixed in pnpm v5.13.7 for the case when the lockfile is up-to-date. This fixes the same issue for cases when the lockfile needs updates. For instance, when adding a new package.