This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-02-15
Channels
- # announcements (5)
- # babashka (56)
- # beginners (24)
- # biff (15)
- # calva (7)
- # clj-kondo (12)
- # cljsrn (8)
- # clojure (68)
- # clojure-denmark (1)
- # clojure-europe (55)
- # clojure-norway (4)
- # clojure-spec (9)
- # clojure-uk (2)
- # clojurescript (8)
- # cursive (11)
- # data-science (7)
- # datahike (1)
- # datomic (66)
- # emacs (12)
- # etaoin (3)
- # fulcro (10)
- # graphql (3)
- # hyperfiddle (97)
- # jobs (1)
- # kaocha (8)
- # lsp (3)
- # malli (15)
- # meander (1)
- # off-topic (3)
- # overtone (4)
- # polylith (7)
- # rdf (25)
- # re-frame (4)
- # reagent (14)
- # remote-jobs (1)
- # shadow-cljs (126)
- # sql (30)
- # vscode (3)
- # xtdb (8)
I've think I've seen it mentioned a few times that polylith does not "support" cljs (ie. https://clojurians.slack.com/archives/C013B7MQHJQ/p1669224982409209?thread_ts=1669048011.403939&cid=C013B7MQHJQ). Am I correct in thinking that "support" means the poly tool doesn't integrate with it? Like running cljs tests, for example? Or is there something about cljs/cljc that breaks it altogether?
The poly
tool doesn't know what to do with .cljs
-- I believe it understands .cljc
(although I haven't confirmed that).
In theory, with the recently-added feature to support external test runners, .cljs
tests could be found/run if you wrote an appropriate test runner. However, you still wouldn't get any component dependency checks for .cljs
files since poly
doesn't understand ClojureScript.
Also, can you use the poly tool to convert an existing project, or is that something you need to do manually?
Convert what sort of existing project? There's a migration tool from earlier versions of Polylith. There are guidelines in the docs for migrating a non-Polylith project to Polylith. I can't imagine how an arbitrary project could be automatically migrated tho'...
> migrating a non-Polylith project to Polylith ^ This. I must have missed the guide in the docs, I'll check again. Thanks!