From 1f05fef6595efcae8bf63bec637db75743e6bad3 Mon Sep 17 00:00:00 2001 From: Zoltan Kochan Date: Sun, 4 Apr 2021 21:24:17 +0300 Subject: [PATCH] chore(release): 6.0.0-rc.0 --- packages/pnpm/CHANGELOG.md | 20 +++++++++++++++++++- packages/pnpm/package.json | 2 +- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/packages/pnpm/CHANGELOG.md b/packages/pnpm/CHANGELOG.md index eb3884894f..0a6409c74c 100644 --- a/packages/pnpm/CHANGELOG.md +++ b/packages/pnpm/CHANGELOG.md @@ -1,6 +1,6 @@ # pnpm -## 6.0.0-beta.0 +## 6.0.0-rc.0 ### Major Changes @@ -45,6 +45,10 @@ - pnpm's command file's extension changed to `.cjs` (`bin/pnpm.js`=>`bin/pnpm.cjs`). +- [node-gyp](https://github.com/nodejs/node-gyp) updated to v8. + +- `prepublish` is not executed on a local `pnpm install`. Use `prepare` instead. + ### Minor Changes - A new command added: [pnpm fetch](https://pnpm.io/cli/fetch). @@ -52,6 +56,20 @@ Fetch packages from a lockfile into virtual store, package manifest is ignored. This command is specifically designed to boost building a docker image. +- Overrides match dependencies by checking if the target range is a subset of the specified range, instead of making an exact match. + + For example, the following override will replace any version of `foo` that has a subrange on v2: + + ```json + "pnpm": { + "overrides": { + "foo@2": "2.1.0" + } + } + ``` + + This will override `foo@2.2.0` and `foo@^2.3.0` to `foo@2.1.0` as both `2.2.0` and `^2.3.0` are subranges of `2`. + ## 5.18.9 ### Patch Changes diff --git a/packages/pnpm/package.json b/packages/pnpm/package.json index 978fab22e6..06f681c278 100644 --- a/packages/pnpm/package.json +++ b/packages/pnpm/package.json @@ -1,7 +1,7 @@ { "name": "pnpm", "description": "Fast, disk space efficient package manager", - "version": "6.0.0-beta.1", + "version": "6.0.0-rc.0", "author": "Zoltan Kochan (https://www.kochan.io/)", "bin": { "pnpm": "bin/pnpm.cjs",