Open seaneagan opened 9 years ago
Yeah, I have concerns with specifying narrow version constraints. You can get into pathological issues with the constraint solver, including being unable to find any versions that satisfy the deps. Not sure what the best solution is.
286 will allow optionally annotating task parameters with them. So it would be convenient to re-export those from
package:grinder/grinder.dart
, otherwise the user will need to add a dependency onunscripted
to their pubspec (with a version that is compatible with grinder's unscripted dependency), and then importpackage:unscripted/unscripted.dart
into theirgrind/tool.dart
script.However, we would probably need to set and maintain a very narrow constraint on
unscripted
. Which means that anyone who wanted to use unscripted for other scripts in their package would have a limited selection of versions, and potentially a difficult time of determining what that selection even is.