react-native-macos/packages
Sota Ogo 6ece1a92b1 Only add fabric example component when using codegen discovery (#32723)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/32723

D32128979 (baded0f9e3) added a fabric example to RNTester, and that broke the circle CI test because of a build issue introduced by an build ordering issue (codegen for the example component didn't happen in time). Using codegen discovery the issue wouldn't happen, so I made it only install when use_codegen_discovery == 1.

Caveat is that this would make opening the New Architecture Example throw an error since the native module doesn't exist when running pod install without USE_CODEGEN_DISCOVERY flag. Therefore, I added a message that codegen discovery needs to be enabled in order to try out the example.

Changelog: [internal] Fix rn-tester build

Reviewed By: mdvacca

Differential Revision: D32974821

fbshipit-source-id: b0318ebf122ba00c0121c17a819a730133ab67be
2021-12-08 21:46:12 -08:00
..
assets Assume *.ktx assets are packaged as Android drawables 2021-11-22 13:56:53 -08:00
babel-plugin-codegen Fallback to use lib when src doesn't exist. 2021-12-07 12:34:50 -08:00
eslint-config-react-native-community Disable ESLint `no-undef` for TypeScript files (#32655) 2021-12-02 14:43:36 -08:00
eslint-plugin-react-native-community JS: Format with Prettier v2.4.1 [3/n] 2021-11-02 22:14:16 -07:00
eslint-plugin-specs eslint-plugin-specs prepublish step 2021-12-08 20:28:17 -08:00
normalize-color Fix invalid @flow modes in xplat 2021-11-17 20:47:42 -08:00
polyfills RN: Follow-up Format w/ Prettier v2.x 2021-11-09 13:16:43 -08:00
react-native-codegen Version bump 2021-12-08 20:56:35 -08:00
react-native-gradle-plugin Make hermes-executor-common a static lib (#32683) 2021-12-01 11:19:23 -08:00
rn-tester Only add fabric example component when using codegen discovery (#32723) 2021-12-08 21:46:12 -08:00