Skip to content

Commit

Permalink
Fix: Publish types folder (facebook#34727)
Browse files Browse the repository at this point in the history
Summary:
From changes in facebook#34614, I forgot to actually export the types directory.

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->

[Internal] - Add types directory as part of the npm package

Pull Request resolved: facebook#34727

Test Plan: Verified on [`build_npm_package_1`](https://app.circleci.com/pipelines/github/facebook/react-native/15799/workflows/4fd57bfc-0142-49d9-a1a6-83fa43f0e371/jobs/295438) job where we create the commitly, that `types` folder is included and `__typetests__` are ignored

Reviewed By: cipolleschi

Differential Revision: D39646310

Pulled By: lunaleaps

fbshipit-source-id: 361f7925fa1cdc30d0865d291933c7fce9e0fa49
  • Loading branch information
Luna Wei authored and OlimpiaZurek committed May 22, 2023
1 parent 19044af commit 5158c52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
"!template/node_modules",
"!template/package-lock.json",
"!template/yarn.lock",
"third-party-podspecs"
"third-party-podspecs",
"types"
],
"scripts": {
"start": "react-native start",
Expand Down
1 change: 1 addition & 0 deletions types/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__typetests__

0 comments on commit 5158c52

Please sign in to comment.