From 1cff06dca3b7bfe4311fb83bdba992f9eeb25853 Mon Sep 17 00:00:00 2001 From: James Ide Date: Wed, 29 Apr 2015 08:21:44 -0700 Subject: [PATCH] [podspec] Include podspec in npm distribution Summary: The way RCT_EXPORT_MODULE currently works, any module that is included as a pod also needs react itself to be included as a pod. npm seems to be the preferred way to get the latest copy of react (compared to github directly or the cocoapods repo) so what this diff enables is including react as a pod if it was installed via npm. Closes https://github.com/facebook/react-native/pull/1057 Github Author: James Ide Test Plan: Imported from GitHub, without a `Test Plan:` line. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 5b7bedeaa..40a3e9b51 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "main": "Libraries/react-native/react-native.js", "files": [ "React", + "React.podspec", "Examples/SampleApp", "Libraries", "packager",