diff --git a/deps.edn b/deps.edn deleted file mode 100644 index c5e4a9c..0000000 --- a/deps.edn +++ /dev/null @@ -1,13 +0,0 @@ -{:paths ["src/main"] - :deps - {org.clojure/clojure {:mvn/version "1.11.1"} - org.clojure/clojurescript {:mvn/version "1.11.60"} - thheller/shadow-cljs {:mvn/version "2.25.2"} - - reagent/reagent {:mvn/version "1.2.0"} - re-frame/re-frame {:mvn/version "1.3.0"} - metosin/reitit {:mvn/version "0.7.0-alpha5"} - day8.re-frame/tracing {:mvn/version "0.6.2"} - day8.re-frame/re-frame-10x {:mvn/version "1.6.0"} - - }} diff --git a/project.clj b/project.clj new file mode 100644 index 0000000..4b190e3 --- /dev/null +++ b/project.clj @@ -0,0 +1,32 @@ +;; shadow-cljs configuration +(defproject liberty-hu "0.1.0-SNAPSHOT" + :description "FIXME: write description" + :url "http://example.com/FIXME" + :license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0" + :url "https://www.eclipse.org/legal/epl-2.0/"} + :dependencies [ + [org.clojure/clojure "1.11.1"] + [org.clojure/clojurescript "1.11.60"] + [thheller/shadow-cljs "2.25.2"] + [ring/ring-core "1.11.0-alpha1"] + [ring/ring-jetty-adapter "1.11.0-alpha1"] + [com.google.javascript/closure-compiler-unshaded "v20230802"] + + [org.slf4j/slf4j-nop "2.0.7"] + [reagent/reagent "1.2.0"] + [re-frame/re-frame "1.3.0"] + [metosin/reitit "0.7.0-alpha5"] + [day8.re-frame/tracing "0.6.2"] + + [day8.re-frame/re-frame-10x "1.6.0"] + ] + + :source-paths ["src/main"] + :main ^:skip-aot backend.core + + :profiles + {:uberjar {:dependencies ^:replace [[org.clojure/clojure "1.11.1"] + [ring/ring-jetty-adapter "1.11.0-alpha1"] + [org.slf4j/slf4j-nop "2.0.7"]] + + :aot :all}}) diff --git a/shadow-cljs.edn b/shadow-cljs.edn index 16216e9..c78579a 100644 --- a/shadow-cljs.edn +++ b/shadow-cljs.edn @@ -1,5 +1,5 @@ ;; shadow-cljs configuration -{:deps true +{:lein true :nrepl {:port 8701} :dev-http {8080 "public"}