Anders Holmgren
2015-06-24 03:20:55 UTC
As part of adding support for hosted packages
to https://pub.dartlang.org/packages/jefe I need to be able to determine
which packages a particular package exports so that I can set narrower
dependency constraints on the pubspec
For example mojito exports many shelf packages. Currently I am generating
these dependencies like
shelf_auth: '^0.6.1'
shelf_auth_session: '^0.4.2'
shelf_bind: '^0.8.1'
shelf_exception_handler: '^0.1.0'
shelf_oauth: '^0.6.1'
shelf_path: '^0.1.3'
shelf_proxy: '^0.1.0+2'
shelf_rest: '^0.2.0-beta.4'
shelf_route: '^0.13.0-beta.3'
shelf_static: '^0.2.2'
but these should be like
shelf_auth: '>=0.6.1 <0.6.2'
etc
So I need some what to tell that mojito exports shelf_auth. Can analyzer
tell me that? What's the best approach?
cheers
Anders
to https://pub.dartlang.org/packages/jefe I need to be able to determine
which packages a particular package exports so that I can set narrower
dependency constraints on the pubspec
For example mojito exports many shelf packages. Currently I am generating
these dependencies like
shelf_auth: '^0.6.1'
shelf_auth_session: '^0.4.2'
shelf_bind: '^0.8.1'
shelf_exception_handler: '^0.1.0'
shelf_oauth: '^0.6.1'
shelf_path: '^0.1.3'
shelf_proxy: '^0.1.0+2'
shelf_rest: '^0.2.0-beta.4'
shelf_route: '^0.13.0-beta.3'
shelf_static: '^0.2.2'
but these should be like
shelf_auth: '>=0.6.1 <0.6.2'
etc
So I need some what to tell that mojito exports shelf_auth. Can analyzer
tell me that? What's the best approach?
cheers
Anders
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.