@pnpm/plugin-better-defaults
v0.3.0
Published
Improved defaults for pnpm
Readme
@pnpm/plugin-better-defaults
Improved defaults for pnpm
What it changes
- Sets blockExoticSubdeps to
true. - Sets enableGlobalVirtualStore to
true. - Sets enablePrePostScripts to
false. - Sets hoistPattern to an empty array, disabling hoisting.
- Sets ignorePatchFailures to
false. - Sets minimumReleaseAge to
1440(1 day). - Sets optimisticRepeatInstall to
true. - Sets resolutionMode to
lowest-direct. - Sets trustPolicy to
no-downgrade. - Sets trustPolicyIgnoreAfter to
10080(7 days). - Sets verifyDepsBeforeRun to
install.
You can extend or override these settings in your own .pnpmfile.cjs.
Installation
pnpm add --config @pnpm/plugin-better-defaultsThis will add @pnpm/plugin-better-defaults to the configDependencies field in your pnpm-workspace.yaml.
License
MIT
