4 ms·
a big problem with npm is, that a lot of package authors don't use the .npmignore [0] which leads to EVERYONE downloading your source/, test/ and docs/ folder e
by LaxisB 10y ago
a big problem with npm is, that a lot of package authors don't use the .npmignore [0] which leads to EVERYONE downloading your source/, test/ and docs/ folder even if only that one file in build/ is needed.
That, combined with the micromodule mindset, leads to insanity
[0]: https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package https://docs.npmjs.com/misc/developers#keeping-files-out-of-...
- pdimitar 10y agoThat's a very bad way of handling it. When will people learn that you can't rely on everyone being a good citizen? Is it really so hard to realize that you need to make your technology sane from the very beginning?
- pdonorio 10y agoFear not. We have a tool for that in bower https://github.com/blittle/bower-installer https://github.com/blittle/bower-installer, so I guess there will be one very similar in npm too. :)