Hello.
with clj-refactor.el it provides a very useful command cljr-add-project-dependency
to automatically add a specific version to a project config file, but it seems it works only with project.clj
file. Thats weird because i was always using projects without lein support. I am confused.
Someone know why i cannot use it with deps.edn?
Salut à toi @papachan!
Yes, I use with deps.edn too and no problem.
This work for all this project files (thread-last '("project.clj" "build.boot" "pom.xml" "deps.edn" "shadow-cljs.edn")
Watch out if you have both project.clj and deps.edn in directory the first take the priority according to their position in the list.
https://github.com/clojure-emacs/clj-refactor.el/blob/8259791e054382457b87d1f78061b5e3ce948907/clj-refactor.el#L818
@hindol.adhya @admin055 Hey ! thank you. i will check it ! have a nice day !