Fork me on GitHub

file me under monorepo user probably pushing the boundaries of expected behavior.


I’m currently exploring replacing lein-modules for our mid-size monorepo for a couple reasons.


couldn't we have a placeholder deps.edn in the root of a monorepo and subdeps consider that first if present for :local/root?


I did wonder if relative paths would be a different key.


Chatted about this with a coworker some and I think we’re gonna take a swing at adding a resolver type which patches up paths, everything else seeming pretty janky in comparison. We’ll see how that goes.

Alex Miller (Clojure team)18:09:37

what do you mean by a resolver type?


Extension / coordinate type.

Alex Miller (Clojure team)19:09:27

I feel like you’re going down a path that is a waste of time

Alex Miller (Clojure team)19:09:09

Which you’re welcome to do, but there is no support for installing your own extensions in clj, so you’ll only be able to use this with some frankensetup


Will there ever be support for custom extensions?

Alex Miller (Clojure team)19:09:09

I mean, you can use them now if you use tools.deps.alpha as a library

Alex Miller (Clojure team)19:09:55

it’s just yet another layer of installation complexity when it comes to clj


I suppose it would require t.d.a to orchestrate itself in order to run again with additional dependencies. Probably not completely horrible if the context allows add-lib.