Skip to content

Commit

Permalink
release "3.43"
Browse files Browse the repository at this point in the history
  • Loading branch information
yogthos committed Jul 23, 2019
1 parent b2aa23e commit 5c568ea
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
@@ -1,3 +1,7 @@
## 3.43

- added re-frame-10x hook for the shadow-cljs profile

## 3.42

- fixed default tests
Expand Down
2 changes: 1 addition & 1 deletion project.clj
@@ -1,4 +1,4 @@
(defproject luminus/lein-template "3.42"
(defproject luminus/lein-template "3.43"
:description "a template for creating Luminus applications"
:url "https://github.com/yogthos/luminus-template"
:license {:name "MIT License"
Expand Down
2 changes: 1 addition & 1 deletion resources/leiningen/new/luminus/core/README.md
@@ -1,6 +1,6 @@
# <<name>>

generated using Luminus version "3.42"
generated using Luminus version "3.43"

FIXME

Expand Down
19 changes: 12 additions & 7 deletions src/leiningen/new/shadow_cljs.clj
Expand Up @@ -14,17 +14,22 @@
(read-string (str project-ns suffix)))

;; Goal was to reproduce the same profiles as leiningen/cljsbuild approach
(defn shadow-cljs-config [{:keys [project-ns]}]
(defn shadow-cljs-config [{:keys [features project-ns]}]
{:nrepl
{:port 7002}

:builds
{:app {:target :browser
:output-dir "target/cljsbuild/public/js"
:asset-path "/js"
:modules {:app
{:entries [(project-ns-symbol project-ns ".app")]}}
:devtools {:watch-dir "resources/public"}}
{:app (merge
{:target :browser
:output-dir "target/cljsbuild/public/js"
:asset-path "/js"
:modules {:app
{:entries [(project-ns-symbol project-ns ".app")]}}
:devtools (merge {:watch-dir "resources/public"}
(when (some #{"+re-frame"} features)
{:preloads ['re-frisk.preload]}))}
(when (some #{"+re-frame"} features)
{:dev {:closure-defines {"re_frame.trace.trace_enabled_QMARK_" true}}}))

:test {:target :node-test
:output-to "target/test/test.js"
Expand Down

0 comments on commit 5c568ea

Please sign in to comment.