Thanks for the awesome generator! I have been using it more of late and it is proving to be a super useful tool, so thanks again!
I have been specifically using yo polymer:seed and found that the glob negation that is happening ( https://github.com/yeoman/generator-polymer/blob/master/seed/index.js#L86) isn't filtering out the proper paths. Upon closer inspection it seems that in v5 of node-glob the negation has to be manually turned on with a nonegate: true flag passed to the globOptions prop of fs.copy.
As I was digging around I also found that they recommended using the ignore property of globOptions instead (https://github.com/isaacs/node-glob#comments-and-negation). So I wrote a quick PR to address the bug (following the ignore prop suggestion) and added a test to verify.
Thanks for the awesome generator! I have been using it more of late and it is proving to be a super useful tool, so thanks again!
I have been specifically using
yo polymer:seed
and found that the glob negation that is happening ( https://github.com/yeoman/generator-polymer/blob/master/seed/index.js#L86) isn't filtering out the proper paths. Upon closer inspection it seems that in v5 ofnode-glob
the negation has to be manually turned on with anonegate: true
flag passed to theglobOptions
prop offs.copy
.As I was digging around I also found that they recommended using the
ignore
property ofglobOptions
instead (https://github.com/isaacs/node-glob#comments-and-negation). So I wrote a quick PR to address the bug (following theignore
prop suggestion) and added a test to verify.