hoodiehq-archive / my-first-hoodie

⛔ deprecated
Other
157 stars 35 forks source link

feat(package): bundle dependencies for faster and deterministic installs #76

Closed boennemann closed 9 years ago

boennemann commented 9 years ago

This causes the dependencies to be bundled into the tarball by npm on publish time. The users npm doesn't have to install dependencies one-by-one then.

I think this should make installs faster and on top of the shrinkwrap.json it's the way to make this template deterministic in so far that installing a certain version of "my-first-hoodie" gives you exactly the same thing every single time.

I've just published a preversion using bundleDependencies. You can test it using this command:

hoodie new myApp -t my-first-hoodie@3.1.1-bundled-dependencies.

gr2m commented 9 years ago

wow, that looks ace!! :ok_hand: let's do it

gr2m commented 9 years ago

tested, and works