Skip to content

Commit

Permalink
test(expo-types): Ensure expo types are bundled and tested with lates…
Browse files Browse the repository at this point in the history
…t core types
  • Loading branch information
bengourley committed Apr 18, 2019
1 parent 4a1c53f commit d68409c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"scripts": {
"bootstrap": "lerna bootstrap",
"build": "lerna run build --scope '@bugsnag/node' --scope '@bugsnag/browser' && lerna run build --ignore '@bugsnag/node' --ignore '@bugsnag/browser'",
"build": "lerna run build --scope '@bugsnag/node' --scope '@bugsnag/browser' --scope='@bugsnag/expo' && lerna run build --ignore '@bugsnag/node' --ignore '@bugsnag/browser' --ignore= '@bugsnag/expo'",
"test:lint": "standard",
"test:unit": "lerna run test --ignore '@bugsnag/browser' --ignore '@bugsnag/node'",
"test:types": "lerna run test:types",
Expand Down
10 changes: 5 additions & 5 deletions packages/expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@
"typescript": "^3.3.3"
},
"dependencies": {
"@bugsnag/core": "^7.0.0-pre-alpha-ben.6",
"@bugsnag/core": "^6.2.0-alpha.1",
"@bugsnag/delivery-expo": "^6.2.0-alpha.1",
"@bugsnag/plugin-browser-session": "^7.0.0-pre-alpha-ben.6",
"@bugsnag/plugin-console-breadcrumbs": "^7.0.0-pre-alpha-ben.6",
"@bugsnag/plugin-browser-session": "^6.2.0-alpha.1",
"@bugsnag/plugin-console-breadcrumbs": "^6.2.0-alpha.1",
"@bugsnag/plugin-expo-app": "^6.2.0-alpha.1",
"@bugsnag/plugin-expo-device": "^6.2.0-alpha.1",
"@bugsnag/plugin-network-breadcrumbs": "^7.0.0-pre-alpha-ben.6",
"@bugsnag/plugin-react": "^7.0.0-pre-alpha-ben.6",
"@bugsnag/plugin-network-breadcrumbs": "^6.2.0-alpha.1",
"@bugsnag/plugin-react": "^6.2.0-alpha.1",
"@bugsnag/plugin-react-native-app-state-breadcrumbs": "^6.2.0-alpha.1",
"@bugsnag/plugin-react-native-connectivity-breadcrumbs": "^6.2.0-alpha.1",
"@bugsnag/plugin-react-native-global-error-handler": "^6.2.0-alpha.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/expo/types/test/fixtures/exposed-types.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Bugsnag } from "../../..";
let bugsnagInstance: Bugsnag.Client | undefined = undefined;
export function notify(error: Bugsnag.NotifiableError, opts?: Bugsnag.INotifyOpts): boolean {
export function notify(error: Bugsnag.NotifiableError, opts?: Bugsnag.INotifyOpts): void {
if (bugsnagInstance === undefined) {
return false
return
}
return bugsnagInstance.notify(error, opts)
}

0 comments on commit d68409c

Please sign in to comment.