Replies: 9 comments 7 replies
-
Not pnpm related per se, but dropping Node v14 + v17 from GitHub Actions and adopting Node 18 (which soon is LTS) should be part of pnpm v8 release. |
Beta Was this translation helpful? Give feedback.
-
add |
Beta Was this translation helpful? Give feedback.
-
Change the behavior of Not like the old behavior by setting The new expected behavior is we still using the shared virtual store but have individual lock file for each package in pnpm worksapces. |
Beta Was this translation helpful? Give feedback.
-
I am locking this for contributors only because for some reason people started to make feature requests here. |
Beta Was this translation helpful? Give feedback.
-
We use |
Beta Was this translation helpful? Give feedback.
-
@zkochan I just noticed that there are still older issues flagged with breaking change around, might make sense to work on them for v8: |
Beta Was this translation helpful? Give feedback.
-
Is there a plan to create migration guide on how to migrate project from 7 to 8? |
Beta Was this translation helpful? Give feedback.
-
Hey all, I am trying to get my head around one specific feature: From the documentation, I understood it to mean that if any peer dependencies are listed for any dependency of a package, and if the workspace root has that peer dependency installed, then it should indirectly install that peer dependency for the package. Looking at the I thought I may have misinterpreted it to mean that if you install the peer dependency, then pnpm will look to the workspace root in order to resolve the correct version number. This is indeed the case, but it seems to work with or without the setting, and with or without Another thing I tested was peer dependency version conflicts. If I declare At this point, I don't think I understand what this feature provides. Can someone help me to understand? Here is my project layout btw for context:
|
Beta Was this translation helpful? Give feedback.
-
This is a discussion about pnpm v8 breaking changes.
auto-install-peers=true
the default. Looks like this is what most people expect since npm has made this the default behavior.save-workspace-protocol=rolling
the default.publishConfig.linkDirectory
true by defaultmake(too early). But we can start installing the lowest version of direct dependencies.resolution-mode=time-based
the defaultresolve-peers-from-workspace-root
istrue
by default.substring(0, 50)
in this line to.substring(0, 120 - 26 - 1)
dedupeDirectDeps
totrue
by default in@pnpm/core
.resolution-mode
islowest-direct
by default.dedupe-peer-dependents
should betrue
by default.pnpm install
Beta Was this translation helpful? Give feedback.
All reactions