volojs / volo

Create front end projects from templates, add dependencies, and automate the resulting projects
https://volojs.github.io/
Other
1.41k stars 100 forks source link

.voloignore for per-package removal #153

Closed phated closed 11 years ago

phated commented 11 years ago

Would be nice for projects to specify their own ignored directories and files, could this easily be done with a .voloignore file?

jdalton commented 11 years ago

Or via something like an ignore property of the volo object in the package.json similar to the ignore key in the bower.json file.

jrburke commented 11 years ago

I prefer a volo package.json property, putting this in for the next release.

jrburke commented 11 years ago

Fixed in 347b79202ffa0085b153963ac0ea9356789023d4

Did some work on a plane and did not have access to github issues area, so could not mention the fix number in the commit. Documentation here:

https://github.com/volojs/volo/wiki/Library-best-practices#wiki-voloignore

jdalton commented 11 years ago

Will this allow wildcard matches like "*.custom.*" or ".*" or "*.md"?

jrburke commented 11 years ago

It currently does not, but it could. Is it useful to do so? My impression was that it was more about removing things from the top level, like tests. But I am also assuming a particular style of repo layout.

jdalton commented 11 years ago

It's how normal .ignore and .npmigore and the bower.json "ignore" entry work I believe.