DEV Community

Discussion on: Project with mixed NPM and YARN use

Collapse
yoursunny profile image
Junxiao Shi

If it's a library, do not commit lockfile, because your dependents would not respect your lockfile.
If it's an end application, force one package manager only: npmjs.com/package/only-allow

Collapse
thefern profile image
Fernando B 🚀 Author

Nice, that looks like a nice package! Thanks for the suggestion!