News for hackers. Stuff that matters.
Re:Ask HN: Should you check in your dependencies in source c... by nostrademons on Thursday December 14, 2017 @02:56AM (#15920650)
You should ensure that they are somewhere under your organization's direct control and you can do a build without going out to the Internet. It's incredibly dangerous to have your build process depend upon random code pulled from the Internet, as left-pad showed.

Whether that means checking it into your VCS depends on which VCS you use. In general, Git does not handle large binaries well. Check out git-annex though, or use a package manager that lets you setup a local mirror.

Re:Ask HN: Should you check in your dependencies in source c... by jrowley on Friday December 15, 2017 @11:35AM (#15932989)
For those curious, yarn supports a local offline mirror:

https://yarnpkg.com/blog/2016/11/24/offline-mirror/

Re:Ask HN: Should you check in your dependencies in source c... by hjjiehebebe on Friday December 15, 2017 @05:33AM (#15930894)
Yes since dependencies should be immutable given a version number, a backed up file share is suffcient for storage. Nuget allows this. I'm sure maven is similar.