I made a small tool that removes transitive dependencies in the .yaml
file. This essentially cleans the environment. It doesnt remove unused dependencies at this stage yet.
Maybe its helpful to you or others. Also im happy for any feedback and ideas.