Enable Sentry source map upload in EAS builds
- Remove SENTRY_DISABLE_AUTO_UPLOAD from all build profiles - Add @sentry/cli as explicit dependency to fix pnpm module resolution in EAS cloud builds - SENTRY_AUTH_TOKEN configured as EAS environment secret Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
42a9c29c84
commit
1414924746
3 changed files with 109 additions and 12 deletions
|
|
@ -1,7 +1,8 @@
|
|||
{
|
||||
"cli": {
|
||||
"version": ">= 18.0.0",
|
||||
"appVersionSource": "remote"
|
||||
"appVersionSource": "remote",
|
||||
"promptToConfigurePushNotifications": false
|
||||
},
|
||||
"build": {
|
||||
"development": {
|
||||
|
|
@ -9,16 +10,10 @@
|
|||
"distribution": "internal",
|
||||
"ios": {
|
||||
"simulator": true
|
||||
},
|
||||
"env": {
|
||||
"SENTRY_DISABLE_AUTO_UPLOAD": "true"
|
||||
}
|
||||
},
|
||||
"preview": {
|
||||
"distribution": "internal",
|
||||
"env": {
|
||||
"SENTRY_DISABLE_AUTO_UPLOAD": "true"
|
||||
}
|
||||
"distribution": "internal"
|
||||
},
|
||||
"production": {
|
||||
"autoIncrement": true
|
||||
|
|
@ -29,10 +24,7 @@
|
|||
"ios": {
|
||||
"simulator": true
|
||||
},
|
||||
"environment": "development",
|
||||
"env": {
|
||||
"SENTRY_DISABLE_AUTO_UPLOAD": "true"
|
||||
}
|
||||
"environment": "development"
|
||||
}
|
||||
},
|
||||
"submit": {
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@maplibre/maplibre-react-native": "^10.4.2",
|
||||
"@sentry/cli": "^3.3.5",
|
||||
"@sentry/react-native": "~7.11.0",
|
||||
"@trails-cool/api": "workspace:*",
|
||||
"@trails-cool/gpx": "workspace:*",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue