Fork me on GitHub
#cljdoc
<
2023-03-23
>
hkjels09:03:56

So; I'm back at it, trying to make cljdoc build https://github.com/dnv-opensource/reagent-flow The reason it has been failing is that it's not seeing a javascript dependency, which makes sense, because npm install is never run. But if I try to use something like frontend-maven-plugin , I get back from Clojars that the pom-file is invalid. Is there currently any way of publishing a Clojurescript library that wraps a Javascript library that will work with cljdoc?

hkjels11:03:25

The reagent folks have made it work, so I'll dig in and see what they've done I guess

lread13:03:53

Hi @U0B1SDL67! Not having done much ClojureScript, I'm not sure how library authors specify npm deps. Once we understand, a brief mention (and/or link) in the cljdoc library author guide might be helpful.

👍 2
hkjels13:03:12

Looks like lein-cljsbuild maybe has a better story for creating jar's with javascript than uberdeps which I've used on this project.

lread13:03:22

Ah. Is that what reagent does?

lread16:03:06

A good chat about cljdoc love and current pain points from clj-commons https://clojurians.slack.com/archives/CE1A21MPF/p1679521769569759