Skip to content

Commit faec479

Browse files
authored
Merge pull request #203 from getsentry/feature/update-deps
Update dependencies
2 parents 0a9bc1e + 1dc3db0 commit faec479

File tree

7 files changed

+17
-11
lines changed

7 files changed

+17
-11
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ matrix:
1616
- $HOME/.gradle/wrapper/
1717
sudo: required
1818
before_install:
19-
- nvm install 7
19+
- nvm install 8
2020
- node --version
2121
- travis_retry curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
2222
- echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

SentryReactNative.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Pod::Spec.new do |s|
1818
s.preserve_paths = '*.js'
1919

2020
s.dependency 'React'
21-
s.dependency 'Sentry', '~> 3.4.2'
22-
s.dependency 'Sentry/KSCrash', '~> 3.4.2'
21+
s.dependency 'Sentry', '~> 3.4.3'
22+
s.dependency 'Sentry/KSCrash', '~> 3.4.3'
2323

2424
s.source_files = 'ios/RNSentry*.{h,m}'
2525
s.public_header_files = 'ios/RNSentry.h'

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ android {
2121

2222
dependencies {
2323
compile 'com.facebook.react:react-native:+'
24-
compile 'io.sentry:sentry-android:1.4.0'
24+
compile 'io.sentry:sentry-android:1.5.1'
2525
}

appium/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ copy-local-files-to-example:
1414
find example/node_modules/react-native-sentry/ios -name 'RN*.[h|m]' -exec rm {} \;
1515
rm -rf example/node_modules/react-native-sentry/ios/Sentry/Sources/Sentry/*
1616
rm -rf example/node_modules/react-native-sentry/android/*
17+
rm -rf example/node_modules/react-native-sentry/scripts/*
1718
cp -r ../lib/* example/node_modules/react-native-sentry/lib/
19+
cp -r ../scripts/* example/node_modules/react-native-sentry/scripts/
1820
find ../ios -name 'RN*.[h|m]' -exec cp {} example/node_modules/react-native-sentry/ios/ \;
1921
cp -r ../android/* example/node_modules/react-native-sentry/android/
2022
cp -r ../ios/Sentry/Sources/Sentry/* example/node_modules/react-native-sentry/ios/Sentry/Sources/Sentry/
@@ -33,6 +35,6 @@ local-android-test:
3335
fastlane build_android_for_device_farm
3436
ANDROID=1 pytest -vv tests/test_android.py
3537

36-
local-test:
38+
local-test: create-test-bundle new-demo-project copy-local-files-to-example
3739
fastlane build_for_local_appium
3840
pytest -vv tests/test_ios.py

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"chalk": "^1.1.1",
2626
"glob": "7.1.1",
2727
"inquirer": "3.0.6",
28-
"raven-js": "^3.16.1",
29-
"sentry-cli-binary": "^1.16.0",
28+
"raven-js": "^3.17.0",
29+
"sentry-cli-binary": "^1.19.1",
3030
"xcode": "0.9.3"
3131
},
3232
"rnpm": {

scripts/postlink.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const inquirer = require('inquirer');
44
const xcode = require('xcode');
55
const chalk = require('chalk');
66
const pbxFile = require('xcode/lib/pbxFile');
7-
7+
const path = require('path');
88
const PLATFORMS = ['android', 'ios'];
99
const OBJC_HEADER =
1010
'\
@@ -141,7 +141,10 @@ function getProperties(platform) {
141141
{
142142
type: 'input',
143143
default: cachedProps['defaults/url'] || process.env.SENTRY_URL || getDefaultUrl(),
144-
message: 'The Sentry Server URL for ' + getPlatformName(platform),
144+
message:
145+
'The Sentry Server URL for ' +
146+
getPlatformName(platform) +
147+
'. Only needed if you use self hosted Sentry, press enter to use default.',
145148
name: 'defaults/url'
146149
},
147150
{
@@ -383,7 +386,8 @@ function addSentryInit() {
383386
function resolveSentryCliBinaryPath(props) {
384387
return new Promise(function(resolve, reject) {
385388
try {
386-
props['cli/executable'] = require.resolve('sentry-cli-binary/bin/sentry-cli');
389+
const cliPath = require.resolve('sentry-cli-binary/bin/sentry-cli');
390+
props['cli/executable'] = path.relative(process.cwd(), cliPath);
387391
} catch (e) {
388392
// we do nothing and leave everyting as it is
389393
}

0 commit comments

Comments
 (0)