Skip to content

v6.32.0

Compare
Choose a tag to compare
@github-actions github-actions released this 22 Feb 01:18
· 1742 commits to main since this release
4dca63d

Minor Changes

  • A new setting is supported in the pnpm section of the package.json file #4001. onlyBuiltDependencies is an array of package names that are allowed to be executed during installation. If this field exists, only mentioned packages will be able to run install scripts.

    {
      "pnpm": {
        "onlyBuiltDependencies": ["fsevents"]
      }
    }
  • -F is a short alias of --filter #3467.

  • When adding a new dependency, use the version specifier from the overrides, when present #4313.

    Normally, if the latest version of foo is 2.0.0, then pnpm add foo installs foo@^2.0.0. This behavior changes if foo is specified in an override:

    {
      "pnpm": {
        "overrides": {
          "foo": "1.0.0"
        }
      }
    }

    In this case, pnpm add foo will add foo@1.0.0 to the dependency. However, if a version is explicitly specifying, then the specified version will be used and the override will be ignored. So pnpm add foo@0 will install v0 and it doesn't matter what is in the overrides.

Patch Changes

  • Ignore case, when verifying package name in the store #4367.
  • When a peer dependency range is extended with *, just replace any range with *.
  • When some dependency types are skipped, let the user know via the installation summary.

Full Changelog: v6.31.0...v6.32.0