Minor Changes
-
A new setting added:
pnpm.peerDependencyRules.allowAny
.allowAny
is an array of package name patterns, any peer dependency matching the pattern will be resolved from any version, regardless of the range specified inpeerDependencies
. For instance:{ "pnpm": { "peerDependencyRules": { "allowAny": ["@babel/*", "eslint"] } } }
The above setting will mute any warnings about peer dependency version mismatches related to
@babel/
packages oreslint
. -
The
pnpm.peerDependencyRules.ignoreMissing
setting may accept package name patterns. So you may ignore any missing@babel/*
peer dependencies, for instance:{ "pnpm": { "peerDependencyRules": { "ignoreMissing": ["@babel/*"] } } }
-
Experimental. New settings added:
git-branch-lockfile
,merge-git-branch-lockfiles
,merge-git-branch-lockfiles-branch-pattern
#4475.
Patch Changes
- Packages that should be built are always cloned or copied from the store. This is required to prevent the postinstall scripts from modifying the original source files of the package.
Our Sponsors
What's Changed
- feat: enhance peer dependency rules by @TravisJRyan in #4876
- feat: add git-branch-lockfile config to generate lockfile in each branch by @chengcyber in #4475
- fix: built packages should not modify the original files in the store by @zkochan in #4898
New Contributors
- @TravisJRyan made their first contribution in #4876
Full Changelog: v7.2.1...v7.3.0