Looking at [pub docs](https://www.dartlang.org/tools/pub/dependencies.html) I think we should instead explore your idea of merging into a user-provided pubspec.yaml template. Otherwise, I'm afraid we'll be chasing pub for a long time.