-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rush] Fix 1347 by resolving paths to local projects by referring to the shrinkwrap #1367
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks nice to me. I'm not familiar with the problem, but the solution looks good.
Co-Authored-By: Ian Clanton-Thuon <iclanton@users.noreply.github.com>
Co-Authored-By: Ian Clanton-Thuon <iclanton@users.noreply.github.com>
b5e2609
to
b3900a9
Compare
Make sure you test this pretty extensively. |
@iclanton I tested this on wbt, sp-client, and the repro repo in #1347, https://github.com/imodeljs/imodeljs, on pnpm 2 and pnpm 3. Do you suggest any other test repos? I am not completely familiar with the feature so it's possible that I am missing some edge cases. |
4c0fd14
to
18c6d46
Compare
I think you're good. |
rush link
was failing on pnpm 3+ with the changes in shrinkwrap format with regard to peer dependencies. Rush now resolves paths to local projects accurately by referring to the shrinkwrap rather than figuring out the path on its own. See #1347.