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
-
Hi!
After some tests, I've found that if the
.npmrc
file containslink-workspace-packages = false
monorepo 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.npmrc
file. Locally, it is possible to install and link all of the packages using the--link-workspace-packages
option but there is no way to invokepnpm run
orpnpm exec
that would keep packages topologically order.I'm opening this mainly because we would love to upgrade
pnpm
from 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