couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [couchdb-fauxton] branch preactjs updated: add React as devDependency
Date Tue, 22 Aug 2017 08:41:19 GMT
This is an automated email from the ASF dual-hosted git repository.

garren pushed a commit to branch preactjs
in repository https://gitbox.apache.org/repos/asf/couchdb-fauxton.git


The following commit(s) were added to refs/heads/preactjs by this push:
     new bea5f9b  add React as devDependency
bea5f9b is described below

commit bea5f9bad419c8f3a82b818c487d93bf829d66bd
Author: Garren Smith <garren.smith@gmail.com>
AuthorDate: Tue Aug 22 10:41:08 2017 +0200

    add React as devDependency
---
 app/addons/components/components/tray.js |  1 -
 package-lock.json                        | 36 ++++++++++++++++++++++++++++++++
 package.json                             |  2 ++
 webpack.config.test.js                   |  6 +-----
 4 files changed, 39 insertions(+), 6 deletions(-)

diff --git a/app/addons/components/components/tray.js b/app/addons/components/components/tray.js
index 256bf13..c8abed5 100644
--- a/app/addons/components/components/tray.js
+++ b/app/addons/components/components/tray.js
@@ -44,7 +44,6 @@ export const TrayContents = React.createClass({
   },
 
   render () {
-    console.log('tt', this.props);
     return (
       <Overlay
        show={this.props.contentVisible}
diff --git a/package-lock.json b/package-lock.json
index 8ae6ed2..8e0eb71 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3957,6 +3957,17 @@
         }
       }
     },
+    "create-react-class": {
+      "version": "15.6.0",
+      "resolved": "https://registry.npmjs.org/create-react-class/-/create-react-class-15.6.0.tgz",
+      "integrity": "sha1-q0SEl8JlZuHilBPogyB9V8/nvtQ=",
+      "dev": true,
+      "requires": {
+        "fbjs": "0.8.14",
+        "loose-envify": "1.3.1",
+        "object-assign": "4.1.1"
+      }
+    },
     "css-loader": {
       "version": "0.26.4",
       "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-0.26.4.tgz",
@@ -21249,6 +21260,19 @@
         }
       }
     },
+    "react": {
+      "version": "15.6.1",
+      "resolved": "https://registry.npmjs.org/react/-/react-15.6.1.tgz",
+      "integrity": "sha1-uqhDTsZ4C96ZfNw4C3nNM7ljk98=",
+      "dev": true,
+      "requires": {
+        "create-react-class": "15.6.0",
+        "fbjs": "0.8.14",
+        "loose-envify": "1.3.1",
+        "object-assign": "4.1.1",
+        "prop-types": "15.5.10"
+      }
+    },
     "react-addons-test-utils": {
       "version": "15.4.2",
       "resolved": "https://registry.npmjs.org/react-addons-test-utils/-/react-addons-test-utils-15.4.2.tgz",
@@ -21569,6 +21593,18 @@
         }
       }
     },
+    "react-dom": {
+      "version": "15.6.1",
+      "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-15.6.1.tgz",
+      "integrity": "sha1-LLDtQZEDjlPCCes6eaI+Kkz5lHA=",
+      "dev": true,
+      "requires": {
+        "fbjs": "0.8.14",
+        "loose-envify": "1.3.1",
+        "object-assign": "4.1.1",
+        "prop-types": "15.5.10"
+      }
+    },
     "react-redux": {
       "version": "5.0.6",
       "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-5.0.6.tgz",
diff --git a/package.json b/package.json
index 235e7a0..8088ddd 100644
--- a/package.json
+++ b/package.json
@@ -32,7 +32,9 @@
     "phantomjs-prebuilt": "^2.1.7",
     "preact-compat-enzyme": "^0.2.5",
     "preact-test-utils": "^0.1.3",
+    "react": "^15.6.1",
     "react-addons-test-utils": "~15.4.2",
+    "react-dom": "^15.6.1",
     "redux-devtools": "^3.3.1",
     "redux-mock-store": "^1.2.1",
     "sinon": "git+https://github.com/sinonjs/sinon.git"
diff --git a/webpack.config.test.js b/webpack.config.test.js
index 10fd795..e102163 100644
--- a/webpack.config.test.js
+++ b/webpack.config.test.js
@@ -98,11 +98,7 @@ module.exports = {
     extensions: ['*', '.js', '.jsx'], //We can use .js and React's .jsx files using Babel
     alias: {
       "bootstrap": "../assets/js/libs/bootstrap",
-      "underscore": "lodash",
-      "react": "preact-compat",
-      "react-dom": "preact-compat",
-      "react-addons-css-transition-group": "react-transition-group",
-      "create-react-class": "preact-compat/lib/create-react-class"
+      "underscore": "lodash"
     }
   },
   output: {

-- 
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <commits@couchdb.apache.org>'].

Mime
View raw message