deps-new

Sam Ritchie 2023-02-07T18:09:09.926979Z

woohoo, shipped by first deps-new template yesterday: https://github.com/mentat-collective/clerk-utils/tree/main/resources/clerk_utils/custom and an example of the generated project lives here: https://github.com/mentat-collective/clerk-utils-custom-template Thanks @seancorfield for the library!!

🎉 2
seancorfield 2023-02-07T18:30:17.023899Z

Nice! One thing to be aware of: if someone runs tooling on your template library that tries to load/analyze all the *.clj* files, those are not valid source code -- or if they add your template as a dependency. I recently updated all the .clj files (and .edn files) in the built-in templates to use .tmpl extensions to avoid that.

seancorfield 2023-02-07T18:31:40.741979Z

It's an edge case: normally people just run a template to create a project -- but some folks are adding deps-new as a dependency and it was messing up some tooling that assumes everything on the classpath is loadable.

Sam Ritchie 2023-02-07T18:40:01.063309Z

👍 that is good to know