Is there API for Clojars?


#1

I want to add a script like yarn outdated, which is for detecting outdated jars. Any APIs to use?

Will it involve Maven APIs if some jars are hosted on Maven?


#2

https://github.com/xsc/lein-ancient 这个嚒?


#3

Cool but I’m not using Lein. My dependencies are specified in shadow-cljs.edn.


#4

You can also check:

What I do is manage my dependencies using deps.edn, and then just reference the deps file from shadow-cljs.edn.


#5

How do you reference the deps BTW?


#6

Here is the section in the shadow-cljs manual:
https://shadow-cljs.github.io/docs/UsersGuide.html#deps-edn


#7

The Clojars API is documented here: https://github.com/clojars/clojars-web/wiki/Data


#8

Cheers~