-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Improve yarn detection #3453
Improve yarn detection #3453
Conversation
After pushing I thought of the case where |
I think it wouldn't hurt to have an additional check |
Codecov Report
@@ Coverage Diff @@
## master #3453 +/- ##
==========================================
- Coverage 37.15% 37.14% -0.02%
==========================================
Files 465 465
Lines 10316 10320 +4
Branches 925 919 -6
==========================================
Hits 3833 3833
- Misses 5933 5963 +30
+ Partials 550 524 -26
Continue to review full report at Codecov.
|
I think we should default to using We're bound to get issues with these edge cases given the number of users we have. |
I changed the function to behave as specified in #3453 (comment), defaulting to |
This looks mergable, what's wrong with the CI @Hypnosphi ? |
Connection timeout, I've restarted |
Issue: Currently,
getstorybook
uses yarn when it's available on the system even in cases wherenpm
is used in the current project, causing errors. (closes #3384)What I did
I changed the condition for using
yarn
from checkingyarn --version
to looking for ayarn.lock
file in the current project.How to test