Skip to content

v6.26.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Jan 15:11
· 1818 commits to main since this release
551b253

Minor Changes

  • In order to mute some types of peer dependency warnings, a new section in package.json may be used for declaring peer dependency warning rules. For example, the next configuration will turn off any warnings about missing babel-loader peer dependency and about @angular/common, when the wanted version of @angular/common is not v13.

    {
      "name": "foo",
      "version": "0.0.0",
      "pnpm": {
        "peerDependencyRules": {
          "ignoreMissing": ["babel-loader"],
          "allowedVersions": {
            "@angular/common": "13"
          }
        }
      }
    }
  • New setting supported: auto-install-peers. When it is set to true, pnpm add <pkg> automatically installs any missing peer dependencies as devDependencies #4213.