Skip to content

Commit

Permalink
build(deps): patch react native with yarn v3
Browse files Browse the repository at this point in the history
  • Loading branch information
MuckT committed Jul 8, 2024
1 parent 4da0d28 commit 01f534b
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 60 deletions.
21 changes: 21 additions & 0 deletions .yarn/patches/react-native-npm-0.72.15-102f1726dc.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
diff --git a/Libraries/AppDelegate/RCTAppDelegate.h b/Libraries/AppDelegate/RCTAppDelegate.h
index a5bd94cb730a6266f78225da523f54544d539bab..a595044377839e714be6a0bc56ca7b63378ed08b 100644
--- a/Libraries/AppDelegate/RCTAppDelegate.h
+++ b/Libraries/AppDelegate/RCTAppDelegate.h
@@ -7,6 +7,7 @@

#import <React/RCTBridge.h>
#import <React/RCTBridgeDelegate.h>
+#import <UserNotifications/UserNotifications.h>
#import <UIKit/UIKit.h>

@class RCTSurfacePresenterBridgeAdapter;
@@ -49,7 +50,7 @@
(const facebook::react::ObjCTurboModule::InitParams &)params
* - (id<RCTTurboModule>)getModuleInstanceFromClass:(Class)moduleClass
*/
-@interface RCTAppDelegate : UIResponder <UIApplicationDelegate, RCTBridgeDelegate>
+@interface RCTAppDelegate : UIResponder <UIApplicationDelegate, RCTBridgeDelegate, UNUserNotificationCenterDelegate>

/// The window object, used to render the UViewControllers
@property (nonatomic, strong) UIWindow *window;
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,8 @@
"follow-redirects": "^1.15.6",
"redux": "^5.0.1",
"braces": "^3.0.3",
"blind-threshold-bls": "https://github.com/celo-org/blind-threshold-bls-wasm.git#e1e2f8a1ab5154c2f0b1c55cb0d61fbb1d907208"
"blind-threshold-bls": "https://github.com/celo-org/blind-threshold-bls-wasm.git#e1e2f8a1ab5154c2f0b1c55cb0d61fbb1d907208",
"react-native@0.72.15": "patch:react-native@npm%3A0.72.15#./.yarn/patches/react-native-npm-0.72.15-102f1726dc.patch"
},
"detox": {
"testRunner": {
Expand Down
59 changes: 0 additions & 59 deletions patches/react-native+0.71.17.patch

This file was deleted.

49 changes: 49 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21724,6 +21724,55 @@ __metadata:
languageName: node
linkType: hard

"react-native@patch:react-native@npm%3A0.72.15#./.yarn/patches/react-native-npm-0.72.15-102f1726dc.patch::locator=%40valora%2Fwallet%40workspace%3A.":
version: 0.72.15
resolution: "react-native@patch:react-native@npm%3A0.72.15#./.yarn/patches/react-native-npm-0.72.15-102f1726dc.patch::version=0.72.15&hash=5ec9bf&locator=%40valora%2Fwallet%40workspace%3A."
dependencies:
"@jest/create-cache-key-function": ^29.2.1
"@react-native-community/cli": ^11.4.1
"@react-native-community/cli-platform-android": ^11.4.1
"@react-native-community/cli-platform-ios": ^11.4.1
"@react-native/assets-registry": ^0.72.0
"@react-native/codegen": ^0.72.8
"@react-native/gradle-plugin": ^0.72.11
"@react-native/js-polyfills": ^0.72.1
"@react-native/normalize-colors": ^0.72.0
"@react-native/virtualized-lists": ^0.72.8
abort-controller: ^3.0.0
anser: ^1.4.9
ansi-regex: ^5.0.0
base64-js: ^1.1.2
deprecated-react-native-prop-types: ^4.2.3
event-target-shim: ^5.0.1
flow-enums-runtime: ^0.0.5
invariant: ^2.2.4
jest-environment-node: ^29.2.1
jsc-android: ^250231.0.0
memoize-one: ^5.0.0
metro-runtime: ^0.76.9
metro-source-map: ^0.76.9
mkdirp: ^0.5.1
nullthrows: ^1.1.1
pretty-format: ^26.5.2
promise: ^8.3.0
react-devtools-core: ^4.27.2
react-refresh: ^0.4.0
react-shallow-renderer: ^16.15.0
regenerator-runtime: ^0.13.2
scheduler: 0.24.0-canary-efb381bbf-20230505
stacktrace-parser: ^0.1.10
use-sync-external-store: ^1.0.0
whatwg-fetch: ^3.0.0
ws: ^6.2.2
yargs: ^17.6.2
peerDependencies:
react: 18.2.0
bin:
react-native: cli.js
checksum: f85dd622da4af5b417f62c3ad4b05f45f0b8af825704443b8e03cea1ff9ad80416d37f0e9803b82c0cb5d1949444cb24993a5db9f1d40e2a6641a86fa7505289
languageName: node
linkType: hard

"react-redux@npm:^9.1.2":
version: 9.1.2
resolution: "react-redux@npm:9.1.2"
Expand Down

0 comments on commit 01f534b

Please sign in to comment.