Update React, Clojure and ClojureScript

This commit is contained in:
Juho Teperi 2019-02-07 20:29:37 +02:00
parent 5dd12c7a22
commit e673b1fc0a
3 changed files with 9 additions and 9 deletions

View File

@ -40,8 +40,8 @@
:output-to "target/cljsbuild/client-npm/public/js/main.js"
:asset-path "js/out"
:install-deps true
:npm-deps {react "16.6.0"
react-dom "16.6.0"
:npm-deps {react "16.8.1"
react-dom "16.8.1"
"@material-ui/core" "3.1.1"
"@material-ui/icons" "3.0.1"}
:process-shim true}}}})

View File

@ -3,8 +3,8 @@
"dependencies": {
"@cljs-oss/module-deps": "1.1.1",
"prop-types": "15.6.2",
"react": "16.6.0",
"react-dom": "16.6.0"
"react": "16.8.1",
"react-dom": "16.8.1"
},
"devDependencies": {
"gzip-size-cli": "3.0.0",

View File

@ -3,13 +3,13 @@
:license {:name "MIT"}
:description "A simple ClojureScript interface to React"
:dependencies [[org.clojure/clojure "1.9.0"]
:dependencies [[org.clojure/clojure "1.10.0"]
;; If :npm-deps enabled, these are used only for externs.
;; Without direct react dependency, other packages,
;; like react-leaflet might have closer dependency to a other version.
[cljsjs/react "16.6.0-0"]
[cljsjs/react-dom "16.6.0-0"]
[cljsjs/react-dom-server "16.6.0-0"]]
[cljsjs/react "16.8.1-0"]
[cljsjs/react-dom "16.8.1-0"]
[cljsjs/react-dom-server "16.8.1-0"]]
:plugins [[lein-cljsbuild "1.1.7"]
[lein-doo "0.1.11"]
@ -22,7 +22,7 @@
:exclude clojure.string
:source-paths ["src"]}
:profiles {:dev {:dependencies [[org.clojure/clojurescript "1.10.439"]
:profiles {:dev {:dependencies [[org.clojure/clojurescript "1.10.516"]
[figwheel "0.5.18"]
[doo "0.1.11"]
[cljsjs/prop-types "15.6.2-0"]]