From 60f5a80c1d5900e5213aabd3d3a762174996cfd1 Mon Sep 17 00:00:00 2001 From: Fabrizio Cucci Date: Fri, 6 Oct 2023 13:25:37 -0700 Subject: [PATCH] Drop RCT prefix from RCTRequired folder (#39955) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39955 Align `RCTRequired` to the rest of the targets in `react-native-github/packages/react-native/Libraries`. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D50009827 fbshipit-source-id: c2ec9eb9e5fb081a2e2e8f53d33bc21dcf95b279 --- .gitignore | 2 +- .../{RCTRequired/RCTRequired => Required}/RCTRequired.h | 0 .../Libraries/{RCTRequired => Required}/RCTRequired.podspec | 0 packages/react-native/scripts/react_native_pods.rb | 2 +- packages/rn-tester/Podfile.lock | 4 ++-- 5 files changed, 4 insertions(+), 4 deletions(-) rename packages/react-native/Libraries/{RCTRequired/RCTRequired => Required}/RCTRequired.h (100%) rename packages/react-native/Libraries/{RCTRequired => Required}/RCTRequired.podspec (100%) diff --git a/.gitignore b/.gitignore index 4383ce51322ad3..63190fff84637b 100644 --- a/.gitignore +++ b/.gitignore @@ -99,7 +99,7 @@ package-lock.json # Libs that shouldn't have Xcode project /packages/react-native/Libraries/FBLazyVector/**/*.xcodeproj -/packages/react-native/Libraries/RCTRequired/**/*.xcodeproj +/packages/react-native/Libraries/Required/**/*.xcodeproj /packages/react-native/React/CoreModules/**/*.xcodeproj /packages/react-native/React/FBReactNativeSpec/**/*.xcodeproj /packages/react-native-codegen/**/*.xcodeproj diff --git a/packages/react-native/Libraries/RCTRequired/RCTRequired/RCTRequired.h b/packages/react-native/Libraries/Required/RCTRequired.h similarity index 100% rename from packages/react-native/Libraries/RCTRequired/RCTRequired/RCTRequired.h rename to packages/react-native/Libraries/Required/RCTRequired.h diff --git a/packages/react-native/Libraries/RCTRequired/RCTRequired.podspec b/packages/react-native/Libraries/Required/RCTRequired.podspec similarity index 100% rename from packages/react-native/Libraries/RCTRequired/RCTRequired.podspec rename to packages/react-native/Libraries/Required/RCTRequired.podspec diff --git a/packages/react-native/scripts/react_native_pods.rb b/packages/react-native/scripts/react_native_pods.rb index 6f7d8edd54bbbc..844acf95d37947 100644 --- a/packages/react-native/scripts/react_native_pods.rb +++ b/packages/react-native/scripts/react_native_pods.rb @@ -109,7 +109,7 @@ def use_react_native! ( # The Pods which should be included in all projects pod 'FBLazyVector', :path => "#{prefix}/Libraries/FBLazyVector" pod 'FBReactNativeSpec', :path => "#{prefix}/React/FBReactNativeSpec" if !NewArchitectureHelper.new_arch_enabled - pod 'RCTRequired', :path => "#{prefix}/Libraries/RCTRequired" + pod 'RCTRequired', :path => "#{prefix}/Libraries/Required" pod 'RCTTypeSafety', :path => "#{prefix}/Libraries/TypeSafety", :modular_headers => true pod 'React', :path => "#{prefix}/" pod 'React-Core', :path => "#{prefix}/" diff --git a/packages/rn-tester/Podfile.lock b/packages/rn-tester/Podfile.lock index d3c486479953db..65b0af92ac3580 100644 --- a/packages/rn-tester/Podfile.lock +++ b/packages/rn-tester/Podfile.lock @@ -1170,7 +1170,7 @@ DEPENDENCIES: - OpenSSL-Universal (= 1.1.1100) - RCT-Folly (from `../react-native/third-party-podspecs/RCT-Folly.podspec`) - RCT-Folly/Fabric (from `../react-native/third-party-podspecs/RCT-Folly.podspec`) - - RCTRequired (from `../react-native/Libraries/RCTRequired`) + - RCTRequired (from `../react-native/Libraries/Required`) - RCTTypeSafety (from `../react-native/Libraries/TypeSafety`) - React (from `../react-native/`) - React-callinvoker (from `../react-native/ReactCommon/callinvoker`) @@ -1253,7 +1253,7 @@ EXTERNAL SOURCES: RCT-Folly: :podspec: "../react-native/third-party-podspecs/RCT-Folly.podspec" RCTRequired: - :path: "../react-native/Libraries/RCTRequired" + :path: "../react-native/Libraries/Required" RCTTypeSafety: :path: "../react-native/Libraries/TypeSafety" React: