mirror of
https://github.com/status-im/reagent.git
synced 2025-01-13 21:34:29 +00:00
Update default React version to 16
This commit is contained in:
parent
c65d1d80a0
commit
05af403f10
@ -10,7 +10,6 @@ dependencies:
|
|||||||
- ./prepare-tests.sh
|
- ./prepare-tests.sh
|
||||||
cache_directories:
|
cache_directories:
|
||||||
- test-environments/browser-node/node_modules
|
- test-environments/browser-node/node_modules
|
||||||
- test-environments/browser-node-react-16/node_modules
|
|
||||||
test:
|
test:
|
||||||
override:
|
override:
|
||||||
- ./run-tests.sh
|
- ./run-tests.sh
|
||||||
|
12
project.clj
12
project.clj
@ -8,9 +8,9 @@
|
|||||||
;; If :npm-deps enabled, these are used only for externs.
|
;; If :npm-deps enabled, these are used only for externs.
|
||||||
;; Without direct react dependency, other packages,
|
;; Without direct react dependency, other packages,
|
||||||
;; like react-leaflet might have closer dependency to a other version.
|
;; like react-leaflet might have closer dependency to a other version.
|
||||||
[cljsjs/react "15.6.2-0"]
|
[cljsjs/react "16.1.1-0"]
|
||||||
[cljsjs/react-dom "15.6.2-0"]
|
[cljsjs/react-dom "16.1.1-0"]
|
||||||
[cljsjs/react-dom-server "15.6.2-0"]
|
[cljsjs/react-dom-server "16.1.1-0"]
|
||||||
[cljsjs/create-react-class "15.6.2-0"]]
|
[cljsjs/create-react-class "15.6.2-0"]]
|
||||||
|
|
||||||
:plugins [[lein-cljsbuild "1.1.7"]
|
:plugins [[lein-cljsbuild "1.1.7"]
|
||||||
@ -24,11 +24,7 @@
|
|||||||
:exclude clojure.string
|
:exclude clojure.string
|
||||||
:source-paths ["src"]}
|
:source-paths ["src"]}
|
||||||
|
|
||||||
:profiles {:react-16 {:dependencies [[cljsjs/react "16.1.1-0"]
|
:profiles {:dev {:dependencies [[figwheel "0.5.14"]
|
||||||
[cljsjs/react-dom "16.1.1-0"]
|
|
||||||
[cljsjs/react-dom-server "16.1.1-0"]]}
|
|
||||||
|
|
||||||
:dev {:dependencies [[figwheel "0.5.14"]
|
|
||||||
[doo "0.1.8"]
|
[doo "0.1.8"]
|
||||||
[cljsjs/prop-types "15.6.0-0"]]
|
[cljsjs/prop-types "15.6.0-0"]]
|
||||||
:source-paths ["demo" "examples/todomvc/src" "examples/simple/src" "examples/geometry/src"]
|
:source-paths ["demo" "examples/todomvc/src" "examples/simple/src" "examples/geometry/src"]
|
||||||
|
@ -1 +0,0 @@
|
|||||||
../../demo
|
|
@ -1 +0,0 @@
|
|||||||
../../examples
|
|
2056
test-environments/browser-node-react-16/package-lock.json
generated
2056
test-environments/browser-node-react-16/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"private": true,
|
|
||||||
"dependencies": {
|
|
||||||
"@cljs-oss/module-deps": "1.1.1",
|
|
||||||
"create-react-class": "15.6.2",
|
|
||||||
"react": "16.1.1",
|
|
||||||
"react-dom": "16.1.1"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"karma": "1.7.1",
|
|
||||||
"karma-chrome-launcher": "2.2.0",
|
|
||||||
"karma-cljs-test": "0.1.0",
|
|
||||||
"karma-junit-reporter": "1.2.0"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1 +0,0 @@
|
|||||||
../../project.clj
|
|
@ -1 +0,0 @@
|
|||||||
../../site
|
|
@ -1 +0,0 @@
|
|||||||
../../src
|
|
@ -1 +0,0 @@
|
|||||||
../../test
|
|
@ -1,4 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -ex
|
|
||||||
lein do clean, doo chrome-headless test once
|
|
||||||
test -f target/cljsbuild/test/out/node_modules/react/index.js
|
|
@ -4,8 +4,8 @@
|
|||||||
"@cljs-oss/module-deps": "1.1.1",
|
"@cljs-oss/module-deps": "1.1.1",
|
||||||
"create-react-class": "15.6.2",
|
"create-react-class": "15.6.2",
|
||||||
"prop-types": "15.6.0",
|
"prop-types": "15.6.0",
|
||||||
"react": "15.6.2",
|
"react": "16.1.1",
|
||||||
"react-dom": "15.6.2"
|
"react-dom": "16.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"karma": "1.7.1",
|
"karma": "1.7.1",
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -ex
|
set -ex
|
||||||
lein do clean, doo chrome-headless test once
|
lein do clean, doo chrome-headless test once
|
||||||
test -f target/cljsbuild/test/out/node_modules/react/react.js
|
test -f target/cljsbuild/test/out/node_modules/react/index.js
|
||||||
|
@ -1 +0,0 @@
|
|||||||
../../demo
|
|
@ -1 +0,0 @@
|
|||||||
../../examples
|
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -ex
|
|
||||||
lein with-profile react-16 figwheel
|
|
@ -1 +0,0 @@
|
|||||||
../browser-umd/node_modules
|
|
@ -1 +0,0 @@
|
|||||||
../browser-umd/package-lock.json
|
|
@ -1 +0,0 @@
|
|||||||
../browser-umd/package.json
|
|
@ -1 +0,0 @@
|
|||||||
../../project.clj
|
|
@ -1 +0,0 @@
|
|||||||
../../site
|
|
@ -1 +0,0 @@
|
|||||||
../../src
|
|
@ -1 +0,0 @@
|
|||||||
../../test
|
|
@ -1,4 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -ex
|
|
||||||
lein with-profile dev,react-16 do clean, doo chrome-headless test once
|
|
||||||
test -f target/cljsbuild/test/out/cljsjs/react/development/react.inc.js
|
|
Loading…
x
Reference in New Issue
Block a user