mirror of https://github.com/status-im/reagent.git
Use React 15 for Node & Run tests for 16
This commit is contained in:
parent
b2790e7bb4
commit
2904422bb3
|
@ -27,3 +27,8 @@ test:
|
|||
- lein with-profile node-test do clean, doo node client once
|
||||
- test ! -f out/node_modules/react/index.js
|
||||
- grep "reagent.impl.template.node\$module\$react = require('react')" out/reagent/impl/template.js
|
||||
|
||||
# Node Modules - Browser - React 16
|
||||
- npm install react@16.0.0 react-dom@16.0.0
|
||||
- lein with-profile test do clean, doo chrome-headless client once
|
||||
- test -f out/node_modules/react/index.js
|
||||
|
|
|
@ -2317,10 +2317,11 @@
|
|||
}
|
||||
},
|
||||
"react": {
|
||||
"version": "16.0.0",
|
||||
"resolved": "https://registry.npmjs.org/react/-/react-16.0.0.tgz",
|
||||
"integrity": "sha1-zn348ZQbA28Cssyp29DLHw6FXi0=",
|
||||
"version": "15.6.2",
|
||||
"resolved": "https://registry.npmjs.org/react/-/react-15.6.2.tgz",
|
||||
"integrity": "sha1-26BDSrQ5z+gvEI8PURZjkIF5qnI=",
|
||||
"requires": {
|
||||
"create-react-class": "15.6.2",
|
||||
"fbjs": "0.8.16",
|
||||
"loose-envify": "1.3.1",
|
||||
"object-assign": "4.1.1",
|
||||
|
@ -2328,9 +2329,9 @@
|
|||
}
|
||||
},
|
||||
"react-dom": {
|
||||
"version": "16.0.0",
|
||||
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.0.0.tgz",
|
||||
"integrity": "sha1-nMMHnD3NcNTG4BuEqrKn40wwP1g=",
|
||||
"version": "15.6.2",
|
||||
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-15.6.2.tgz",
|
||||
"integrity": "sha1-Qc+t9pO3V/rycIRDodH9WgK+9zA=",
|
||||
"requires": {
|
||||
"fbjs": "0.8.16",
|
||||
"loose-envify": "1.3.1",
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
"dependencies": {
|
||||
"@cljs-oss/module-deps": "1.1.1",
|
||||
"create-react-class": "^15.6.2",
|
||||
"react": "^16.0.0",
|
||||
"react-dom": "^16.0.0"
|
||||
"react": "^15.6.2",
|
||||
"react-dom": "^15.6.2"
|
||||
},
|
||||
"scripts": {
|
||||
"bundle": "webpack && NODE_ENV=production webpack -p"
|
||||
|
|
Loading…
Reference in New Issue