Skip to content
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

fix(resolutions): Warn instead of erroring if unmatched dependency matches resolutions with glob support #6033

Merged
merged 1 commit into from
Jul 6, 2018

Conversation

ramasilveyra
Copy link
Contributor

@ramasilveyra ramasilveyra commented Jun 25, 2018

Summary

PR #4835 fixed yarn check while using simple resolutions keys (like repeat-string).

This PR fixes yarn check while using resolutions keys with globs (like **/repeat-string) or dep trees (like pad-left/repeat-string).

Test plan

New test case added.

@ramasilveyra
Copy link
Contributor Author

ramasilveyra commented Jun 26, 2018

It looks like unrelated tests to this change are failing only in AppVeyor node 8 due to timeouts, can you trigger again AppVeyor please? Otherwise I can run git commit --amend --no-edit && git push fork fix/check-resolution -f and everything will start again.

After running git commit --amend --no-edit && git push fork fix/check-resolution -f 2 times, AppVeyor tests are passing 🎉.

…tches resolutions with glob support

Summary

PR yarnpkg#4835 fixed `yarn check` while using simple resolutions keys.

This PR fixes `yarn check` while using resolutions keys with globs or dep trees.

Test plan

New test case added.
@arcanis
Copy link
Member

arcanis commented Jul 6, 2018

Good for me! Thanks! :)

@arcanis arcanis merged commit ea5f237 into yarnpkg:master Jul 6, 2018
@ramasilveyra ramasilveyra deleted the fix/check-resolution branch July 6, 2018 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants