PNpM CLI
Minor Changes
-
Add experimental lockfile format that should merge conflict less in the
importerssection. Enabled by setting theuse-inline-specifiers-lockfile-format = truefeature flag in.npmrc.If this feature flag is committed to a repo, we recommend setting the minimum allowed version of pnpm to this release in the
package.jsonenginesfield. Once this is set, older pnpm versions will throw on invalid lockfile versions. -
Add
publishDirectoryfield to the lockfile and relink the project when it changes. -
verify-store-integrity=falsemakes pnpm skip checking the integrities of files in the global content-addressable store. -
Allow to set
only-built-dependencies[]through.npmrc.
Patch Changes
- It should be possible to publish a package with local dependencies from a custom publish directory (set via
publishConfig.directory) #3901. pnpm deployshould inject local dependencies of all types (dependencies, optionalDependencies, devDependencies) #5078.- When a project in a workspace has a
publishConfig.directoryset, dependent projects should install the project from that directory #3901 - pnpm deploy: accept absolute paths and use cwd instead of workspaceDir for deploy target directory #4980.
- pnpm setup should update
.zshrcin the right directory when a$ZDOTDIRis set.
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://raw.githubusercontent.com/pnpm/pnpm.github.io/main/static/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://raw.githubusercontent.com/pnpm/pnpm.github.io/main/static/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://raw.githubusercontent.com/pnpm/pnpm.github.io/main/static/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=release_notes" target="_blank"><img src="https://raw.githubusercontent.com/pnpm/pnpm.github.io/main/static/img/users/prisma.svg" width="180"></a> </td> <td align="center" valign="middle"> <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://raw.githubusercontent.com/pnpm/pnpm.github.io/main/static/img/users/leniolabs.jpg" width="80"></a> </td> <td align="center" valign="middle"> <a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://raw.githubusercontent.com/pnpm/pnpm.github.io/main/static/img/users/vercel.svg" width="180"></a> </td> <td align="center" valign="middle"> <a href="https://www.takeshape.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://raw.githubusercontent.com/pnpm/pnpm.github.io/main/static/img/users/takeshape.svg" width="280"></a> </td> </tr> </tbody> </table>
What's Changed
- fix(deploy): inject all types of deps by @zkochan in https://github.com/pnpm/pnpm/pull/5084
- fix(make-dedicated-lockfile): prepublishOnly script is automatically … by @zkochan in https://github.com/pnpm/pnpm/pull/5083
- fix: symlink a workspace pkg correctly, when it has a custom publish dir by @zkochan in https://github.com/pnpm/pnpm/pull/5089
- feat: add experimental use-inline-specifiers-lockfile-format by @gluxon in https://github.com/pnpm/pnpm/pull/5091
- fix: plugin-commands-deploy use path resolve on deploy target dir by @AWare in https://github.com/pnpm/pnpm/pull/5026
- fix: relink the project when its publish directory changes by @zkochan in https://github.com/pnpm/pnpm/pull/5109
- fix: don't include specifiers field in new experimental lockfile format by @zkochan in https://github.com/pnpm/pnpm/pull/5110
- feat: verify-store-integrity by @zkochan in https://github.com/pnpm/pnpm/pull/5112
New Contributors
- @AWare made their first contribution in https://github.com/pnpm/pnpm/pull/5026
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.6.0...v7.7.0