Permalink
Browse files

npmignore: ignore tests and fixtures

Summary:
This try to address #17672 and facebook/metro#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.

#17672

[GENERAL] [BUGFIX] [.npmignore] - Do not publish test-specific files
Closes #18019

Differential Revision: D7098211

Pulled By: jeanlauliac

fbshipit-source-id: 0748ad8c064450bd2a9f4d6f49675a7f74fb300f
  • Loading branch information...
jeanlauliac authored and facebook-github-bot committed Feb 27, 2018
1 parent 28c694f commit a759a44358711180b37cf4ad25f28af47e3de298
Showing with 3 additions and 0 deletions.
  1. +1 −0 Libraries/.npmignore
  2. +2 −0 local-cli/.npmignore
@@ -0,0 +1 @@
__tests__
@@ -0,0 +1,2 @@
__fixtures__
__tests__

0 comments on commit a759a44

Please sign in to comment.