The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: turn on typechecking on prod build (#38715)
Charisa054caea9b90
diff --git a/apps/docs/next.config.mjs b/apps/docs/next.config.mjsindex ad41748131f..d1419a3e104 100644--- a/apps/docs/next.config.mjs+++ b/apps/docs/next.config.mjs@@ -156,9 +156,10 @@ const nextConfig = {]},typescript: {- // WARNING: production builds can successfully complete even there are type errors- // Typechecking is checked separately via .github/workflows/typecheck.yml- ignoreBuildErrors: true,+ // On previews, typechecking is run via GitHub Action only for efficiency+ // On production, we turn it on to prevent errors from conflicting PRs getting into+ // prod+ ignoreBuildErrors: process.env.NEXT_PUBLIC_VERCEL_ENV === 'production' ? false : true,},eslint: {// We are already running linting via GH action, this will skip linting during production build on Verceldiff --git a/apps/studio/next.config.js b/apps/studio/next.config.jsindex c3846e9c7ca..e24287147d2 100644--- a/apps/studio/next.config.js+++ b/apps/studio/next.config.js@@ -526,9 +526,10 @@ const nextConfig = {pagesBufferLength: 100,},typescript: {- // WARNING: production builds can successfully complete even there are type errors- // Typechecking is checked separately via .github/workflows/typecheck.yml- ignoreBuildErrors: true,+ // On previews, typechecking is run via GitHub Action only for efficiency+ // On production, we turn it on to prevent errors from conflicting PRs getting into+ // prod+ ignoreBuildErrors: process.env.NEXT_PUBLIC_VERCEL_ENV === 'production' ? false : true,},eslint: {// We are already running linting via GH action, this will skip linting during production build on Verceldiff --git a/apps/www/next.config.mjs b/apps/www/next.config.mjsindex e5dcfa5ca18..67903e5e1cf 100644--- a/apps/www/next.config.mjs+++ b/apps/www/next.config.mjs@@ -148,9 +148,10 @@ const nextConfig = {return redirects},typescript: {- // WARNING: production builds can successfully complete even there are type errors- // Typechecking is checked separately via .github/workflows/typecheck.yml- ignoreBuildErrors: true,+ // On previews, typechecking is run via GitHub Action only for efficiency+ // On production, we turn it on to prevent errors from conflicting PRs getting into+ // prod+ ignoreBuildErrors: process.env.NEXT_PUBLIC_VERCEL_ENV === 'production' ? false : true,},eslint: {// We are already running linting via GH action, this will skip linting during production build on Vercel.