Awesome!

On Saturday, September 20, 2014 5:59:26 AM UTC-7, Ivan Nikulin wrote:
>
> Packages in npm are bloated with stuff which you will never ever use, 
> like build files and different kinds of test data. Guys from npm provided 
> us with .npmignore files, but seems like almost no one uses it. Please, 
> stop publishing your development stuff to npm. If I would like to run 
> your tests and start hacking on your project I will do git clone not npm 
> install. Once our project has increased in size in 13Mb and this is just 
> because of single test data file which was used by one of our dependencies 
> (true story). Poor testing farm...
>
> So:
>
>    - If you spread installed packages across multiple machines in your 
>    environment *then bloated dependencies make you unhappy*.
>    - If you get your local repo synced (e.g using Dropbox or Google 
>    Drive) *then bloated dependencies make you unhappy* (it takes so 
>    goddamn long to sync a big amount of smal useless files).
>    - If you distribute your project to end-user not via npm *then bloated 
>    dependencies make you unhappy*.
>    - If you are a good person who cares about others *then bloated 
>    dependencies make you unhappy*. Just imagine how much useless stuff 
>    which will never be used by anyone is fetched, served and stored by npm 
> and 
>    e.g. TravisCI. Imagine how thousands of small useless files impacts 
>    installation time of your package.
>
> *dmn <https://github.com/inikulin/dmn>* (*"dependency minifier" or 
> "damn missing .npmignore" or "dmn is a meaningless name"*) - is a command 
> line tool which will help you deal with bloated dependencies. It can clean 
> your node_modulesfrom stuff which you will never need. And it can 
> gracefully generate .npmignore file for your project.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/7e80ed42-e630-41c7-aa3d-7196b9be9cde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to