Closed SoftwareApe closed 5 years ago
I can do that. Personally, I use yarn, so only the yarn lock file is committed right now. ;-)
Ah, didn't notice that, sorry!
I'll use yarn for most of my projects so I'll keep it that way and close this issue. I do not know any way to keep both in sync. But I'll create a CONTRIBUTING.md file with the required steps for developers. I hope it's okay that way for you.
Running npm install shows a warning that
package-lock.json
should be committed. This way every developer has the same dependency tree.https://stackoverflow.com/a/44210813/3387223