Files
supabase/turbo.json
T
f7292dce8c Chore/spam page (#29854)
* Add spam page

* Add select

* Add experimental flag in next.config to see if it resolves the build issue

* Add slack webhook call

* updated endpoint

* revert

* update

* fix placeholder styling in Select

* clean

* Update [ref].tsx

* Update select.tsx

* revert

* protect form and endpoint from bad ref abuse

* Delete spam api route

* Add api route back

* Basic api route

* Rename

* rename route

* Add as route handler

* Stub in supabase update

* Add the proper supabase project

* Rename spam to opt-out

* Swap anon for service role key

* Rename env var

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2024-11-13 14:09:24 -03:30

98 lines
2.5 KiB
JSON

{
"$schema": "https://turbo.build/schema.json",
"ui": "stream",
"tasks": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**"]
},
"design-system#build": {
"dependsOn": ["^build"],
"env": ["NEXT_PUBLIC_*"],
"outputs": [".next/**", "!.next/cache/**", ".contentlayer/**"]
},
"docs#build": {
"dependsOn": ["^build"],
"env": [
"ANALYZE",
"DOCS_GITHUB_APP_ID",
"DOCS_GITHUB_APP_INSTALLATION_ID",
"DOCS_GITHUB_APP_PRIVATE_KEY",
"DOCS_REVALIDATION_KEYS",
"DOCS_REVALIDATION_OVERRIDE_KEYS",
"NEXT_PUBLIC_*",
"NODE_ENV",
"OPENAI_API_KEY",
"SUPABASE_SECRET_KEY"
],
"inputs": ["$TURBO_DEFAULT$", "../../examples"],
"outputs": [".next/**", "!.next/cache/**"]
},
"studio#build": {
"dependsOn": ["^build"],
"env": [
"ANALYZE",
"AUTH_JWT_SECRET",
"DEFAULT_ORGANIZATION_NAME",
"DEFAULT_PROJECT_NAME",
"DOCS_GITHUB_APP_ID",
"DOCS_GITHUB_APP_INSTALLATION_ID",
"DOCS_GITHUB_APP_PRIVATE_KEY",
"LOGFLARE_API_KEY",
"LOGFLARE_URL",
"NEXT_PUBLIC_*",
"OPENAI_API_KEY",
"PLATFORM_PG_META_URL",
"READ_ONLY_API_KEY",
"READ_ONLY_URL",
"STUDIO_PG_META_URL",
"SUPABASE_ANON_KEY",
"SUPABASE_PUBLIC_URL",
"SUPABASE_SERVICE_KEY",
"SUPABASE_URL",
"VERCEL_GIT_COMMIT_SHA",
"VERCEL_ENV",
"VERCEL_URL"
],
"passThroughEnv": ["SENTRY_ORG", "SENTRY_PROJECT", "SENTRY_AUTH_TOKEN"],
"outputs": [".next/**", "!.next/cache/**"]
},
"www#build": {
"dependsOn": ["^build"],
"env": [
"ANALYZE",
"GITHUB_CHANGELOG_APP_*",
"MISC_USE_SERVICE_ROLE_KEY",
"NEXT_PUBLIC_*",
"NODE_ENV",
"OPENAI_API_KEY",
"npm_lifecycle_event",
"LIVE_SUPABASE_COM_SERVICE_ROLE_KEY",
"VERCEL_URL",
"HUBSPOT_PORTAL_ID",
"HUBSPOT_ENTERPRISE_FORM_GUID",
"EMAIL_REPORT_SLACK_WEBHOOK",
"EMAIL_ABUSE_SERVICE_KEY"
],
"outputs": [".next/**", "!.next/cache/**", ".contentlayer/**"]
},
"lint": {
"outputs": []
},
"clean": {
"outputs": [],
"cache": false
},
"dev": {
"cache": false
},
"test": {
"cache": false
},
"typecheck": {
"dependsOn": ["^typecheck"],
"outputs": ["**/node_modules/.cache/tsbuildinfo.json"]
}
}
}