reagent-project / reagent-template

A Leiningen template for projects using Reagent.
MIT License
394 stars 55 forks source link

Bump figwheel version. #95

Closed kenrestivo closed 8 years ago

kenrestivo commented 8 years ago

They're up to 0.5.0.-2

kenrestivo commented 8 years ago

Sorry about the noise. I remember going through this before in the early days of Noir and pomegranate and nrepl (now cider).

These things are all moving fast and get out of sync. Plus, Figwheel runs in the same process as a web app, and has its own webserver and dependencies on web-related libraries, which causes it to conflict. I think that is why cljsbuild was originally designed as a separate process.

FWIW, this is what lein tree outputs with the new template now:

 [cider/cider-nrepl "0.10.0-20151118.222448-43"]
   [cljfmt "0.3.0" :exclusions [[org.clojure/clojure]]]
     [rewrite-clj "0.4.12"]
   [cljs-tooling "0.1.9" :exclusions [[org.clojure/clojure]]]
   [compliment "0.2.5" :exclusions [[org.clojure/clojure]]]
     [defprecated "0.1.2"]
   [org.clojure/java.classpath "0.2.3" :exclusions [[org.clojure/clojure]]]
   [org.clojure/tools.namespace "0.2.11" :exclusions [[org.clojure/clojure]]]
   [org.clojure/tools.reader "0.9.2" :exclusions [[org.clojure/clojure]]]
   [org.clojure/tools.trace "0.7.8" :exclusions [[org.clojure/clojure]]]
   [org.tcrawley/dynapath "0.2.3" :exclusions [[org.clojure/clojure]]]
 [clojure-complete "0.2.3" :exclusions [[org.clojure/clojure]]]
 [com.cemerick/piggieback "0.2.1" :scope "test"]
 [compojure "1.4.0"]
   [clout "2.1.2"]
     [instaparse "1.4.0" :exclusions [[org.clojure/clojure]]]
   [medley "0.6.0"]
   [org.clojure/tools.macro "0.1.5"]
   [ring/ring-codec "1.0.0"]
     [commons-codec "1.6"]
 [devcards "0.2.0-8" :scope "test" :exclusions [[org.clojure/tools.reader]]]
   [cljs-react-reload "0.1.1" :scope "test"]
   [cljsjs/showdown "0.4.0-1" :scope "test"]
   [sablono "0.3.6" :scope "test"]
 [environ "1.0.1"]
 [hiccup "1.0.5"]
 [lein-figwheel "0.5.0-2" :scope "test" :exclusions [[org.clojure/core.memoize] [ring/ring-core] [org.clojure/clojure] [org.ow2.asm/asm-all] [org.clojure/data.priority-map] [org.clojure/tools.reader] [org.clojure/clojurescript] [org.clojure/core.async] [org.clojure/tools.analyzer.jvm]]]
   [figwheel-sidecar "0.5.0-2" :scope "test"]
     [com.stuartsierra/component "0.3.0" :scope "test"]
       [com.stuartsierra/dependency "0.2.0" :scope "test"]
     [digest "1.4.4" :scope "test"]
     [hawk "0.2.5" :scope "test"]
       [net.incongru.watchservice/barbary-watchservice "1.0" :scope "test"]
         [net.java.dev.jna/jna "3.2.2" :scope "test"]
     [http-kit "2.1.19" :scope "test"]
     [ring-cors "0.1.7" :scope "test"]
   [figwheel "0.5.0-2" :scope "test"]
 [org.clojure/clojure "1.7.0"]
 [org.clojure/clojurescript "1.7.170" :scope "test" :exclusions [[org.clojure/clojure] [org.clojure/tools.reader]]]
   [com.google.javascript/closure-compiler "v20151015" :scope "test"]
   [org.clojure/data.json "0.2.6" :scope "test"]
   [org.clojure/google-closure-library "0.0-20151016-61277aea" :scope "test"]
     [org.clojure/google-closure-library-third-party "0.0-20151016-61277aea" :scope "test"]
   [org.mozilla/rhino "1.7R5" :scope "test"]
 [org.clojure/tools.nrepl "0.2.12" :scope "test"]
 [pjstadig/humane-test-output "0.7.0" :scope "test"]
 [prone "0.8.2"]
 [reagent-forms "0.5.13"]
 [reagent-utils "0.1.5"]
 [reagent "0.5.1" :exclusions [[org.clojure/tools.reader]]]
   [cljsjs/react "0.13.3-1"]
 [refactor-nrepl "2.0.0-20151117.182629-13"]
 [ring-server "0.4.0"]
   [ring-refresh "0.1.2"]
     [watchtower "0.1.1"]
 [ring/ring-defaults "0.1.5"]
   [javax.servlet/servlet-api "2.5"]
   [ring/ring-anti-forgery "1.0.0"]
   [ring/ring-headers "0.1.3"]
   [ring/ring-ssl "0.2.1"]
 [ring/ring-devel "1.4.0" :scope "test"]
   [clj-stacktrace "0.2.8" :scope "test"]
   [ns-tracker "0.3.0" :scope "test"]
 [ring/ring-mock "0.3.0" :scope "test"]
 [ring "1.4.0"]
   [ring/ring-core "1.4.0"]
     [clj-time "0.9.0"]
       [joda-time "2.6"]
     [commons-fileupload "1.3.1"]
     [commons-io "2.4"]
     [crypto-equality "1.0.0"]
     [crypto-random "1.2.0"]
   [ring/ring-jetty-adapter "1.4.0"]
     [org.eclipse.jetty/jetty-server "9.2.10.v20150310"]
       [javax.servlet/javax.servlet-api "3.1.0"]
       [org.eclipse.jetty/jetty-http "9.2.10.v20150310"]
         [org.eclipse.jetty/jetty-util "9.2.10.v20150310"]
       [org.eclipse.jetty/jetty-io "9.2.10.v20150310"]
   [ring/ring-servlet "1.4.0"]
 [secretary "1.2.3"]
   [com.cemerick/clojurescript.test "0.2.3-20140317.141743-3"]
 [venantius/accountant "0.1.5" :exclusions [[org.clojure/tools.reader]]]
   [org.clojure/core.async "0.1.346.0-17112a-alpha"]
     [org.clojure/tools.analyzer.jvm "0.1.0-beta12"]
       [org.clojure/core.memoize "0.5.6"]
         [org.clojure/core.cache "0.6.3"]
           [org.clojure/data.priority-map "0.0.2"]
       [org.clojure/tools.analyzer "0.1.0-beta12"]
       [org.ow2.asm/asm-all "4.1"]

There's no getting around the fact that there are simply a lot of dependencies, unfortunately. Getting them all to work together is not easy.

yogthos commented 8 years ago

Yeah my process right now is to run figwheel in a separate terminal. Keeping up with all the changes is definitely a bit of a pain. Hopefully things will get more stable as time goes on though.

yogthos commented 8 years ago

and did another push, so should be the latest and greatest until things change again ;)