Skip to content

Commit

Permalink
npmignore: ignore tests and fixtures
Browse files Browse the repository at this point in the history
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.

facebook/react-native#17672

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

Differential Revision: D7098211

Pulled By: jeanlauliac

fbshipit-source-id: 0748ad8c064450bd2a9f4d6f49675a7f74fb300f
  • Loading branch information
Jean Lauliac authored and facebook-github-bot committed Feb 27, 2018
1 parent 66bca29 commit 878d311
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
__fixtures__
__tests__

0 comments on commit 878d311

Please sign in to comment.