Minor Changes
-
Add experimental lockfile format that should merge conflict less in the
importers
section. Enabled by setting theuse-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.
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.
Our Gold Sponsors
Our Silver Sponsors
What's Changed
- 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
New Contributors
Full Changelog: v7.7.0-0...v7.7.0-1