nissy-dev / blog

blog
https://blog.nissy.dev
MIT License
5 stars 0 forks source link

Update pnpm to v9.7.1 #323

Closed nissy-renovate-bot[bot] closed 2 weeks ago

nissy-renovate-bot[bot] commented 1 month ago

This PR contains the following updates:

Package Type Update Change
pnpm (source) packageManager minor 9.5.0 -> 9.7.1

Release Notes

pnpm/pnpm (pnpm) ### [`v9.7.1`](https://togithub.com/pnpm/pnpm/releases/tag/v9.7.1): pnpm 9.7.1 [Compare Source](https://togithub.com/pnpm/pnpm/compare/v9.7.0...v9.7.1) #### Patch Changes - Fixed passing `public-hoist-pattern` and `hoist-pattern` via env variables [#​8339](https://togithub.com/pnpm/pnpm/issues/8339). - `pnpm setup` no longer creates Batch/Powershell scripts on Linux and macOS [#​8418](https://togithub.com/pnpm/pnpm/pull/8418). - When dlx uses cache, use the real directory path not the symlink to the cache [#​8421](https://togithub.com/pnpm/pnpm/pull/8421). - `pnpm exec` now supports executionEnv [#​8356](https://togithub.com/pnpm/pnpm/issues/8356). - Remove warnings for non-root `pnpm` field, add warnings for non-root `pnpm` subfields that aren't `executionEnv` [#​8143](https://togithub.com/pnpm/pnpm/issues/8413). - Replace semver in "peerDependency" with workspace protocol [#​8355](https://togithub.com/pnpm/pnpm/issues/8355). - Fix a bug in `patch-commit` in which relative path is rejected [#​8405](https://togithub.com/pnpm/pnpm/pull/8405). - Update Node.js in `@pnpm/exe` to v20. #### Platinum Sponsors
#### Gold Sponsors
#### Our Silver Sponsors
### [`v9.7.0`](https://togithub.com/pnpm/pnpm/releases/tag/v9.7.0): pnpm 9.7 [Compare Source](https://togithub.com/pnpm/pnpm/compare/v9.6.0...v9.7.0) #### Minor Changes - Added pnpm version management. If the `manage-package-manager-versions` setting is set to `true`, pnpm will switch to the version specified in the `packageManager` field of `package.json` [#​8363](https://togithub.com/pnpm/pnpm/pull/8363). This is the same field used by Corepack. Example: ```json { "packageManager": "pnpm@9.3.0" } ``` - Added the ability to apply patch to all versions [#​8337](https://togithub.com/pnpm/pnpm/pull/8337). If the key of `pnpm.patchedDependencies` is a package name without a version (e.g. `pkg`), pnpm will attempt to apply the patch to all versions of the package. Failures will be skipped. If there's only one version of `pkg` installed, `pnpm patch pkg` and subsequent `pnpm patch-commit $edit_dir` will create an entry named `pkg` in `pnpm.patchedDependencies`. And pnpm will attempt to apply this patch to other versions of `pkg` in the future. - Change the default edit dir location when running `pnpm patch` from a temporary directory to `node_modules/.pnpm_patches/pkg[@​version]` to allow the code editor to open the edit dir in the same file tree as the main project [#​8379](https://togithub.com/pnpm/pnpm/issues/8379). - Substitute environment variables in config keys [#​6679](https://togithub.com/pnpm/pnpm/issues/6679). #### Patch Changes - `pnpm install` should run `node-gyp rebuild` if the project has a `binding.gyp` file even if the project doesn't have an install script [#​8293](https://togithub.com/pnpm/pnpm/issues/8293). - Print warnings to stderr [#​8342](https://togithub.com/pnpm/pnpm/pull/8342). - Peer dependencies of optional peer dependencies should be automatically installed [#​8323](https://togithub.com/pnpm/pnpm/issues/8323). #### Platinum Sponsors
#### Gold Sponsors
#### Our Silver Sponsors
### [`v9.6.0`](https://togithub.com/pnpm/pnpm/releases/tag/v9.6.0): pnpm 9.6 [Compare Source](https://togithub.com/pnpm/pnpm/compare/v9.5.0...v9.6.0) #### Minor Changes - Support specifying node version (via `pnpm.executionEnv.nodeVersion` in `package.json`) for running lifecycle scripts per each package in a workspace [#​6720](https://togithub.com/pnpm/pnpm/issues/6720). - Overrides now support the [`catalogs:` protocol](https://pnpm.io/catalogs) [#​8303](https://togithub.com/pnpm/pnpm/issues/8303). #### Patch Changes - The `pnpm deploy` command now supports the [`catalog:` protocol](https://pnpm.io/catalogs) [#​8298](https://togithub.com/pnpm/pnpm/pull/8298). - The `pnpm outdated` command now supports the [`catalog:` protocol](https://pnpm.io/catalogs) [#​8304](https://togithub.com/pnpm/pnpm/pull/8304). - Correct the error message when trying to run `pnpm patch` without `node_modules/.modules.yaml` [#​8257](https://togithub.com/pnpm/pnpm/issues/8257). - Silent reporting fixed with the `pnpm exec` command [#​7608](https://togithub.com/pnpm/pnpm/issues/7608). - Add registries information to the calculation of dlx cache hash [#​8299](https://togithub.com/pnpm/pnpm/pull/8299). #### Platinum Sponsors
#### Gold Sponsors
#### Our Silver Sponsors

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

β™» 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 Renovate Bot.

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
blog βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Aug 19, 2024 0:41am
nissy-renovate-bot[bot] commented 3 weeks ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.