react-native/packages/react-native-codegen
Eli White 4c37431c7f Support new codegen schema for native modules (#47114)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/47114

Export the EventEmitter annotation from the codegen

Changelog: [Internal]

Reviewed By: GijsWeterings

Differential Revision: D63995813

fbshipit-source-id: 0211c21d7813da03bf8b6680095e016a621c188b
2024-10-21 16:43:49 -07:00
..
e2e Breaking: Remove BaseViewManagerInterface (#46809) 2024-10-09 14:49:01 -07:00
scripts chore: replace mkdirp with mkdir fs (#46388) 2024-09-17 07:03:44 -07:00
src Support new codegen schema for native modules (#47114) 2024-10-21 16:43:49 -07:00
.babelrc fix: deprecated babel plugins issue fixed (#44416) 2024-05-08 12:51:00 -07:00
.prettierrc
package.json Update hermes-parser and related packages in fbsource to 0.24.0 (#46802) 2024-10-03 08:20:16 -07:00
README.md

@react-native/codegen

Version

Installation

yarn add --dev @react-native/codegen

Note: We're using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like

Testing

To run the tests in this package, run the following commands from the React Native root folder:

  1. yarn to install the dependencies. You just need to run this once
  2. yarn jest packages/react-native-codegen.