Skip to content

Commit

Permalink
Move flow-typed definitions to repo root
Browse files Browse the repository at this point in the history
Summary:
Moves `flow-typed/` directory from `packages/react-native/flow-typed/` to the repo root.

- This is a more suitable location for `flow-typed` definitions for 3P dependencies to be used across React Native packages.
- **Breaking**: We no longer publish these 3P libdefs as part of the `react-native` package (assuming that external use of React Native with Flow is extremely rare, and that these projects can manage their own package libdefs).

Changelog:
[General][Breaking] Remove included `flow-typed/` directory from the `react-native` package

Differential Revision: D46313482

fbshipit-source-id: 2e6bcc2e69e88b330b6ca899bde667df2bbaaecf
  • Loading branch information
huntie authored and facebook-github-bot committed May 31, 2023
1 parent 0e83c53 commit b009f15
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 1 deletion.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// flow-typed signature: cab38813101e0a162deaae556391abc8
// flow-typed version: f7c859e705/yargs_v17.x.x/flow_>=v0.104.x

declare module "yargs" {
Expand Down
1 change: 0 additions & 1 deletion packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"build.gradle.kts",
"cli.js",
"flow",
"flow-typed",
"gradle.properties",
"index.js",
"interface.js",
Expand Down

0 comments on commit b009f15

Please sign in to comment.