Closed davewasmer closed 10 years ago
I'm very interested in this PR. Could we also check for ".bower.json" files first? Those are generated by bower from actual bower.json files or old-format component.json files. This would save a lot of overrides...
Please remove your copyrights and it would be great if you can add a test for it.
@ck86 I made these changes for a project at work, so I can't remove the copyright unfortunately. Test case is on the way.
There you are, let me know if it needs anything else.
I have licensed this plugin under MIT. If you are ok with it when I remove your copyrights then I will merge it.
Unfortunately, my company does not allow open source contributions to be licensed MIT. If you aren't okay with dual-licensing this project as MIT / Apache 2.0, I'd suggest closing this PR.
No sorry.
Packages without bower.json or package.json files were not properly accepting overrides. The lack of either file threw an exception, without checking to see if an override was provided. I added the check, and if an override is provided, a mock empty bower.json structure is returned.