pnpm/pnpm
### [`v7.18.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.18.0)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.17.1...v7.18.0)
#### 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.
```yaml
{
"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](https://togithub.com/pnpm/pnpm/issues/5703)
#### Patch Changes
- `pnpm audit` should work when the project's `package.json` has no `version` field [#5728](https://togithub.com/pnpm/pnpm/issues/5728)
- Dependencies specified via `*` should be updated to semver ranges by `pnpm update` [#5681](https://togithub.com/pnpm/pnpm/issues/5681).
- It should be possible to override a dependency with a local package using relative path from the workspace root directory [#5493](https://togithub.com/pnpm/pnpm/issues/5493).
- Exit with non-zero exit code when child process exits with a non-zero exit clode [#5525](https://togithub.com/pnpm/pnpm/issues/5525).
- `pnpm add` should prefer local projects from the workspace, even if they use prerelease versions [#5316](https://togithub.com/pnpm/pnpm/issues/5316)
#### Our Gold Sponsors
#### Our Silver Sponsors
### [`v7.17.1`](https://togithub.com/pnpm/pnpm/releases/tag/v7.17.1)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.17.0...v7.17.1)
#### Patch Changes
- `pnpm set-script` and `pnpm pkg` are passed through to npm [#5683](https://togithub.com/pnpm/pnpm/discussions/5683).
- `pnpm publish ` should exit with non-0 exit code when publish fails [#5396](https://togithub.com/pnpm/pnpm/issues/5396).
- readPackage hooks should not modify the `package.json` files in a workspace [#5670](https://togithub.com/pnpm/pnpm/issues/5670).
- Comments in `package.json5` are preserver [#2008](https://togithub.com/pnpm/pnpm/issues/2008).
- `pnpm setup` should create PNPM_HOME as a non-expandable env variable on Windows [#4658](https://togithub.com/pnpm/pnpm/issues/4658).
- Fix the CLI help of the `pnpm licenses` command.
#### Our Gold Sponsors
#### Our Silver Sponsors
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
7.17.0
->7.18.0
Release Notes
pnpm/pnpm
### [`v7.18.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.18.0) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.17.1...v7.18.0) #### 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. ```yaml { "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](https://togithub.com/pnpm/pnpm/issues/5703) #### Patch Changes - `pnpm audit` should work when the project's `package.json` has no `version` field [#5728](https://togithub.com/pnpm/pnpm/issues/5728) - Dependencies specified via `*` should be updated to semver ranges by `pnpm update` [#5681](https://togithub.com/pnpm/pnpm/issues/5681). - It should be possible to override a dependency with a local package using relative path from the workspace root directory [#5493](https://togithub.com/pnpm/pnpm/issues/5493). - Exit with non-zero exit code when child process exits with a non-zero exit clode [#5525](https://togithub.com/pnpm/pnpm/issues/5525). - `pnpm add` should prefer local projects from the workspace, even if they use prerelease versions [#5316](https://togithub.com/pnpm/pnpm/issues/5316) #### Our Gold SponsorsConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.