polylith 2024-06-24

Is there a nice way to track down these errors ?

Error 107: Missing components in the frontend-web project for these interfaces: image-tools
It should not be needed in frontend-web, I am guessing its because its required by something else is there a way to get a tree or more information on why it thinks its missing ?

If frontend-web is used (:required) by a brick in the project, then it will complain with this error. If you execute poly deps brick:image-tools project:frontend-web where image-tools is the name of the component that implements the image-tools (often the same name as the interface) then you will see which brick depends on that component.

The frontend-web project doesn't contain the 'image-tools' brick.
That's what i get the component is used by other components how ever

You can run poly ws out:oliver.edn end DM me the file, and I will have a look.

Went to bed last night I think i figured this out though    used by      <  image-tools  >  uses
  -----------                     ----
  diagrams                            
I am getting my error running poly tests, I think its because diagrams is mixed clj and cljc, the cljc files are used in frontend-web but the frontend-web tests are executing the clj test for that component but its not included in the deps.edn I guess I need poly/image-tools in my extra deps only for the tests I will give that a try.

unfortunately adding it to the test alias did not help, I will have a bit more of a play as I recon its the diagram component which has the mixed code causing issues.