polylith

seancorfield 2026-03-22T19:31:45.140399Z

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 :build-defaults and :target-defaults be supported in shadow-cljs.edn? (yes, there's a note in the code for this) done (via Claude) • should there be a way to force testing via cljs-test-runner even when shadow-cljs.edn is present? (yes, in my opinion) see the new :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 JAVA_CMD would probably be good). added 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).

1