Skip to content

Commit 95a1097

Browse files
aliases: update project/create with practicalli project templates
1 parent 34db785 commit 95a1097

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

CHANGELOG.org

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@
55
*** yaml support in portal for `:repl/reloaded` and `:dev/reloaded` aliases
66
*** Integrant REPL support for `:repl/reloaded` and `:dev/reloaded` aliases
77
*** nREPL support for `:repl/inspect`
8+
*** `project/templates` alias for use with deps-new, providing Practialli designed project templates
9+
*** `project/create-local` to support development of Practialli project templates
810
** Changed
911
*** remove find-deps from `:repl/reloaded` and `:dev/reloaded` aliases to avoid reload clash with add-libs dependency
12+
*** updated `project/create` to include Practialli designed project templates as a dependency
1013

1114
* 2023-03-25
1215
** Added

deps.edn

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,11 +330,28 @@
330330
:exec-args {:template app :name practicalli/playground}
331331
:main-opts ["-m" "clj-new.create"]}
332332

333-
;; clojure -T:project/create ; Create playground project using app template
334333
:project/create
335-
{:replace-deps {io.github.seancorfield/deps-new {:git/tag "v0.5.0" :git/sha "48bf01e"}}
334+
{:replace-deps {io.github.seancorfield/deps-new
335+
{:git/tag "v0.5.1" :git/sha "21cede2"}
336+
io.github.practicalli/project-templates
337+
{:git/tag "2023.04.12" :git/sha "3b4e3fa"}}
336338
:exec-fn org.corfield.new/create
337-
:exec-args {:template app :name practicalli/playground}}
339+
:exec-args {:template practicalli/service
340+
:name practicalli/gameboard-redux}}
341+
342+
:project/create-local
343+
{:replace-deps {io.github.seancorfield/deps-new
344+
{:git/tag "v0.5.1" :git/sha "21cede2"}
345+
practicalli/project-templates
346+
{:local/root "/home/practicalli/projects/practicalli/project-templates/"}}
347+
:exec-fn org.corfield.new/create
348+
:exec-args {:template practicalli/service
349+
:name practicalli/gameboard.service
350+
:target-dir gameboard-service}}
351+
352+
:project/templates
353+
{:extra-deps {io.github.practicalli/project-templates
354+
{:git/tag "2023.04.12" :git/sha "3b4e3fa"}}}
338355

339356
;; Convert Leiningen projects to Clojure CLI with depify
340357
;; Use `lein pprint` when `project.clj` includes quoted variables or paths to resolve

0 commit comments

Comments
 (0)