kanso/kanso — Issue #340: Automatically ignore packages/
Author: jhs
Created: 2011-12-21 02:02:41+00:00
State: open

I'm looking at new packages coming into the repository, and some of them include `packages/` plus their dependencies. For example, Max's http://kan.so/packages/details/csv-export does this.

I see that the documentation instructs us to clean that up before publishing, but I'm not sure that's tenable.

Is there any way to make `kanso push` smart about this? Maybe ignore the entire directory?

For what it's worth, to my knowledge, NPM has a few features covering several bases:

* node_modules/* is **not** packed up...
* ...*unless* it is in your package.json under `"bundledDependencies"`, in which case it **is** packed up
* Packages listed in `"dependencies"`are chased down after your package is installed
* Packages listed in `"devDependencies"` are also chased down if npm was given the `--dev` option