Closed andrewchilds closed 8 years ago
Hey @andrewchilds, something I've been meaning to ask you is why include ./node_modules
in the repo instead of just doing an npm install
on checkout?
Hey @garnold - bundling node_modules is the safest and easiest way to lock down dependencies and sub-dependencies. The other option is to use npm shrinkwrap
- I'm sure that's the npm-approved approach, but I haven't looked into it yet. Otherwise even if you freeze your dependency versions, some dependency will not have frozen sub-dependencies (or sub-sub-dependencies), and eventually something in there will break due to some incompatibility.
Thanks @andrewchilds, makes sense. And I just saw your pull for shrinkwrap
.
Thanks @andrewchilds, makes sense. And I just saw your pull for shrinkwrap
.
Yeah after I said that, I messed up the package.json
in the 1.0 release so it was a good opportunity to give shrinkwrap
a try :sweat_smile:
Upgrades Overcast to use the DigitalOcean API v2.
Requires a
DIGITALOCEAN_API_TOKEN
variable to be set: