Workiva / dependency_validator

A tool to help you find missing, under-promoted, over-promoted, and unused dependencies.
Other
56 stars 18 forks source link

Support for mono repo #119

Open SAGARSURI opened 1 month ago

SAGARSURI commented 1 month ago

Hey, I have a mono-repo setup with around 100+ local packages. Can you provide a solution on how to have a single dart_dependency_validator.yaml across the project?

devilbuddy commented 1 month ago

Just being able to pass exclude/ignore on command line instead of via per-package yaml configuration would go a long way.

matthewnitschke-wk commented 1 month ago

Configuring options via cli args seems like a good solution to this, but I can't commit to any timeline on when this could be implemented. I'd be happy to review something if you'd like to take a stab at what that would look like

One immediate workaround could be to symlink to a root dart_dependency_validator.yaml file from within each of the nested local packages. That way updates to the root, would automatically be reflected in each of the nested packages