This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-14
Channels
- # beginners (183)
- # boot (6)
- # cider (106)
- # cljs-dev (17)
- # cljsjs (2)
- # cljsrn (2)
- # clojure (56)
- # clojure-italy (14)
- # clojure-nl (39)
- # clojure-spec (49)
- # clojure-uk (138)
- # clojurescript (197)
- # core-logic (37)
- # cursive (22)
- # datascript (5)
- # datomic (29)
- # devcards (18)
- # emacs (1)
- # events (8)
- # figwheel (1)
- # fulcro (59)
- # lein-figwheel (1)
- # leiningen (1)
- # off-topic (54)
- # onyx (3)
- # pedestal (1)
- # portkey (4)
- # re-frame (18)
- # reagent (5)
- # reitit (43)
- # ring (6)
- # ring-swagger (26)
- # shadow-cljs (42)
- # spacemacs (8)
- # specter (12)
- # sql (3)
- # tools-deps (21)
- # vim (18)
I'm also betting that defaulting to "app" rather than core doesn't work for you either
People should be explicit about their project namespace.
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.
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
Hey so riddle me this ... has any thought been given to using deps.edn in the context of a monorepo?
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?
We're working with a monorepo at work and slowly figuring that out. Not a priority tho' so progress is a bit slow.
as a git dep or a local dep?
there are some ways with :deps/root etc to do some of this but also some known issues
I'm working with local deps so far.
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
A real world example would be figwheel-main’s deps.edn: https://github.com/bhauman/lein-figwheel/blob/master/figwheel-main/deps.edn
AFAICT, there’s no way I can depend on that deps.edn file, because it’s not at the root of the repo