I'm developing two Polymer components, which contain bower.json files so that their dependencies can be resolved using bower. One of these components is dependent on the other. Everything works fine, except when I bower install
in the component which has a dependency on the other component, it blows away the .git
directory in the other, at which point I have to delete it and re-clone.
I investigated the options available for .bowerrc
on the bower website, but don't see any option related to ignoring directories or files.
I'm tagging this as 'Polymer' related since it may be a flaw in my workflow which other Polymer devs may have run into, but I'm hoping it isn't a limitation of Bower to not ignore such things.