fix nohoist binLink#5492
Conversation
address yarnpkg#5442
|
This change will increase the build size from 10.51 MB to 10.51 MB, an increase of 4.92 KB (0%)
|
|
the tests pass on linux/mac but failed on appVeyor, seems like a windows specific issue... I am trying to get a windows docker container running on my mac so I can debug it. Not a lot of experience with windows-docker, not sure if that is the best way to go about this.... maybe there is a way to debug on appVeyor session directly? Anybody has done similar things before? @bestander @arcanis do you have any suggestion? |
|
never mind, I found the problem. Had to use my dad's pc, that was painful... will send updates tomorrow |
|
alright, we are back to the business now... hopefully, we will get a reviewer soon... |
|
|
||
| if (isDirectRequire || (this.topLevelBinLinking && !linksToCreate.has(name))) { | ||
| // a nohoist package should not be linked at topLevel bin | ||
| if (!isNohoist && (isDirectRequire || (this.topLevelBinLinking && !linksToCreate.has(name)))) { |
There was a problem hiding this comment.
What will happen if a toplevel dependency is marked as nohoist? 🤔
|
@arcanis new tests are in, let me know if you have other question. |
arcanis
left a comment
There was a problem hiding this comment.
Looks good to me! Thanks @connectdotz for maintaining this feature :)
Summary
address #5487
src
test
Test plan
existing and new tests should pass.