amical/turbo.json
Naomi Chopra 17fdb72be2 feat(www): migrate www to cloudflare worker (#21)
* feat(www): switch to cloudflare workers

* feat(turbo): add AWS environment variables to global config and build task

* update readme
2025-06-25 01:24:57 +05:30

30 lines
861 B
JSON

{
"$schema": "https://turborepo.com/schema.json",
"ui": "tui",
"globalEnv": ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_REGION", "S3_BUCKET_NAME", "S3_ENDPOINT"],
"tasks": {
"build": {
"dependsOn": ["^build"],
"inputs": ["$TURBO_DEFAULT$", ".env*"],
"outputs": [".next/**", "!.next/cache/**", "bin/**", "out/**"],
"env": ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_REGION", "S3_BUCKET_NAME", "S3_ENDPOINT"]
},
"build:native": {
"dependsOn": [],
"inputs": ["Sources/**", "Package.swift", "main.swift", "scripts/**"],
"outputs": ["bin/**"],
"cache": true
},
"lint": {
"dependsOn": ["^lint"]
},
"check-types": {
"dependsOn": ["^check-types"]
},
"dev": {
"dependsOn": ["^build"],
"cache": false,
"persistent": true
}
}
}