-
Notifications
You must be signed in to change notification settings - Fork 14
Consistency "PolymerElements" vs "polymerelements" in bower.json for webjars usage #47
Description
This ticket was first created by me in the PolymerElements/app-layout#293 and @abdonrd kindly ask me if I can created it in tedium as well, which seems to be a good place for it.
Description
Many PolymerElements github projects like the app-layout
element is using "polymerelements" in its bower.json file to reference dependecies.
Like: polymerelements/iron-flex-layout#^1.0.0
While other popular Polymer elements like paper-checkbox
, paper-button
use "PolymerElements"
Like PolymerElements/iron-flex-layout#^1.0.0
Other Polymer elements use a mixture like app-route
I assume this does not matter in the JavaScript and Bower world. But I'm trying to figure out if it is possible to use Polymer-Elements in Java/JVM based micro services. In the Java world dependencies are pulled together from so called "Maven-Repositories".
There is a very nice effort to bridge the Bower/NPM things with Maven-Repositories in the project http://www.webjars.org/ . Webjars.org works fairly well for pure javascript dependencies, but less well for PolymerElements (and they have many transitive dependencies by nature). Many PolymerElements artifacts appear twice with the lower and upper case version of the github name "PolymerElements".
mygithub.libinneed.workers.dev-PolymerElements-iron-flex-layout
mygithub.libinneed.workers.dev-polymerelements-iron-flex-layout
This is an issue for JVM based software where letter case matters.
Expected outcome
It would be nice if all PolymerElements would consistently use "PolymerElements" because this is the github name of the project.
Steps to reproduce
Look at the bower.json files of the various projects
- https://github.com/PolymerElements/paper-checkbox/blob/master/bower.json
- https://github.com/PolymerElements/paper-button/blob/master/bower.json
- https://github.com/PolymerElements/app-layout/blob/master/bower.json
- https://github.com/PolymerElements/app-route/blob/master/bower.json
- https://github.com/PolymerElements/iron-dropdown/blob/master/bower.json
- ...
Browsers Affected
This does not affect bowsers. This affects Java build system like Maven, Gradle, SBT but seems to be no problem for JavaScript users that use Bower.