cljdoc

hkjels 2023-03-23T09:23:56.142119Z

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?

hkjels 2023-03-23T11:59:25.891049Z

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

lread 2023-03-23T13:04:53.950809Z

Hi @hkjels! 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.

👍 1
hkjels 2023-03-23T13:54:12.788979Z

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

lread 2023-03-23T13:59:22.577979Z

Ah. Is that what reagent does?

lread 2023-03-23T16:07:06.982689Z

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