react-native-macos/packages/react-native-codegen
Dustin Shahidehpour dbe6fab063 Switch module codegen to use yarn_workspace_binary. (#34015)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/34015

I noticed this was a very slow part of my build because each instance of the binary would run its own yarn install. Instead use the yarn_workspace approach to share a single yarn setup.
Changelog: [Internal]

Reviewed By: IanChilds

Differential Revision: D37178005

fbshipit-source-id: cba51e168c5a2f2ee6468acb8c144db4ad352d95
2022-06-15 13:12:14 -07:00
..
buck_tests Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
e2e Build RN Tester with CMake (#33937) 2022-06-06 08:07:14 -07:00
scripts Use realpath instead of readlink 2022-02-22 02:23:02 -08:00
src Switch module codegen to use yarn_workspace_binary. (#34015) 2022-06-15 13:12:14 -07:00
.babelrc Rewrite ObjC++ module generator 2020-09-29 14:39:40 -07:00
.prettierrc JS: Upgrade to Prettier v2.4.1 [1/n] 2021-11-02 22:14:16 -07:00
BUCK Remove compiler_flags from BUCK modules 2021-10-14 15:34:29 -07:00
DEFS.bzl Switch module codegen to use yarn_workspace_binary. (#34015) 2022-06-15 13:12:14 -07:00
README.md docs: add README and specify file in package.json (#28507) 2020-04-03 11:34:58 -07:00
package.json Bump React Native Codegen to 0.70.0 2022-05-09 09:23:20 -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