You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As yarn v2 is now stable I took a shot at trying it on my current codebase. Some plugins that I use rely on resolve pkg (which ^1.9.0 is supported )
However, I'm noticing that yarn is changing the behaviour of the library, essentially it is not transparently patching the resolve pkg and breaks code that is working outside of yarn
where paths option is being completely overriden by pnp patch. One solution could be to smartly merge in the input paths option instead of staright up replacing it
This issue looks stale, and doesn't feature the reproducible label - which implies that you didn't provide a working reproduction using Sherlock. As a result, it'll be closed in a few days unless a maintainer explicitly vouches for it or you edit your first post to include a formal reproduction (you can use the playground for that).
Note that we require Sherlock reproductions for long-lived issues (rather than standalone git repositories or similar) because we're a small team. Sherlock gives us the ability to check which bugs are still affecting the master branch at any given point, and decreases the amount of code we need to run on our own machines (thus leading to faster bug resolution faster). It helps us help you! 😃
If you absolutely cannot reproduce a bug on Sherlock (for example because it's a Windows-only issue), a maintainer will have to manually add the upholded label.
Describe the bug
As yarn v2 is now stable I took a shot at trying it on my current codebase. Some plugins that I use rely on
resolve
pkg (which ^1.9.0 is supported )However, I'm noticing that yarn is changing the behaviour of the library, essentially it is not transparently patching the
resolve
pkg and breaks code that is working outside of yarnTo Reproduce
https://github.com/AlexandreBonaventure/yarn-berry-resolve-repro
git clone https://github.com/AlexandreBonaventure/yarn-berry-resolve-repro && cd yarn-berry-resolve-repro && yarn
2a.
node index.js
SUCCESSFULLY RESOLVE2b.
yarn node index.js
ERRORScreenshots
Environment
The text was updated successfully, but these errors were encountered: