google / mono_repo.dart

Allows easy management of repositories with multiple Dart packages
https://pub.dev/packages/mono_repo
BSD 3-Clause "New" or "Revised" License
159 stars 32 forks source link

Add a way to specify dependency versions for all packages in mono_repo.yaml. #456

Open ykmnkmi opened 1 year ago

ykmnkmi commented 1 year ago

To use with mono_repo pub get and mono_repo pub upgrade.

jakemac53 commented 1 year ago

Just to try and fill out how this feature might work, here is one idea:

ykmnkmi commented 1 year ago

Not only dependenies from pub.dev, but also git dependencies with certain commits. Currently, I am doing this manually, and it's not the first time.

I'm not sure where this feature would be most suitable, maybe pub feature: mono_repo pub upgrade --from-file=../root_pubspec.yaml.

jakemac53 commented 1 year ago

The process I described above could work fine for git, path, or pub dependencies. It would just blindly copy the value, which could be anything.