Sorting packages during pnpm run with link-workspace-packages = false
#3296
Unanswered
jczapiewski-cksource
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
After some tests, I've found that if the
.npmrcfile containslink-workspace-packages = falsemonorepo packages are not sorted the same way as inpnpm@4. In my flow, on CI I'm using already published packages and that's the reason for such property in the.npmrcfile. Locally, it is possible to install and link all of the packages using the--link-workspace-packagesoption but there is no way to invokepnpm runorpnpm execthat would keep packages topologically order.I'm opening this mainly because we would love to upgrade
pnpmfrom version 4 to 5 but it seems that the mentioned behavior has changed and I would like to know if this should be considered as an issue.Beta Was this translation helpful? Give feedback.
All reactions