Closed kdabir closed 8 years ago
I have already fixed the bower.json
's ignore
of lunr.js and can send a pull request. Few things I need to confirm:
component.json
be removed as now bower recommends using bower.json
or is it there for component.io (but I could not found lunr listed there)?Found one interesting workaround. Using bower-installer, which only loads main file, one can solve problem for all bower components.
I personally like having bower install everything - that way I can add everything to source control locally. If the project gets deleted on github, I still have everything I need to continue with it. It's also the common behavior for bower so I would say this is a non issue. Cool to know about bower-installer!
@tomgruner Well, ideally for that we should have internal mirrors/repos (nexus/artifactory types..), instead of bloating our repo.
But Anyways, I have moved on and use only npm for dependencies these days. So this is not an issue for me anymore. Closing this.
If I install lunr.js using bower, I get too many files into my
bower_components/lunr.js
. Typically, an app using lunr.js won't need all these files. Why is this problem because bower recommends to check-in the bower_components into vcs, which essentially means I am checking in whole lunr.js repo into my project.What I should ideally get from bower install is:
What I currently get is: