View .babelrc
{
"presets": ["./.babelrc.js"],
}
View .babelrc
{
"plugins": [
["babel-preset-fbjs/plugins/rewrite-modules", {
map: {
'./original': './rewritten'
},
prefix: '',
}]
],
}
View .babelrc
{
"plugins": [
["babel-preset-fbjs/plugins/rewrite-modules", {
map: {
'./original/foo': './rewritten/foo'
},
prefix: '',
}]
],
}
View foo.diff
diff --git a/package.json b/package.json
index 7747f0d5..1b490635 100644
--- a/package.json
+++ b/package.json
@@ -31,25 +31,25 @@
"babel-traverse": "6.25.0",
"babel-types": "6.25.0",
"babylon": "6.17.3",
"chalk": "^1.1.3",
"del": "2.2.2",
View foo.diff
diff --git a/package.json b/package.json
index 7747f0d5..847fbf47 100644
--- a/package.json
+++ b/package.json
@@ -31,25 +31,25 @@
"babel-traverse": "6.25.0",
"babel-types": "6.25.0",
"babylon": "6.17.3",
"chalk": "^1.1.3",
"del": "2.2.2",
View eslint-check-config.js
/**
* Finds rules that are supported by ESLint but not defined in our config.
*/
var ourRules = new Set(Object.keys(require('./.eslintrc.js').rules))
var supportedRules = new Set(Object.keys(require('./node_modules/eslint/lib/load-rules')()));
var missing = new Set();
var extra = new Set();
View index.html
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf8">
<title>Testing</title>
</head>
<body>
<div id="container">
React will render here
</div>
View foo.diff
commit 42b1cba0486a846f355bdc8005de4b2bfdea9010
Author: Paul O’Shannessy <paul@oshannessy.com>
Date: Wed Mar 30 11:57:27 2016 -0700
Make sure simulated events don't warn when providing extra event properties
commit 2d069fc5e6774b37ea4fb71ec220cefd7334bee0
Author: Sebastian Markbage <sema@fb.com>
Date: Tue Apr 5 13:40:49 2016 -0700
View foo.diff
diff --git a/src/React.js b/src/React.js
deleted file mode 100644
index 5aa15e8..0000000
--- a/src/React.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Copyright 2013-present, Facebook, Inc.
- * All rights reserved.
- *
View -
commit d10b355b42d42b5c5a8da9c1c2901cca053f6ce7
Merge: 80bff53 28a97db
Author: Paul O’Shannessy <paul@oshannessy.com>
Date: Tue Apr 5 13:27:13 2016 -0700
Merge pull request #6228 from everdimension/fix_option_value
set value property explicitly for "option" element even if value is empty
commit 1573baaee8ba1c9cd84145b01effcb5eb80503fb