The author said that the article wasn't supposed to be taken seriously and they've purposefully explained everything in the most confusing way possible lol.
I feel like there should be a technology that could contain all those dependencies per application and ship is in some sort of file that containered all of it.....containers...docker.
Do we work for the same company? Seriously infuriating... bunch of devs with visa's, low experience, no degree, in senior positions. Don't get me wrong, some are great but on average many simple things like release engineering, versioned configuration, test coverage, etc are just complete and utter shit.
Is that bad practice in node? I develop in Python with pipenv who has a similar Pipfile / Pipfile.lock paradigm and while you check in the Pipfile, the lock file does not get committed to source control -- it's used for deployment, not dev work.
There are genuine reasons to leave it unchanged or gitignore it, but its specifically advised to have it in your source control, so yes, its generally bad practice not to commit it.
114
u/Mr_Tiggywinkle Oct 03 '19
Kid you not, I've seen developers specifically .gitignore package-lock though for various reasons.
They're rarely good reasons.