Live data from Hacker News

We check our node_modules folder into source control

jackfranklin.co.uk

1–10 of 241 posts

Re: We check our node_modules folder into source control

#3
This very week I was dealing with my artifacts exploding in size because AWS got 429s from GitHub. Then Composer pulled from source and there were so many extra files and SCM folders we exceeded the max artifact size.

Another idea is to host your own package cache. That would be my preference where SCM size prohibits checking in dependencies themselves.

Re: We check our node_modules folder into source control

#8
post #6

> Once you check your node_modules in, there's no need to run an install step before you can get up and running on the codebase Is this really true for packages with pre/post install scripts?

No it's not. They are talking about their personal preference and it has nothing to do with real life employers.
Post reply on HN