Files
shadcn 352f2094bd feat(registry): add health monitoring (#11616)
* feat(registry): add health monitoring

* fix(registry): cache health directory route

* fix(registry): harden health state transitions
2026-08-25 15:49:59 +04:00

106 lines
2.2 KiB
JSON

{
"$schema": "https://turbo.build/schema.json",
"globalEnv": ["NODE_ENV"],
"tasks": {
"build": {
"dependsOn": ["^build"],
"env": [
"NEXT_PUBLIC_APP_URL",
"UPSTASH_REDIS_REST_URL",
"UPSTASH_REDIS_REST_TOKEN",
"COMPONENTS_REGISTRY_URL",
"REGISTRY_URL",
"npm_config_user_agent",
"https_proxy",
"V0_URL",
"V0_EDIT_SECRET",
"DEPLOYMENT_PROTECTION_BYPASS"
],
"outputs": [
"dist/**",
".next/**",
"!.next/cache/**",
"public/r/styles/**",
"styles/**"
]
},
"preview": {
"env": ["NEXT_PUBLIC_APP_URL"],
"outputs": ["dist/**", ".next/**"]
},
"start": {
"dependsOn": ["^build"]
},
"lint": {
"cache": false,
"outputs": []
},
"lint:fix": {
"cache": false,
"outputs": []
},
"format:check": {
"cache": false,
"outputs": []
},
"format:write": {
"outputs": []
},
"typecheck": {},
"dev": {
"cache": false,
"persistent": true
},
"check": {
"cache": false
},
"test": {
"dependsOn": ["^build"],
"cache": false,
"outputs": []
},
"registry:build": {
"outputs": []
},
"registry:health": {
"dependsOn": ["^build"],
"cache": false,
"env": ["MONITOR_MODE"],
"passThroughEnv": [
"BLOB_READ_WRITE_TOKEN",
"VERCEL_OIDC_TOKEN",
"BLOB_STORE_ID",
"GITHUB_STEP_SUMMARY"
],
"outputs": []
},
"registry:health:prepare": {
"dependsOn": ["^build"],
"cache": false,
"passThroughEnv": [
"BLOB_READ_WRITE_TOKEN",
"VERCEL_OIDC_TOKEN",
"BLOB_STORE_ID"
],
"outputs": []
},
"registry:health:check": {
"dependsOn": ["^build"],
"cache": false,
"env": ["MONITOR_MODE"],
"outputs": []
},
"registry:health:publish": {
"dependsOn": ["^build"],
"cache": false,
"passThroughEnv": [
"BLOB_READ_WRITE_TOKEN",
"VERCEL_OIDC_TOKEN",
"BLOB_STORE_ID",
"GITHUB_STEP_SUMMARY"
],
"outputs": []
}
}
}