polylith

seancorfield 2026-03-23T18:15:58.554619Z

Another day, another :git/sha "f8765e234eaa37f6132f6cc122c17070ca0c09d1" to test! For reasons, Shadow-cljs must be run via the JVM (with a classpath constructed by Polylith) in order for it to see all bricks' tests. That means that Shadow-cljs must be added as a :test dependency in the project's deps.edn file (same as for using Olical's cljs-test-runner). The SHADOW_CMD env var stuff has been removed. In addition, thanks to help from @thheller, this now restricts testing to just the namespaces that have changed / need testing, rather than the entire project! I need to do some testing to see if / how this interacts with telling Shadow-cljs to use :deps true or :deps {:aliases [...]}

❤️ 2
seancorfield 2026-03-23T18:25:11.752539Z

I'll probably cut the v0.8.0 release tomorrow, in case anyone has some last minute feedback on this. I expect I'll continue to enhance all this moving forward as more Polylith folks start using -- and testing -- ClojureScript in their projects!