-
-
Notifications
You must be signed in to change notification settings - Fork 179
/
project.clj
172 lines (136 loc) · 4.28 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
(defproject thheller/shadow-cljs "2.28.20"
:description "CLJS development tools"
:url "https://github.com/thheller/shadow-cljs"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories
{"clojars" {:url "https://clojars.org/repo"
:sign-releases false}}
:javac-options
["-target" "11"
"-source" "11"]
:managed-dependencies
[[commons-codec "1.15"]
;; [com.google.errorprone/error_prone_annotations "2.4.0"]
[com.google.code.findbugs/jsr305 "3.0.2"]]
:dependencies
[[org.clojure/clojure "1.11.1"]
[org.clojure/data.json "2.4.0"]
[org.clojure/tools.cli "1.0.206"]
[org.clojure/tools.reader "1.4.2"]
[nrepl "1.3.0"]
[cider/piggieback "0.5.3"
:exclusions
[org.clojure/clojure
org.clojure/clojurescript
nrepl/nrepl]]
[com.cognitect/transit-clj "1.0.329"]
[com.cognitect/transit-cljs "0.8.280"]
[org.clojure/core.async "1.5.648"]
;; hack to get the latest closure-compiler if CLJS doesn't have it
[org.clojure/clojurescript "1.11.132"
:exclusions
[com.google.javascript/closure-compiler-unshaded
org.clojure/google-closure-library
org.clojure/google-closure-library-third-party]]
[com.google.javascript/closure-compiler-unshaded "v20240317"]
[org.clojure/google-closure-library "0.0-20230227-c7c0a541"]
[org.clojure/google-closure-library-third-party "0.0-20230227-c7c0a541"]
[thheller/shadow-util "0.7.0"]
[thheller/shadow-client "1.4.0"]
[thheller/shadow-undertow "0.3.4"]
[thheller/shadow-cljsjs "0.0.22"]
[hiccup "1.0.5"]
[ring/ring-core "1.9.6"
:exclusions
;; used by cookie middleware which we don't use
[clj-time]]
[io.methvin/directory-watcher "0.17.1"]
[expound "0.9.0"]
[fipp "0.6.26"]
[com.bhauman/cljs-test-display "0.1.1"]
]
:source-paths
["src/main"]
:test-paths
["src/test"]
:java-source-paths
["src/main"]
:classifiers
{:aot
{:aot [shadow.cljs.cli
shadow.cljs.devtools.cli
shadow.cljs.devtools.cli-actual
shadow.cljs.devtools.api
shadow.cljs.devtools.server]
:jar-exclusions
[#"^clojure/core"]}}
:aliases
{"cljs-tests-compile" ["with-profiles" "+cljs-tests" "run" "-m" "shadow.cljs.devtools.cli" "compile" "cljs-tests"]
"cljs-tests-release" ["with-profiles" "+cljs-tests" "run" "-m" "shadow.cljs.devtools.cli" "release" "cljs-tests"]}
:profiles
{:provided
{:source-paths
["src/ui-release"]}
:dev
{:source-paths
["src/dev"
"src/repl"
;; FIXME: should really move to deps.edn, lein checkouts suck
"../shadow-grove/src/gen"
"../shadow-grove/src/ui-release"]
:java-source-paths
["src/dev"
"src/main"]
:jvm-opts
["-Dclojure.main.report=out"
"-XX:+UnlockDiagnosticVMOptions"
"-XX:+DebugNonSafepoints"]
:dependencies
[[com.clojure-goes-fast/clj-async-profiler "0.4.1"]
;; insight, not quite useful yet
;; will need to add as regular dep when finished
[rewrite-clj "1.1.46"]
[org.commonmark/commonmark "0.21.0"]
#_[org.slf4j/slf4j-log4j12 "1.7.25"]
#_[log4j "1.2.17"]]}
:aot
{:aot [repl]}
:uberjar
{:aot [shadow.cljs.devtools.cli
shadow.cljs.devtools.api
shadow.cljs.devtools.server]
:main shadow.cljs.devtools.cli}
:cljs
{:java-opts
^:replace
["-XX:-OmitStackTraceInFastThrow"
"-Dclojure.core.async.go-checking=true"]
:dependencies
[[aysylu/loom "1.0.2"]
;; for cljsjs testing
[cljsjs/react "18.0.0-rc.0-0"]
[cljsjs/react-dom "18.0.0-rc.0-0"]
;; only used for UI build for now?
[com.thheller/shadow-css "0.4.2"]
[com.thheller/shadow-grove "0.5.0"]
;; just so the CI build has this downloaded
;; and cached before compiling the test-project
[reagent "0.10.0"]]
:repl-options
{:init-ns shadow.user
:nrepl-middleware
[shadow.cljs.devtools.server.nrepl/middleware]}
:source-paths
["src/dev"
"src/gen"
"src/test"
"test-project/src/main"]}
:cljs-tests
{:source-paths
["../oss/clojurescript/src/test/clojure"
"../oss/clojurescript/src/test/cljs"
"../oss/clojurescript/src/test/self"
"../oss/clojurescript/src/test/cljs_cp"
"../oss/clojurescript/benchmark"
]}})