Major Changes
auto-install-peers
istrue
by default.- The registry field is removed from the
resolution
object inpnpm-lock.yaml
. save-workspace-protocol
isrolling
by default.- When there's a
files
field in thepackage.json
, only deploy those files that are listed in it.
Use the same logic also when injecting packages. This behavior can be changed by setting thedeploy-all-files
setting totrue
#5911. - Use lockfile v6 by default.
resolve-peers-from-workspace-root
istrue
by default.publishConfig.linkDirectory
istrue
by default.resolution-mode
islowest-direct
by default.- Direct dependencies are deduped. So if the same dependency is both in a project and in the workspace root, then it is only linked to the workspace root.
- Create a lockfile even if the project has no dependencies at all.