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 dependencies #866

Closed
techniq opened this issue Jun 23, 2015 · 4 comments
Closed

Bower dependencies #866

techniq opened this issue Jun 23, 2015 · 4 comments

Comments

@techniq
Copy link

techniq commented Jun 23, 2015

I was looking to use jspm to install all of the Polymer iron-elements using jspm install github:PolymerElements/iron-elements but it appears jspm does not read the dependencies of bower.json.

Is the recommended way to install Polymer elements with jspm to use the jspm-bower-endpoint or install each individually (jspm install github:PolymerElements/iron-ajax github:PolymerElements/iron-ajax ...) ?

@guybedford
Copy link
Member

Having the dependencies being automatically installed would only be useful as peerDependencies since each package has its own dependency namespace to avoid conflicts for normal dependencies.

I'm hoping to add the peerDependencies feature really soon, but in the mean time I guess individual installs would be the way to go here.

There isn't anything in the registry currently at https://github.com/jspm/registry/ for these, so let me know how they work out and if we need to do any overrides I can help. I'd also suggest looking at other registry entries by example to see how they work.

@techniq
Copy link
Author

techniq commented Jun 24, 2015

@guybedford I'll experiment and let you know. Not sure I'll have much success due to Polymer's reliance on HTML imports

@techniq techniq closed this as completed Jun 24, 2015
@safizn
Copy link

safizn commented Jul 18, 2016

@techniq Old question, but did you succeed with installing the all elements with one command ? thanks

@techniq
Copy link
Author

techniq commented Jul 18, 2016

@myuseringithub I was not and last I looked it still wasn't possible.

Polymer/polymer#1133

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

No branches or pull requests

3 participants