PNpM CLI
Notes
no notes yet
Features
- New CLI option:
--filter-prod.--filter-prodacts the same as--filter, but it omitsdevDependencieswhen selecting dependency projects from the workspace #3372. - New types of workspace ranges added #3116:
workspace:~means that the version of the workspace project should be added using the~prefix. For instance:~1.0.0(if the version of the referenced project is1.0.0in the workspace).workspace:^means that the version of the workspace project should be added using the^prefix. For instance:^1.0.0.
- New setting:
fetch-timeout. Sets the maximum amount of time to wait for HTTP requests to complete. By default, the value is 60000 (1 minute) #3390.
Bug Fixes
- Don't skip lifecycle scripts of projects when doing a filtered installation #3251.
- No deprecation warning about
rmdir()usage should appear when running pnpm on Node.js 16. - Link overrides should work on non-root workspace projects #3388.
- pnpm should not fail with an
EMFILEerror on a big workspace with many projects #3381.