-
Notifications
You must be signed in to change notification settings - Fork 6
/
project.clj
105 lines (86 loc) · 4.46 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
(defproject name.trofimov/webapp-clojure-2020 "1.0.0-SNAPSHOT"
:description "Multi-page web application prototype with Clojure(Script)"
:dependencies [;;; Clojure
[org.clojure/clojure "1.11.0"]
;;; ClojureScript (shadow-cljs)
[com.google.guava/guava "31.1-jre" :scope "provided"]
[thheller/shadow-cljs "2.17.8" :scope "provided"]
;;; System
[integrant "0.8.0"]
[mount "0.1.16"]
[tolitius/mount-up "0.1.3"]
;;; Web Server
[io.undertow/undertow-core,,,,,,,,,, "2.2.16.Final"]
[io.undertow/undertow-servlet,,,,,,, "2.2.16.Final"]
[io.undertow/undertow-websockets-jsr "2.2.16.Final"]
[metosin/reitit-core "0.5.17"]
[org.immutant/web "2.1.10"]
[ring/ring-core "1.9.5"]
[ring/ring-defaults "0.3.3"]
;;; Database
[com.h2database/h2 "2.1.210"]
[com.layerware/hugsql "0.5.1" :exclusions [com.layerware/hugsql-adapter-clojure-java-jdbc]]
[com.layerware/hugsql-adapter-next-jdbc "0.5.1"]
[com.mattbertolini/liquibase-slf4j "4.0.0"]
[com.zaxxer/HikariCP "5.0.1" :exclusions [org.slf4j/slf4j-api]]
[org.liquibase/liquibase-core "4.9.0"]
[seancorfield/next.jdbc "1.2.659"]
[p6spy/p6spy "3.9.1"]
;;; Logging
[ch.qos.logback/logback-classic "1.2.11"]
[ch.qos.logback/logback-core "1.2.11"]
[org.clojure/tools.logging "1.2.4"]
[org.codehaus.janino/janino "3.1.6"]
[org.slf4j/jul-to-slf4j "1.7.36"]
[org.slf4j/slf4j-api "1.7.36"]
;;; Libs (Java)
[com.fasterxml.jackson.core/jackson-core "2.13.2"]
[commons-codec/commons-codec "1.15"]
[org.apache.commons/commons-lang3 "3.12.0"]
;;; Libs (Clojure)
[clojurewerkz/propertied "1.3.0"]
[com.cognitect/transit-clj "1.0.329"]
[medley "1.3.0"]
[potemkin "0.4.5"]
;;; Libs (ClojureScript)
[cljsjs/react "18.0.0-rc.0-0"]
[cljsjs/react-dom "18.0.0-rc.0-0"]
[rum "0.12.8"]
;;; Daemon
[commons-daemon/commons-daemon "1.3.0"]]
:main ^:skip-aot app.main
:test-paths ["test" "src"]
:target-path "target/%s"
:plugins [[lein-shell "0.5.0"]]
:clean-targets ^{:protect false} ["target"
"resources/public/app"]
:repl-options {:init-ns dev.env.main}
:shell {:commands
{"node_modules/.bin/postcss"
{:windows "node_modules/.bin/postcss.cmd"}}}
:aliases {"shadow-cljs" ["run" "-m" "shadow.cljs.devtools.cli"]
"css-example-release" ["shell"
"node_modules/.bin/postcss"
"tailwind/app/\\$_example/main.css"
"-o" "resources/public/app/example/main.css"
"--config" "tailwind/app/config/"]}
:profiles {:dev {:jvm-opts ["-Dconfig.file=dev/app/config/default.props"]
:main ^:skip-aot dev.env.main
:dependencies [[compojure "1.6.2" #_"For ring-refresh"]
[me.raynes/fs "1.4.6"]
[nrepl "0.9.0"]
[ns-tracker "0.4.0"]
[ring-refresh "0.1.2"]
[ring/ring-devel "1.9.5"]
[zcaudate/hara.io.watch "2.8.7"]]
:source-paths ["dev" "tailwind"]}
:test-release [:uberjar
{:jvm-opts ["-Dconfig.file=dev/app/config/default.props"]}]
:uberjar {:aot :all
:prep-tasks ["compile"
["shadow-cljs" "release" "example"]
"css-example-release"]
:injections [(do (println "Disable clojure.test/*load-tests*")
(require 'clojure.test)
(alter-var-root #'clojure.test/*load-tests* (constantly false)))]}}
:uberjar-name "website.jar")