Basic Shadow-cljs support has now been added! Use :git/sha "69d4ee7ee448d55b9bf7e60a7bdea4852cdef639" for the latest Shadow-cljs and improved cljs-test-runner support.
The README has basic instructions. I'll need help improving them.
There are several open questions to resolve / missing features:
• should done (via Claude)
• :build-defaults and :target-defaults be supported in shadow-cljs.edn? (yes, there's a note in the code for this)should there be a way to force testing via see the new cljs-test-runner even when shadow-cljs.edn is present? (yes, in my opinion):cljs-test-runner test setting
• currently no way to pass aliases to the shadow-cljs compile process (and this probably needs a way to specify -A vs -M?)
• can shadow-cljs test runs be limited to just tests in bricks that changed? (doesn't seem to be)
• currently no way to override how to run Shadow-cljs (`SHADOW_CMD` env var to match added JAVA_CMD would probably be good).SHADOW_CMD env var, defaults to npx shadow-cljs
I have no experience with Shadow-cljs so I really need some help here from folks using Polylith who are wanting to run tests with Shadow-cljs!!
I'm fairly comfortable with the cljs-test-runner approach (as I've used that on my projects that are .cljc-based).