Skip to content

Commit

Permalink
Run sentry sourcemaps inject in compile script
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Nov 15, 2023
1 parent fb4af80 commit 5d884b4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/altair-electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,15 @@
"repository": "altair-graphql/altair.git",
"scripts": {
"build": "yarn compile && electron-builder",
"compile": "tsc",
"compile": "tsc && yarn sentry:sourcemaps:inject",
"dev": "yarn compile && electron ./dist/",
"prepare": "yarn compile",
"test": "yarn test:unit",
"test:e2e": "([[ -n $RUNNER_OS ]] && [[ $RUNNER_OS != 'Linux' ]]) && exit 0 || playwright test e2e",
"test:e2e:old": "jest -c jest.config.e2e.js --runInBand",
"test:unit": "jest",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org altair-graphql --project electron ./dist && sentry-cli sourcemaps upload --org altair-graphql --project electron ./dist"
"sentry:sourcemaps:inject": "sentry-cli sourcemaps inject --org altair-graphql --project electron ./dist",
"sentry:sourcemaps:upload": "sentry-cli sourcemaps upload --org altair-graphql --project electron ./dist",
"sentry:sourcemaps": "yarn sentry:sourcemaps:inject && yarn sentry:sourcemaps:upload"
}
}

0 comments on commit 5d884b4

Please sign in to comment.