<!--
## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):
## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.
## How to test
Unit tests, playground, etc.
-->
<!-- start pr-codex -->
---
## PR-Codex overview
This PR primarily focuses on cleaning up the environment variables in the `turbo.json` and `.env.example` files, removing several unused keys and updating comments for clarity.
### Detailed summary
- Removed multiple environment variables from `turbo.json`.
- Updated comments and reorganized sections in `apps/dashboard/.env.example`.
- Added `NEXT_PUBLIC_THIRDWEB_VAULT_URL` and `NEXT_PUBLIC_ENGINE_CLOUD_URL` as required.
- Clarified purpose for `DASHBOARD_SECRET_KEY` and `API_ROUTES_CLIENT_ID`.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Chores**
* Cleaned up and reorganized environment variable examples for improved clarity and usability.
* Removed deprecated and unused environment variables.
* Updated placeholder formatting and improved instructions for setting required variables.
* Simplified and reduced the environment variable list used during dashboard build tasks.
* Added new environment variables for insight service and Stripe integration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
113 lines
2.8 KiB
JSON
113 lines
2.8 KiB
JSON
{
|
|
"$schema": "https://turborepo.org/schema.json",
|
|
"globalEnv": ["CI", "TW_SECRET_KEY"],
|
|
"tasks": {
|
|
"bench": {
|
|
"cache": false,
|
|
"dependsOn": []
|
|
},
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["dist/**"]
|
|
},
|
|
"clean": {
|
|
"cache": false
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"e2e": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["$TURBO_DEFAULT$", "src/**", "fixtures/**"],
|
|
"outputs": []
|
|
},
|
|
"e2e:legacy": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["$TURBO_DEFAULT$", "src/**", "fixtures/**"],
|
|
"outputs": []
|
|
},
|
|
"fix": {
|
|
"cache": false,
|
|
"outputs": []
|
|
},
|
|
"format": {
|
|
"cache": false
|
|
},
|
|
"lint": {
|
|
"cache": false,
|
|
"dependsOn": ["^build"],
|
|
"outputs": []
|
|
},
|
|
"lint:legacy": {
|
|
"cache": false,
|
|
"outputs": []
|
|
},
|
|
"playground-web#build": {
|
|
"dependsOn": ["^build"],
|
|
"env": ["ENGINE_ACCESS_TOKEN", "ENGINE_BACKEND_WALLET", "ENGINE_URL"],
|
|
"outputs": [".next/**", "!.next/cache/**"]
|
|
},
|
|
"portal#build": {
|
|
"dependsOn": ["^build", "thirdweb#typedoc"],
|
|
"outputs": [".next/**", "!.next/cache/**", "searchIndex.json"]
|
|
},
|
|
"portal#dev": {
|
|
"dependsOn": ["^build", "thirdweb#typedoc"]
|
|
},
|
|
"storybook": {
|
|
"inputs": ["$TURBO_DEFAULT$", "src/**"]
|
|
},
|
|
"test": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["$TURBO_DEFAULT$", "src/**", "test/**"],
|
|
"outputs": ["coverage/**"]
|
|
},
|
|
"test:legacy": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["$TURBO_DEFAULT$", "src/**", "test/**"],
|
|
"outputs": ["coverage/**"]
|
|
},
|
|
"thirdweb-dashboard#build": {
|
|
"dependsOn": ["^build"],
|
|
"env": [
|
|
"SENTRY_AUTH_TOKEN",
|
|
"BEEHIIV_API_KEY",
|
|
"API_ROUTES_CLIENT_ID",
|
|
"DASHBOARD_SECRET_KEY",
|
|
"SIMPLEHASH_API_KEY",
|
|
"THIRDWEB_ENGINE_URL",
|
|
"THIRDWEB_ACCESS_TOKEN",
|
|
"THIRDWEB_ENGINE_ACCESS_TOKEN",
|
|
"THIRDWEB_ENGINE_WALLET",
|
|
"REDIS_URL",
|
|
"ANALYTICS_SERVICE_URL",
|
|
"DISABLE_FAUCET_CHAIN_IDS",
|
|
"API_SERVER_SECRET",
|
|
"TURNSTILE_SECRET_KEY",
|
|
"NEXT_PUBLIC_TURNSTILE_SITE_KEY",
|
|
"NEXT_PUBLIC_THIRDWEB_ENGINE_FAUCET_WALLET",
|
|
"NEXT_PUBLIC_NEBULA_URL",
|
|
"INSIGHT_SERVICE_API_KEY",
|
|
"STRIPE_SECRET_KEY"
|
|
],
|
|
"outputs": [".next/**", "!.next/cache/**"]
|
|
},
|
|
"thirdweb-dashboard#dev": {
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"thirdweb#update-version": {
|
|
"inputs": ["$TURBO_DEFAULT$", "package.json"],
|
|
"outputs": ["src/version.ts"]
|
|
},
|
|
"typedoc": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["typedoc/**"]
|
|
},
|
|
"wallet-ui#build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": [".next/**", "!.next/cache/**"]
|
|
}
|
|
}
|
|
}
|