-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
add yarn.lock to .gitignore #2014
Conversation
IMO, the actual fix is adding the |
Yes, @yordis is right. Check out corresponding section in yarn documentation. https://yarnpkg.com/en/docs/yarn-lock#toc-check-into-source-control |
It is the right thing to do for apps but not for us (tools) because we want any problems with downstream deps to be caught by our CI.
I was about to merge it, but then realized in this case There's likely some way to run yarn without creating a lockfile. That's what you should do when working on CRA. |
@gaearon To install without generating a I'd also argue that we should consider adding |
For CRA development, I want the latest versions so when deps introduce bugs, we can quickly see and fix them. |
I'm often cleaning my node_modules and reinstall it with yarn, and i notice that it always creates a new yarn.lock file. I think we should decide wether we want yarn.lock on the root of this project or not.
If we want to add it it, i'll close this and do #2012 instead.