Fork me on GitHub
#tools-deps
<
2018-06-14
>
bhauman00:06:52

I'm also betting that defaulting to "app" rather than core doesn't work for you either

seancorfield00:06:35

People should be explicit about their project namespace.

bhauman00:06:09

and my point of view is that the name in the template can be more general than a project name, and it can be helpful to let folks who write templates do what they want.

bhauman00:06:33

the clj generators come in handy there

hagmonk03:06:37

Just a heads up, I pushed a new https://github.com/hagmonk/depify that now includes the ability to read project.clj from stdin, as well as interpreting output from lein pprint

hagmonk20:06:35

Hey so riddle me this ... has any thought been given to using deps.edn in the context of a monorepo?

hagmonk20:06:04

I’m not sure it’s currently possible to supply a path to a directory inside a larger git repo - perhaps I just missed that feature?

seancorfield21:06:50

We're working with a monorepo at work and slowly figuring that out. Not a priority tho' so progress is a bit slow.

Alex Miller (Clojure team)21:06:35

as a git dep or a local dep?

Alex Miller (Clojure team)21:06:01

there are some ways with :deps/root etc to do some of this but also some known issues

seancorfield21:06:26

I'm working with local deps so far.

hagmonk21:06:38

I guess in the context of the monorepo itself, you would use :deps/root to point at other resources in the monorepo ... but clients outside the monorepo have no way to point at a subfolder’s deps.edn

hagmonk21:06:54

AFAICT, there’s no way I can depend on that deps.edn file, because it’s not at the root of the repo

kenny21:06:23

@hagmonk Setting :deps/root to "figwheel-main" doesn't work?

hagmonk21:06:59

Oh, perhaps that is the thing I’m missing!

kenny21:06:18

{:git/url   ""
 :sha       "6368c0e49108fc7a8ec99df05831ff289123f1a5"
 :deps/root "figwheel-main"}
🙂

😍 4
hagmonk21:06:45

Thanks @kenny! Had no idea that existed

kenny21:06:15

Yeah I had the same problem. I don't think it's documented yet.

bhauman22:06:05

good to know!