Fork me on GitHub
#deps-new
<
2023-02-01
>
seancorfield00:02:46

I'm working on deps-new right now to: • remove the build-clj wrapper from generated projects • switch from t.d.a to tools.deps • switch .clj files in the templates (resources) to a extension that tooling will not try to auto-load (`.tmpl`) I've updated the app and lib templates. I anyone feels inclined to test this work-in-progress, I'd appreciate it. https://github.com/seancorfield/deps-new/commit/148af5995b84c50bd9f111768da910adf3ae8b37 So you can do clojure -Ttools install io.github.seancorfield/deps-new '{:sha "148af5995b84c50bd9f111768da910adf3ae8b37"}' :as new (or :as new-alpha if you want to still be able to get at your stable new tool!)

seancorfield00:02:09

I just found a bug in the app readme (the generated JAR isn't quite where it says) -- just in case anyone tries it and spots that one...

seancorfield01:02:28

I decided to push ahead and release v0.5.0: https://github.com/seancorfield/deps-new/releases/tag/v0.5.0 Once I've had some feedback on it (positive or negative!), I'll either announce it more widely or fix bugs and release v0.5.1 🙂

mynomoto11:02:41

Hello, is the polylith template on clj-new and not on deps-new? I generated a polylith project yesterday and was thinking from where is it coming from and noticed that it was using build-clj and was not mentioned on https://clojurians.slack.com/archives/C019ZQSPYG6/p1675210786300219

seancorfield17:02:45

Correct. There's no Polylith template in deps-new (yet). I'm not sure how I feel about having added it to clj-new -- given that the poly tool itself already knows how to create a new workspace (project) and then create bases, components, and projects within it...

seancorfield17:02:23

I will probably return to clj-new at some point and strip build-clj out of those templates too...

seancorfield17:02:02

It also has the problem -- now fixed in deps-new -- regarding invalid .clj files in the src tree so it's not compatible with tooling. At least deps-new had them in resources already and now they're .tmpl files instead.

mynomoto18:02:13

Ok, thanks. I liked the new way of creating templates, I have one in progress. I did not find in the wiki a list of the options available by default. Is that somewhere and I missed it?

seancorfield19:02:29

@U05094X3J I'm not quite sure what you mean by "options available"?

mynomoto19:02:24

Yeah, https://github.com/seancorfield/deps-new/blob/develop/doc/names-variables.md is what I was looking for. I read https://github.com/seancorfield/deps-new/blob/develop/doc/templates.md that was linked from the readme but did not look what else was on the doc folder, sorry about that.

seancorfield19:02:07

If you have suggestions for improving discovery/adding crosslinks, feel free to open an issue with specific suggestions (or send a PR).

seancorfield17:02:45

Correct. There's no Polylith template in deps-new (yet). I'm not sure how I feel about having added it to clj-new -- given that the poly tool itself already knows how to create a new workspace (project) and then create bases, components, and projects within it...