Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
shadow-cljs/project.clj
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
169 lines (133 sloc)
4.15 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defproject thheller/shadow-cljs "2.23.3" | |
: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.3.6"] | |
[nrepl "1.0.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.60" | |
: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 "v20230411"] | |
[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.3.3"] | |
[thheller/shadow-undertow "0.3.1"] | |
[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"] | |
: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" | |
]}}) |