Skip to content

Commit

Permalink
Move flow-typed definitions to repo root
Browse files Browse the repository at this point in the history
Summary:
X-link: facebook/react-native#37636

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

- **Upgrade instructions**: Projects using Flow should install or replicate third party `flow-typed` definitions for React Native dependencies — see https://github.com/facebook/react-native/tree/main/flow-typed and [#37636](facebook/react-native#37636).

Reviewed By: hoxyq

Differential Revision: D46313482

fbshipit-source-id: 3d97d5408e44dd43132664c4933f3ff1075f90a1
  • Loading branch information
huntie authored and facebook-github-bot committed Jun 7, 2023
1 parent ee78831 commit 1204197
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion flow-typed/npm/yargs_v17.x.x.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// flow-typed signature: cab38813101e0a162deaae556391abc8
// flow-typed version: f7c859e705/yargs_v17.x.x/flow_>=v0.104.x

declare module "yargs" {
Expand Down

0 comments on commit 1204197

Please sign in to comment.