Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

web_components as a dependency #1164

Closed
vicb opened this issue Jun 18, 2014 · 5 comments
Closed

web_components as a dependency #1164

vicb opened this issue Jun 18, 2014 · 5 comments

Comments

@vicb
Copy link
Contributor

vicb commented Jun 18, 2014

I'm wondering if "web_components" shouldn't be listed in the dev_dependencies rather than dependencies in the pubspec.yaml.

We're only using it for tests / examples.

@kemallette
Copy link
Contributor

Yes please! Alternatively, loosening the constraints if possible would be very helpful. Today, I tried experimenting with the new paper elements lib and could not install due to the web_components dependency.

Pub get produced:

Pub get failed, [1] Resolving dependencies... (2.2s)
Package web_components has no versions that match <empty> derived from:
- angular 0.12.0 depends on version >=0.3.3 <0.4.0
- core_elements 0.0.6 depends on version >=0.4.0 <0.5.0

@michilu
Copy link
Contributor

michilu commented Aug 7, 2014

I got an inconsistence of dependency when use AngularDart with paper_elements.
paper_elements: https://github.com/dart-lang/paper-elements

Package web_components has no versions that match <empty> derived from:
- angular 0.13.0 depends on version >=0.3.3 <0.4.0
- core_elements 0.0.6 depends on version >=0.4.0 <0.5.0

@vicb
Copy link
Contributor Author

vicb commented Aug 7, 2014

Actually WebPlatform makes calls to platform.js so I think that having web_components as a dependency makes more sense.

We should probably probably have a looser constraint though.

If you need a newer version, you can override this dependency in your pubspec.yzml as a workaround for now.

@vicb vicb closed this as completed Aug 7, 2014
@michilu
Copy link
Contributor

michilu commented Aug 7, 2014

@vicb OK, Thanks! I will try it.

@vicb
Copy link
Contributor Author

vicb commented Aug 7, 2014

@michilu FYI, @jbdeboer has been working on improving the support for custom components (see the paper example) and @vsavkin is also looking at some problems with have with the shims for browsers that do no support web components.
Don't expect everything to work flawlessly for now but things are improving.

dsalsbury pushed a commit to dsalsbury/angular.dart that referenced this issue Aug 16, 2014
vicb added a commit to vicb/angular.dart that referenced this issue Aug 19, 2014
…ncies in the pubspec.yaml"

This reverts commit 51ee50a.
vicb added a commit to vicb/angular.dart that referenced this issue Aug 26, 2014
…ncies in the pubspec.yaml"

This reverts commit 51ee50a.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants