-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert to yarn1 and create patches for RC5
- Loading branch information
Showing
15 changed files
with
13,057 additions
and
23,057 deletions.
There are no files selected for viewing
Binary file not shown.
12 changes: 0 additions & 12 deletions
12
.yarn/patches/@react-native-community-cli-platform-android-npm-13.6.0-036e406a84.patch
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
12 changes: 0 additions & 12 deletions
12
...le/.yarn/patches/@react-native-community-cli-platform-android-npm-13.6.0-036e406a84.patch
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
diff --git a/node_modules/react-native/React/Base/RCTBridge+Inspector.h b/node_modules/react-native/React/Base/RCTBridge+Inspector.h | ||
new file mode 100644 | ||
index 0000000..54d8db3 | ||
--- /dev/null | ||
+++ b/node_modules/react-native/React/Base/RCTBridge+Inspector.h | ||
@@ -0,0 +1,30 @@ | ||
+/* | ||
+ * Copyright (c) Meta Platforms, Inc. and affiliates. | ||
+ * | ||
+ * This source code is licensed under the MIT license found in the | ||
+ * LICENSE file in the root directory of this source tree. | ||
+ */ | ||
+ | ||
+#import <React/RCTBridge.h> | ||
+ | ||
+#ifdef __cplusplus | ||
+#import <jsinspector-modern/ReactCdp.h> | ||
+#endif | ||
+ | ||
+@interface RCTBridge (Inspector) | ||
+ | ||
+/** | ||
+ * The HostTarget for this bridge, if one has been created. Exposed for RCTCxxBridge only. | ||
+ */ | ||
+@property (nonatomic, assign, readonly) | ||
+#ifdef __cplusplus | ||
+ facebook::react::jsinspector_modern::HostTarget * | ||
+#else | ||
+ // The inspector infrastructure cannot be used in C or Swift code. | ||
+ void * | ||
+#endif | ||
+ inspectorTarget; | ||
+ | ||
+@property (nonatomic, readonly, getter=isInspectable) BOOL inspectable; | ||
+ | ||
+@end | ||
\ No newline at end of file | ||
diff --git a/node_modules/react-native/React/Base/RCTBridge+Private.h b/node_modules/react-native/React/Base/RCTBridge+Private.h | ||
index d9b2be4..4d3caa0 100644 | ||
--- a/node_modules/react-native/React/Base/RCTBridge+Private.h | ||
+++ b/node_modules/react-native/React/Base/RCTBridge+Private.h | ||
@@ -6,9 +6,6 @@ | ||
*/ | ||
|
||
#import <React/RCTBridge.h> | ||
-#ifdef __cplusplus | ||
-#import <jsinspector-modern/ReactCdp.h> | ||
-#endif | ||
|
||
@class RCTModuleRegistry; | ||
@class RCTModuleData; | ||
@@ -73,17 +70,6 @@ RCT_EXTERN void RCTRegisterModule(Class); | ||
*/ | ||
@property (nonatomic, strong, readonly) RCTModuleRegistry *moduleRegistry; | ||
|
||
-/** | ||
- * The page target for this bridge, if one has been created. Exposed for RCTCxxBridge only. | ||
- */ | ||
-@property (nonatomic, assign, readonly) | ||
-#ifdef __cplusplus | ||
- facebook::react::jsinspector_modern::PageTarget * | ||
-#else | ||
- // The inspector infrastructure cannot be used in C code. | ||
- void * | ||
-#endif | ||
- inspectorTarget; | ||
@end | ||
|
||
@interface RCTBridge (RCTCxxBridge) | ||
@@ -155,12 +141,6 @@ RCT_EXTERN void RCTRegisterModule(Class); | ||
|
||
@end | ||
|
||
-@interface RCTBridge (Inspector) | ||
- | ||
-@property (nonatomic, readonly, getter=isInspectable) BOOL inspectable; | ||
- | ||
-@end | ||
- | ||
@interface RCTCxxBridge : RCTBridge | ||
|
||
// TODO(cjhopman): this seems unsafe unless we require that it is only called on the main js queue. | ||
diff --git a/node_modules/react-native/React/Base/RCTBridge.mm b/node_modules/react-native/React/Base/RCTBridge.mm | ||
index 65d827e..9c18905 100644 | ||
--- a/node_modules/react-native/React/Base/RCTBridge.mm | ||
+++ b/node_modules/react-native/React/Base/RCTBridge.mm | ||
@@ -6,6 +6,7 @@ | ||
*/ | ||
|
||
#import "RCTBridge.h" | ||
+#import "RCTBridge+Inspector.h" | ||
#import "RCTBridge+Private.h" | ||
|
||
#import <objc/runtime.h> | ||
diff --git a/node_modules/react-native/React/CoreModules/RCTDevSettings.mm b/node_modules/react-native/React/CoreModules/RCTDevSettings.mm | ||
index b5e81c9..1093050 100644 | ||
--- a/node_modules/react-native/React/CoreModules/RCTDevSettings.mm | ||
+++ b/node_modules/react-native/React/CoreModules/RCTDevSettings.mm | ||
@@ -10,6 +10,7 @@ | ||
#import <objc/runtime.h> | ||
|
||
#import <FBReactNativeSpec/FBReactNativeSpec.h> | ||
+#import <React/RCTBridge+Inspector.h> | ||
#import <React/RCTBridge+Private.h> | ||
#import <React/RCTBridgeModule.h> | ||
#import <React/RCTConstants.h> |
Oops, something went wrong.