From c3a1ae3c3efbb720f9d8b5f8b8021151a39e2e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Norte?= Date: Tue, 30 Apr 2024 03:25:59 -0700 Subject: [PATCH] Add comment to indicate how to update generated files for feature flags in ReactNativeFeatureFlags.config.js Summary: Changelog: [internal] We have a comment explaining how to update all generated files everywhere but here. Reviewed By: NickGerleman Differential Revision: D56717344 fbshipit-source-id: cc538e37dd6ab09f67d67bb13ce4e560870d44d0 --- .../featureflags/ReactNativeFeatureFlags.config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/react-native/scripts/featureflags/ReactNativeFeatureFlags.config.js b/packages/react-native/scripts/featureflags/ReactNativeFeatureFlags.config.js index e2ffa3d9124..f62142da2f7 100644 --- a/packages/react-native/scripts/featureflags/ReactNativeFeatureFlags.config.js +++ b/packages/react-native/scripts/featureflags/ReactNativeFeatureFlags.config.js @@ -12,6 +12,14 @@ import type {FeatureFlagDefinitions} from './types'; +/** + * This is the source of truth for React Native feature flags. + * + * If you modify this file, you need to update all the generated files + * running the following script from the repo root: + * yarn featureflags-update + */ + // These flags are only used in tests for the feature flags system const testDefinitions: FeatureFlagDefinitions = { common: {