-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Upgrade sentry packages (#2119)
* chore: Upgrade sentry packages * fix yarn.lock * pod update * Update Podfile * fix: getsentry/sentry-react-native#4095 --------- Co-authored-by: iGroza <[email protected]> Co-authored-by: Kirill Ageychenko <[email protected]>
- Loading branch information
1 parent
755bcea
commit 3ecd876
Showing
8 changed files
with
409 additions
and
240 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
.yarn/patches/@sentry-react-native-npm-5.33.1-7dbdef21fa.patch
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,22 @@ | ||
diff --git a/sentry.gradle b/sentry.gradle | ||
index 99f2bafdfdb17dc65c2cdf19d40b11e4fc3b1158..23c40f19e3f5f57ed2b7bde3e7cd66f124702f33 100644 | ||
--- a/sentry.gradle | ||
+++ b/sentry.gradle | ||
@@ -162,7 +162,7 @@ gradle.projectsEvaluated { | ||
|
||
def resolvedCliPackage = null | ||
try { | ||
- resolvedCliPackage = new File(["node", "--print", "require.resolve('@sentry/cli/package.json')"].execute(null, rootDir).text.trim()).getParentFile(); | ||
+ resolvedCliPackage = new File("$reactRoot/node_modules/@sentry/react-native/package.json").getParentFile(); | ||
} catch (Throwable ignored) {} | ||
def cliPackage = resolvedCliPackage != null && resolvedCliPackage.exists() ? resolvedCliPackage.getAbsolutePath() : "$reactRoot/node_modules/@sentry/cli" | ||
def cliExecutable = sentryProps.get("cli.executable", "$cliPackage/bin/sentry-cli") | ||
@@ -290,7 +290,7 @@ gradle.projectsEvaluated { | ||
def resolveSentryReactNativeSDKPath(reactRoot) { | ||
def resolvedSentryPath = null | ||
try { | ||
- resolvedSentryPath = new File(["node", "--print", "require.resolve('@sentry/react-native/package.json')"].execute(null, rootDir).text.trim()).getParentFile(); | ||
+ resolvedSentryPath = new File("$reactRoot/node_modules/@sentry/react-native/package.json").getParentFile(); | ||
} catch (Throwable ignored) {} // if the resolve fails we fallback to the default path | ||
def sentryPackage = resolvedSentryPath != null && resolvedSentryPath.exists() ? resolvedSentryPath.getAbsolutePath() : "$reactRoot/node_modules/@sentry/react-native" | ||
return sentryPackage |
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
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,7 +67,7 @@ | |
"@react-navigation/native": "6.1.7", | ||
"@react-navigation/native-stack": "6.9.13", | ||
"@react-navigation/stack": "6.3.17", | ||
"@sentry/react-native": "5.7.1", | ||
"@sentry/react-native": "5.33.1", | ||
"@tradle/react-native-http": "2.0.1", | ||
"@walletconnect/core": "2.11.2", | ||
"@walletconnect/react-native-compat": "2.11.2", | ||
|
@@ -176,7 +176,7 @@ | |
"@babel/runtime": "7.23.4", | ||
"@react-native-community/eslint-config": "3.2.0", | ||
"@react-native/metro-config": "0.72.11", | ||
"@sentry/cli": "2.20.5", | ||
"@sentry/cli": "2.36.6", | ||
"@tsconfig/react-native": "3.0.2", | ||
"@types/bn.js": "5.1.1", | ||
"@types/create-hash": "1.2.2", | ||
|
@@ -242,5 +242,8 @@ | |
"stream": "stream-browserify", | ||
"vm": "vm-browserify" | ||
}, | ||
"packageManager": "[email protected]" | ||
"packageManager": "[email protected]", | ||
"resolutions": { | ||
"@sentry/[email protected]": "patch:@sentry/react-native@npm%3A5.33.1#./.yarn/patches/@sentry-react-native-npm-5.33.1-7dbdef21fa.patch" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.