npm pnpm 7.3.0
v7.3.0

latest releases: 10.0.0-alpha.0, 9.12.3, 9.12.2...
2 years ago

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

Don't miss a new pnpm release

NewReleases is sending notifications on new releases.