Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set @bugsnag/core as an optional peer dependency #1735

Merged
merged 2 commits into from
May 16, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
[bugsnag-android#1648](https://github.com/bugsnag/bugsnag-android/pull/1648)
- Fixed NDK stack-traces for libraries linked after `Bugsnag.start` was called
[bugsnag-android#1671](https://github.com/bugsnag/bugsnag-android/pull/1671)
- (plugin-react|plugin-vue|plugin-react-navigation|plugin-react-native-navigation) Set `@bugsnag/core` to be an optional peer dependency to avoid unmet peer dependency warnings [#1735](https://github.com/bugsnag/bugsnag-js/pull/1735)

## v7.16.4 (2022-05-03)

Expand Down
5 changes: 5 additions & 0 deletions packages/plugin-react-native-navigation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
"@bugsnag/core": "^7.0.0",
"react-native-navigation": "2 - 7"
},
"peerDependenciesMeta": {
"@bugsnag/core": {
"optional": true
}
},
"scripts": {
"test:types": "tsc -p tsconfig.json"
}
Expand Down
5 changes: 5 additions & 0 deletions packages/plugin-react-navigation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,10 @@
"peerDependencies": {
"@bugsnag/core": "^7.0.0",
"@react-navigation/native": "^5.0 || ^6.0"
},
"peerDependenciesMeta": {
"@bugsnag/core": {
"optional": true
}
}
}
5 changes: 5 additions & 0 deletions packages/plugin-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,10 @@
},
"peerDependencies": {
"@bugsnag/core": "^7.0.0"
},
"peerDependenciesMeta": {
"@bugsnag/core": {
"optional": true
}
}
}
5 changes: 5 additions & 0 deletions packages/plugin-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,10 @@
},
"peerDependencies": {
"@bugsnag/core": "^7.0.0"
},
"peerDependenciesMeta": {
"@bugsnag/core": {
"optional": true
}
}
}