Closed feross closed 4 years ago
But isn't this an app? :)
But isn't this an app? :)
I agree that it feels like an app... but it's installed like an npm package. When we publish to npm, the package-lock.json
file is removed so when the user runs npm install learnyounode -g
they're going to get the latest version of packages allowed by package.json
.
On the other hand, maintainers working on learnyounode
will have package-lock.json
present and therefore get different versions than end users.
Ah, didn't know this thanks!
Lockfiles are for apps, not modules :)