turbo.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "$schema": "https://turbo.build/schema.json",
  3. "extends": ["//"],
  4. "tasks": {
  5. "build:vercel": {
  6. "env": [
  7. "VERCEL_AUTOMATION_BYPASS_SECRET",
  8. "VERCEL_ENV",
  9. "VERCEL_URL",
  10. "GOOGLE_ANALYTICS_ID",
  11. "AMPLITUDE_API_KEY",
  12. "CLICKHOUSE_URL",
  13. "CLICKHOUSE_USERNAME",
  14. "CLICKHOUSE_PASSWORD",
  15. "SOLANA_RPC",
  16. "DISABLE_ACCESSIBILITY_REPORTING",
  17. "NEXT_PUBLIC_PYTHNET_RPC",
  18. "NEXT_PUBLIC_PYTHTEST_CONFORMANCE_RPC",
  19. "REDIS_URL",
  20. "VERCEL_PROJECT_PRODUCTION_URL"
  21. ]
  22. },
  23. "fix:lint": {
  24. "dependsOn": [
  25. "//#install:modules",
  26. "fix:lint:eslint",
  27. "fix:lint:stylelint"
  28. ]
  29. },
  30. "fix:lint:eslint": {
  31. "dependsOn": ["//#install:modules", "^build"],
  32. "cache": false
  33. },
  34. "fix:lint:stylelint": {
  35. "dependsOn": ["//#install:modules"],
  36. "cache": false
  37. },
  38. "start:prod": {
  39. "dependsOn": ["//#install:modules", "build:vercel"]
  40. },
  41. "test:lint": {
  42. "dependsOn": ["test:lint:eslint", "test:lint:stylelint"]
  43. },
  44. "test:lint:eslint": {
  45. "dependsOn": ["//#install:modules", "^build"]
  46. },
  47. "test:lint:stylelint": {
  48. "dependsOn": ["//#install:modules"]
  49. }
  50. }
  51. }