deps-new

dominicm 2021-12-04T19:39:51.038300Z

I haven't actually tried this, but something that might be useful is allowing a project to specify an alias to use for deps-new in the deps.edn. Similar to :deps/prep-lib. That way to generate the template for a framework, you could use that framework as the coordinate, rather than <coordinate>-template.

seancorfield 2021-12-04T19:45:24.039400Z

@dominicm Interesting suggestion. Do you want to create an issue and write it up with a specific example?

dominicm 2021-12-04T19:45:46.039700Z

@seancorfield Sure, what would a specific example be? 🙂

dominicm 2021-12-04T19:46:04.040Z

Uh, better way of asking that question, how specific should I be?

seancorfield 2021-12-04T19:55:29.041500Z

It's your suggestion: pick a repo/framework that has a template and write up exactly what you think would go in that framework's deps.edn file to specify the template to use. I'm having a hard time imaging how you think it should work...

seancorfield 2021-12-04T19:56:06.042200Z

Remember that deps-new just reads stuff from the file system after the CLI has brought down the deps.

dominicm 2021-12-04T20:01:01.042500Z

OK, that specific. No problem 🙂