PNpM CLI
Minor Changes
-
New command added:
pnpm audit --fix. This command adds overrides topackage.jsonthat force versions of packages that do not have the vulnerabilities #3598. -
Own implementation of
pnpm packis added. It is not passed through tonpm packanymore #3608. -
When
pnpm add pkgis executed in a workspace andpkgis already in the dependencies of one of the workspace projects, pnpm uses that already present version range to add the new dependency #3614. -
New
package.jsonsetting added:publishConfig.executableFiles. By default, for portability reasons, no files except those listed in the bin field will be marked as executable in the resulting package archive. TheexecutableFilesfield lets you declare additional fields that must have the executable flag (+x) set even if they aren't directly accessible through the bin field.{ "publishConfig": { "executableFiles": [ "./dist/shim.js", ] } }
Patch Changes
- Don't collapse warnings when
--reporter append-onlyis used. - Print a warning when a lifecycle script is skipped #3619.