Files
supabase/turbo.json
Greg Richardson a6f1313490 AI SQL: Update model + add test suite (#19644)
* refactor: ai sql logic to common package

* feat: ai sql tests

* feat: test rls policy ai chat assistant

* refactor: jest env loading

* feat(ai): improve sql title and description quality

* fix: ai message role type

* Move the new files to a separate package.

* Remove a forgotten console.log.

* Migrate the tests to use snapshots and commit the snapshots.

* Separate the functions which require edge runtime to be exported via /edge subpath.

* Bust the turbo cache when one of the deps has been rebuilt.

* chore: fix package main/type references

* fix: package lock out of sync

* fix: ai sql debugging to fix typos

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-12-18 11:23:59 -07:00

62 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": {
"dependsOn": ["^typecheck"],
"outputs": ["**/node_modules/.cache/tsbuildinfo.json"]
}
}
}