Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

polymer:gh does not include webcomponents in the devDependencies #61

Closed
ragiragi opened this issue Aug 4, 2014 · 1 comment
Closed

Comments

@ragiragi
Copy link

ragiragi commented Aug 4, 2014

After running yo polymer:gh, webcomponents in the devDependencies are not included.

I configure 3rd-party webcomponents(ex. github-ribbon) in bower devDependencies for using it in my documentation page.

$ bower install github-ribbon --save-dev

<!-- demo.html -->
<link rel="import" href="../github-ribbon/src/github-ribbon.html">
...
<github-ribbon user="ragiragi" repo="my-polymer-rating" color="orange" position="right"></github-ribbon>

then when I run polymer generator to seed github-pages, I can't find any dev-deps in the gh-pages branch.

How can I fix it?

@robdodson robdodson added this to the 0.4.0 (Curious Cassowary) milestone Aug 4, 2014
@robdodson
Copy link
Contributor

This is a limitation of bower. It won't install devDependencies of dependencies. It will only install devDependencies at the project level. The short term fix is to add github-ribbon as a dependency of your project. Unfortunately the longer term fix is to raise an issue with bower.

MasterAM pushed a commit to MasterAM/generator-polymer that referenced this issue Jan 15, 2015
MasterAM pushed a commit to MasterAM/generator-polymer that referenced this issue Jan 30, 2015
robdodson added a commit that referenced this issue Feb 5, 2015
Added the ability to include devDependencies in GitHub Pages. Fixes #61
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants