Skip to content

v7.18.0

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Dec 22:28
· 1086 commits to main since this release
v7.18.0
1240a64

Minor Changes

  • Overrides may be defined as a reference to a spec for a direct dependency by prefixing the name of the package you wish the version to match with a `# pnpm.

    {
      "dependencies": {
        "foo": "^1.0.0"
      },
      "overrides": {
        // the override is defined as a reference to the dependency
        "foo": "$foo",
        // the referenced package does not need to match the overridden one
        "bar": "$foo"
      }
    }

    Issue: #5703

Patch Changes

  • pnpm audit should work when the project's package.json has no version field #5728
  • Dependencies specified via * should be updated to semver ranges by pnpm update #5681.
  • It should be possible to override a dependency with a local package using relative path from the workspace root directory #5493.
  • Exit with non-zero exit code when child process exits with a non-zero exit clode #5525.
  • pnpm add should prefer local projects from the workspace, even if they use prerelease versions #5316

Our Gold Sponsors

Our Silver Sponsors