Files
supabase/turbo.json
T
1281a9b9ce turbo type-check command and GHA (#11658)
* turbo type-check command and GHA

* Update quality.yml

* Update package.json

* Update packages/common/package.json

Co-authored-by: Ruggero Tomaselli <ruggerotomaselli@gmail.com>

* Run prettier.

* Updating package-lock.

* Fix all prettier errors.

* Add type-check command to studio. Remove the one from common package since it depends on ui package and cannot be built at the moment.

* Rename all commands to typecheck (without -) because it's easier to type.

* Add cache and concurrency to the typecheck github job.

* Rename the quality workflow to typecheck.yml.

---------

Co-authored-by: Ruggero Tomaselli <ruggerotomaselli@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-10-04 17:12:05 +11:00

61 lines
1.4 KiB
JSON

{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**"]
},
"www#build": {
"dependsOn": ["^build"],
"env": [
"SUPABASE_SERVICE_ROLE_SECRET",
"EMAIL_TO_ID_SECRET",
"SUPABASE_URL",
"GITHUB_OAUTH_CLIENT_SECRET"
],
"outputs": [".next/**", "!.next/cache/**"]
},
"docs#build": {
"dependsOn": ["^build"],
"env": ["SUPABASE_SERVICE_ROLE_KEY", "OPENAI_KEY"],
"outputs": [".next/**", "!.next/cache/**"]
},
"studio#build": {
"dependsOn": ["^build"],
"env": [
"SITE_URL",
"AUTH0_AUDIENCE",
"AUTH0_CLIENT_ID",
"AUTH0_CLIENT_SECRET",
"AUTH0_DOMAIN",
"COOKIE_DOMAIN",
"INTERCOM_API_KEY",
"READ_ONLY_API_KEY",
"READ_ONLY_URL",
"SENTRY_AUTH_TOKEN",
"SENTRY_ORG",
"SENTRY_PROJECT",
"SENTRY_URL",
"SESSION_COOKIE_SECRET",
"SUPABASE_ENCRYPTION_KEY",
"PLATFORM_PG_META_URL",
"NEXT_PUBLIC_VERCEL_ENV",
"NEXT_PUBLIC_SITE_URL"
],
"outputs": [".next/**", "!.next/cache/**"]
},
"lint": {
"outputs": []
},
"dev": {
"cache": false
},
"test": {
"cache": false
},
"typecheck": {
"outputs": ["**/node_modules/.cache/tsbuildinfo.json"]
}
}
}