npm pnpm 7.7.0
v7.7.0

latest releases: 10.0.0-alpha.0, 9.12.3, 9.12.2...
2 years ago

Minor Changes

  • Add experimental lockfile format that should merge conflict less in the importers section. Enabled by setting the use-inline-specifiers-lockfile-format = true feature 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.json engines field. Once this is set, older pnpm versions will throw on invalid lockfile versions.

  • Add publishDirectory field to the lockfile and relink the project when it changes.

  • verify-store-integrity=false makes 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 deploy should inject local dependencies of all types (dependencies, optionalDependencies, devDependencies) #5078.
  • When a project in a workspace has a publishConfig.directory set, 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 .zshrc in the right directory when a $ZDOTDIR is set.

Our Gold Sponsors

Our Silver Sponsors

What's Changed

  • fix(deploy): inject all types of deps by @zkochan in #5084
  • fix(make-dedicated-lockfile): prepublishOnly script is automatically … by @zkochan in #5083
  • fix: symlink a workspace pkg correctly, when it has a custom publish dir by @zkochan in #5089
  • feat: add experimental use-inline-specifiers-lockfile-format by @gluxon in #5091
  • fix: plugin-commands-deploy use path resolve on deploy target dir by @AWare in #5026
  • fix: relink the project when its publish directory changes by @zkochan in #5109
  • fix: don't include specifiers field in new experimental lockfile format by @zkochan in #5110
  • feat: verify-store-integrity by @zkochan in #5112

New Contributors

Full Changelog: v7.6.0...v7.7.0

Don't miss a new pnpm release

NewReleases is sending notifications on new releases.