Skip to content

v7.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Jun 21:07
· 1461 commits to main since this release

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 in peerDependencies. For instance:

    {
       "pnpm": {
         "peerDependencyRules": {
           "allowAny": ["@babel/*", "eslint"]
         }
       }
    }

    The above setting will mute any warnings about peer dependency version mismatches related to @babel/ packages or eslint.

  • 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

Full Changelog: v7.2.1...v7.3.0