Find newer versions of your dependencies in your deps.edn
file using the Clojure CLI.
You can try it out easily with this one liner:
$ clojure -Sdeps '{:deps {olical/depot {:mvn/version "1.0.1"}}}' -m depot.outdated.main
org.clojure/clojure: 1.8.0 => 1.9.0
I'd recommend adding depot as an alias in your own deps.edn
file, this will allow it to check itself for updates:
Note: Replace the ellipsis with the current version shown above.
{:deps {}
:aliases {:outdated {:extra-deps {olical/depot {:mvn/version "..."}}
:main-opts ["-m" "depot.outdated.main"]}}}
$ clojure -Aoutdated -a outdated
olical/depot: ... => ...
This project is inspired by lein-ancient, it relies on version-clj (by the same author, xsc) for parsing and comparison of version numbers.
Here's a few things I'd like to add some day, feel free to discuss or suggest more:
- Searching for dependencies.
deps.edn
manipulation like npm withpackage.json
.
Find the full unlicense in the UNLICENSE
file, but here's a snippet.
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
Do what you want. Learn as much as you can. Unlicense more software.