Re:I'm a fucking webmaster (2016)
by zepolen on Tuesday May 10, 2022 @03:53PM
(#31331816)
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.
[ Parent
| on HN ]
> 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.