Files
js/turbo.json
T
MananTank 85e7d15f22 Sentry config fixes for dashboard (#5056)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the configuration for `Sentry` in the `next.config.js` file and modifies the `turbo.json` to include an environment variable for `SENTRY_AUTH_TOKEN`. It also refines the `Sentry` setup options for better functionality and logging.

### Detailed summary
- Added `"env": ["SENTRY_AUTH_TOKEN"]` to `turbo.json`.
- Updated `Sentry` configuration in `apps/dashboard/next.config.js`:
  - Changed `silent` from `true` to `false`.
  - Added `authToken: process.env.SENTRY_AUTH_TOKEN`.
- Retained other `Sentry` options with no changes.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-16 21:23:44 +00:00

91 lines
2.0 KiB
JSON

{
"$schema": "https://turborepo.org/schema.json",
"globalEnv": ["CI", "TW_SECRET_KEY"],
"tasks": {
"build": {
"outputs": ["dist/**"],
"dependsOn": ["^build"]
},
"bench": {
"cache": false,
"dependsOn": []
},
"typedoc": {
"outputs": ["typedoc/**"],
"dependsOn": ["^build"]
},
"thirdweb-dashboard#build": {
"env": ["SENTRY_AUTH_TOKEN"],
"outputs": [".next/**", "!.next/cache/**"],
"dependsOn": ["^build"]
},
"portal#build": {
"outputs": [".next/**", "!.next/cache/**", "searchIndex.json"],
"dependsOn": ["^build", "thirdweb#typedoc"]
},
"portal#dev": {
"dependsOn": ["^build", "thirdweb#typedoc"]
},
"playground-web#build": {
"outputs": [".next/**", "!.next/cache/**"],
"dependsOn": ["^build"]
},
"wallet-ui#build": {
"outputs": [".next/**", "!.next/cache/**"],
"dependsOn": ["^build"]
},
"thirdweb#update-version": {
"inputs": ["package.json"],
"outputs": ["src/version.ts"]
},
"test": {
"outputs": ["coverage/**"],
"inputs": ["src/**", "test/**"],
"dependsOn": ["^build"]
},
"storybook": {
"inputs": ["src/**"]
},
"test:legacy": {
"outputs": ["coverage/**"],
"inputs": ["src/**", "test/**"],
"dependsOn": ["^build"]
},
"e2e": {
"outputs": [],
"inputs": ["src/**", "fixtures/**"],
"dependsOn": ["^build"]
},
"e2e:legacy": {
"outputs": [],
"inputs": ["src/**", "fixtures/**"],
"dependsOn": ["^build"]
},
"lint": {
"cache": false,
"outputs": []
},
"lint:legacy": {
"cache": false,
"outputs": []
},
"fix": {
"cache": false,
"outputs": []
},
"format": {
"cache": false
},
"dev": {
"cache": false,
"persistent": true
},
"thirdweb-dashboard#dev": {
"dependsOn": ["^build"]
},
"clean": {
"cache": false
}
}
}