mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
b7a85b59b5
Summary: Renamed react-native-codegen package to react-native/codegen and updated references, without changing the folder name; part of RFC480 (https://github.com/facebook/react-native/issues/34692). Follow-up from https://github.com/facebook/react-native/pull/34578 ## Changelog [General] [Changed] - Renamed react-native-codegen package to react-native/codegen and updated references <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> Pull Request resolved: https://github.com/facebook/react-native/pull/34804 Reviewed By: cortinico Differential Revision: D39883584 Pulled By: hoxyq fbshipit-source-id: 0ef384b75c6edd248b31e37b8f05f64b4d39ca6f
22 lines
604 B
Markdown
22 lines
604 B
Markdown
# @react-native/codegen
|
|
|
|
[![Version][version-badge]][package]
|
|
|
|
## 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*
|
|
|
|
[version-badge]: https://img.shields.io/npm/v/@react-native/codegen?style=flat-square
|
|
[package]: https://www.npmjs.com/package/@react-native/codegen
|
|
|
|
## 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 react-native-codegen`.
|