Fork me on GitHub
#tools-deps
<
2018-09-18
>
arrdem00:09:23

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

arrdem00:09:48

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

richiardiandrea01:09:33

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

dominicm04:09:59

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

arrdem17:09:29

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?

arrdem18:09:59

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

dominicm19:09:06

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

dominicm20:09:10

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.