Fork me on GitHub
#polylith
<
2024-03-02
>
mafcocinco19:03:55

I just discovered polylith this week and am very impressed. Would like to use it in my next greenfield project (or potentially move an existing project over). The one thing that I have seen discussed by have not been able to find a good conical example is a ClojureScript project (like the RealWorldProjectApp in the tutorial). Does anyone have any resources they could send my way? Specifically, I’m interested in seeing cljc components that are shared between a cljs and clj base/project. Additionally, any help with build.clj would be great, specifically (if it is even the correct place) to understand how shadow-cljs is incorporated into polylith workspace and projects.

furkan3ayraktar20:03:47

The poly tool does not support ClojureScript projects yet. This means you can still apply Polylith principles to your ClojureScript projects; however, you’ll not get the CLI tool support. You can see the relevant discussion https://github.com/polyfy/polylith/discussions/301. We have a Polylith workspace at work for a NodeJS targeting ClojureScript application. We manually check the workspace to ensure the Polylith principles. ClojureScript support for the poly tool is the next thing on the table for the Polylith team. However, we cannot give a timeline when it will be available.

mafcocinco21:03:04

@U2BDZ9JG3 Thank you for the update. That thread was very informative. I will keep an eye for when ClojureScript support is released!

👍 1