Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🔥 Remove unused env vars
Luke Vellae87783e1fd11
diff --git a/apps/landing/declarations/environment.d.ts b/apps/landing/declarations/environment.d.tsindex 0efd139e0..9f1abe591 100644--- a/apps/landing/declarations/environment.d.ts+++ b/apps/landing/declarations/environment.d.ts@@ -9,18 +9,10 @@ declare global {* "development" or "production"*/NODE_ENV: "development" | "production";- /**- * Set to "true" to take users straight to app instead of landing page- */- DISABLE_LANDING_PAGE?: string;/*** Must be 32 characters long*/SECRET_PASSWORD: string;- /**- * "1" to turn on maintenance mode- */- NEXT_PUBLIC_MAINTENANCE_MODE?: string;/*** Posthog API key*/diff --git a/apps/web/declarations/environment.d.ts b/apps/web/declarations/environment.d.tsindex c1f850939..9f1abe591 100644--- a/apps/web/declarations/environment.d.ts+++ b/apps/web/declarations/environment.d.ts@@ -13,10 +13,6 @@ declare global {* Must be 32 characters long*/SECRET_PASSWORD: string;- /**- * "1" to turn on maintenance mode- */- NEXT_PUBLIC_MAINTENANCE_MODE?: string;/*** Posthog API key*/diff --git a/apps/web/src/env.ts b/apps/web/src/env.tsindex 2ae556b08..ce1010d82 100644--- a/apps/web/src/env.ts+++ b/apps/web/src/env.ts@@ -14,7 +14,6 @@ export const env = createEnv({.enum(["development", "production", "test"]).default("development"),SECRET_PASSWORD: z.string().min(32),- API_SECRET: z.string().min(32).optional(),/*** OIDC Configuration*/@@ -185,7 +184,6 @@ export const env = createEnv({DATABASE_URL: process.env.DATABASE_URL,NODE_ENV: process.env.NODE_ENV,SECRET_PASSWORD: process.env.SECRET_PASSWORD,- API_SECRET: process.env.API_SECRET,OIDC_NAME: process.env.OIDC_NAME,OIDC_DISCOVERY_URL: process.env.OIDC_DISCOVERY_URL,OIDC_CLIENT_ID: process.env.OIDC_CLIENT_ID,diff --git a/turbo.json b/turbo.jsonindex 83b4b88b5..a4a886129 100644--- a/turbo.json+++ b/turbo.json@@ -65,21 +65,18 @@"globalEnv": ["ALLOWED_EMAILS","ANALYZE",- "API_SECRET","AWS_ACCESS_KEY_ID","AWS_REGION","AWS_SECRET_ACCESS_KEY","CRON_SECRET","DATABASE_URL","DIRECT_DATABASE_URL",- "DISABLE_LANDING_PAGE","EMAIL_PROVIDER","GOOGLE_CLIENT_ID","GOOGLE_CLIENT_SECRET","KV_REST_API_TOKEN","KV_REST_API_URL","LICENSE_API_AUTH_TOKEN",- "MAINTENANCE_MODE","MICROSOFT_CLIENT_ID","MICROSOFT_CLIENT_SECRET","MICROSOFT_TENANT_ID",@@ -100,10 +97,6 @@"OPENAI_API_KEY","PORT","RATE_LIMIT_ENABLED",- "QSTASH_CURRENT_SIGNING_KEY",- "QSTASH_NEXT_SIGNING_KEY",- "QSTASH_TOKEN",- "QSTASH_URL","QUICK_CREATE_ENABLED","S3_ACCESS_KEY_ID","S3_BUCKET_NAME",@@ -113,7 +106,6 @@"SECRET_PASSWORD","SENTRY_AUTH_TOKEN","SENTRY_DSN",- "SENTRY_IGNORE_API_RESOLUTION_ERROR","SENTRY_ORG","SENTRY_PROJECT","SKIP_ENV_VALIDATION",