From cf1bc8d6443432ba24efa17cd15ba73072fad193 Mon Sep 17 00:00:00 2001 From: Bhuwan Khattar Date: Sat, 25 Feb 2017 10:21:09 -0800 Subject: [PATCH] s/react-native.js/react-native-implementation.js/ Summary: Renaming since a file with the same name as a package confuses packager Reviewed By: cpojer Differential Revision: D4613215 fbshipit-source-id: 5cfae71d0bb1eef2675689b37a9b42596d25678d --- .../{react-native.js => react-native-implementation.js} | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) rename Libraries/react-native/{react-native.js => react-native-implementation.js} (99%) diff --git a/Libraries/react-native/react-native.js b/Libraries/react-native/react-native-implementation.js similarity index 99% rename from Libraries/react-native/react-native.js rename to Libraries/react-native/react-native-implementation.js index af7d51298..9f7a1cc12 100644 --- a/Libraries/react-native/react-native.js +++ b/Libraries/react-native/react-native-implementation.js @@ -6,6 +6,7 @@ * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * + * @providesModule react-native-implementation * @noflow - get/set properties not yet supported by flow. also `...require(x)` is broken #6560135 */ 'use strict'; diff --git a/package.json b/package.json index 8b7eb620a..63896e740 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "sinon" ] }, - "main": "Libraries/react-native/react-native.js", + "main": "Libraries/react-native/react-native-implementation.js", "files": [ ".flowconfig", "android",