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.

#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
Jean Lauliac authored and facebook-github-bot committed Feb 27, 2018
1 parent 28c694f commit a759a44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Libraries/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__tests__
2 changes: 2 additions & 0 deletions local-cli/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
__fixtures__
__tests__

0 comments on commit a759a44

Please sign in to comment.