From 878d3111253ece79d4756ce8d81d7be5626fe5ee Mon Sep 17 00:00:00 2001 From: Jean Lauliac Date: Tue, 27 Feb 2018 08:28:13 -0800 Subject: [PATCH] npmignore: ignore tests and fixtures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: This try to address #17672 and https://github.com/facebook/metro/issues/139. We should probably not include these folders in the released version of React Native, as they are used only for testing—am I incorrect? cc MoOx, t4deu. I ran: ``` npm pack tar -t -f react-native-1000.0.0.tgz | less ``` Then verified that `__fixture__` was not part of the package. https://github.com/facebook/react-native/pull/17672 [GENERAL] [BUGFIX] [.npmignore] - Do not publish test-specific files Closes https://github.com/facebook/react-native/pull/18019 Differential Revision: D7098211 Pulled By: jeanlauliac fbshipit-source-id: 0748ad8c064450bd2a9f4d6f49675a7f74fb300f --- .npmignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 000000000..e40506d71 --- /dev/null +++ b/.npmignore @@ -0,0 +1,2 @@ +__fixtures__ +__tests__