Hacker News new | ask | show | jobs
by zepolen 1501 days ago
No one said committing to the code repo, deployment repos are a thing and if you're not revisioning your deployments then you are screwed anyway.
1 comments

> No one said committing to the code repo

Yes, you did. Quoting: "...Anyone not committing the entire node_modules to their repo..."

> you're not revisioning your deployments

That's what I'm saying, quoting: "...If you want to be safe if NPM goes down, what you need is to keep an archive of built "binary" releases, either zip files, docker images, or whatever..."

Using Git/SVN/etc repository for this (which is what I kind of get from your responses) is just using the wrong tool.