Description
melos
is another tool for managing mono repos. However, I feel that mono_repo
is better when generating readable/debuggable CI config in the least amount of typing. Therefore, we decided to use both melos
and mono_repo
for our repo.
This, unfortunately, poses a problem: melos
needs to be dart pub global activate
-d and ran melos bootstrap
to link local packages using the pubspec_overrides.yaml
file. If not, then analyzing and testing might fail. mono_repo
provides no way of running arbitrary commands at the start of each CI job.
I hope we can either allow defining commands to be run at the start of each job, or add a melos
config to mono_repo.yaml
. When set to true
, it will add a step to activate and bootstrap melos
before any user-defined commands are run.
I have already implemented the second option in a basic way. If accepted I'd be glad to further polish it!