-
-
Notifications
You must be signed in to change notification settings - Fork 323
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
Why don't we include yarn.lock? #123
Comments
@zirho The only reason for this is that people might not use |
I see. I think including the I guess adding it to |
@zirho I don't like the idea of including generated files of various tools into source code. |
I have a different opinion on that, but it would be more like preference. Look at these most popular Open-source projects. My reasoning is this. If you decided to support yarn package manager, So if you insist not to include yarn.lock, you would want to drop the yarn instruction in README.md because anyone who makes a PR with yarn installed setup, will probably include yarn.lock in their commits. |
yarn.lock is not needed for yarn. This file only guarantee package versions in production. I'm sure it have it's role in development too. Including yarn lockfile is recommended by yarn for good reason. You can at every time check if you are using different deps and if you fall back to ones where everything works, you can blame yourself cleanly.. |
@langpavel Thanks for clarifications Pavel. Do you think it is a good decision to include |
@zirho Lets try it. I will try to include |
@zirho @langpavel Okay, I took first look at including Working Greenkeeper is more important than |
Is there any reason for that?
The text was updated successfully, but these errors were encountered: