mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
462d93d9c1
Summary: Jscodeshift has become maintained again in the past year, and has gotten rid of quite a good chunk of old dependencies that are no longer needed! ## 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] [Changed] - update jscodeshift Pull Request resolved: https://github.com/facebook/react-native/pull/35356 Reviewed By: cipolleschi Differential Revision: D41325527 Pulled By: rshest fbshipit-source-id: 666b25c9bb3b1720479e9e098968b3b983adc2b4
react-native-codegen
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:
yarnto install the dependencies. You just need to run this onceyarn jest react-native-codegen.