npm pnpm 5.10.1

latest releases: 9.0.6, 9.0.5, 9.0.4...
3 years ago

Features

  • A "pnpm"."overrides" field may be used to override version ranges of dependencies. #2946

    The overrides field can be specified only in the root project's package.json.

    An example of the "pnpm"."overrides" field:

    {
      "pnpm": {
        "overrides": {
          "foo": "^1.0.0",
          "bar@^2.1.0": "3.0.0",
          "qar@1>zoo": "2"
        }
      }
    }

    You may specify the package to which the overriden dependency belongs by separating the package selector from the dependency selector with a ">". For example qar@1>zoo will only override the zoo dependency of any qar@1 dependency.

  • A new setting added for specifying the shell to use, when running scripts: script-shell #2942

  • When some of the dependencies of a package have the package as a peer depenendency (for instance, some of the dependencies of webpack have webpack as peer dependency), don't make the dependency a peer depenendency of itself.

  • Lockfile version bumped to 5.2

Don't miss a new pnpm release

NewReleases is sending notifications on new releases.