PNpM CLI
Minor Changes
pnpm patch: edit the patched package in a directory specified by the--edit-diroption. E.g.,pnpm patch express@3.1.0 --edit-dir=/home/xxx/src/patched-express#5304
Patch Changes
- Auto installing a peer dependency in a workspace that also has it as a dev dependency in another project #5144.
- When an error happens during installation of a subdependency, print some context information in order to be able to locate that subdependency. Print the exact chain of packages that led to the problematic dependency.
Our Gold Sponsors
<table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a> </td> <td align="center" valign="middle"> <a href="https://nhost.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/nhost.svg" width="180"></a> </td> <td align="center" valign="middle"> <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/novu.svg" width="180"></a> </td> </tr> </tbody> </table>
Our Silver Sponsors
<table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://prisma.io/?utm_source=pnpm&utm_medium=readme" target="_blank"> <img src="https://pnpm.io/img/users/prisma.svg" width="180"> </a> </td> <td align="center" valign="middle"> <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=readme" target="_blank"> <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80"> </a> </td> <td align="center" valign="middle"> <a href="https://vercel.com/?utm_source=pnpm&utm_medium=readme" target="_blank"> <img src="https://pnpm.io/img/users/vercel.svg" width="180"> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://www.takeshape.io/?utm_source=pnpm&utm_medium=readme" target="_blank"> <img src="https://pnpm.io/img/users/takeshape.svg" width="280"> </a> </td> <td align="center" valign="middle"> <a href="https://doppler.com/?utm_source=pnpm&utm_medium=readme#gh-light-mode-only" target="_blank"> <img src="https://pnpm.io/img/users/doppler.svg" width="280"> </a> </td> </tr> </tbody> </table>
What's Changed
- feat(plugin-command-patching): add path option to patch command by @roseline124 in https://github.com/pnpm/pnpm/pull/5304
- fix: improve dependency installation error message by @zkochan in https://github.com/pnpm/pnpm/pull/5247
- fix: auto installing peer dep in a workspace by @zkochan in https://github.com/pnpm/pnpm/pull/5307
New Contributors
- @roseline124 made their first contribution in https://github.com/pnpm/pnpm/pull/5304
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.10.0...v7.11.0