Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bower.json violates bower spec with multiple files of same type in "main" #4015

Closed
jfillmore opened this issue Sep 28, 2016 · 2 comments
Closed
Labels

Comments

@jfillmore
Copy link

Polymer (all recent versions) has three html files in the "main" section of bower.json. While this doesn't cause any explicit installation errors (e.g. bower's return status code is still 0) it pollutes the output, requiring build processes to explicitly ignore these warnings.

For example, using bower 1.7.9:

bower polymer#=1.5.0      invalid-meta The "main" field has to contain only 1 file per filetype; found multiple .html files: ["polymer.html","polymer-mini.html","polymer-micro.html"]

This issue was also reported elsewhere on similar projects, but note that one user reports "Many Polymer elements do not comply with "single main" guideline (iron-behavior, etc). We use multiple main entries in catalog to display docs for multiple files."

More information on the bower spec for "main":

Is there a possibility this will be changed to conform to Bower's spec, or do we need to live with this quirk?

@sorvell sorvell added the 1.x label Feb 24, 2017
@BorntraegerMarc
Copy link

is there an update on this?

@TimvdLippe
Copy link
Contributor

This has been fixed:

"polymer.html"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants