From ddf93c09273cb8bf752f09588947d33c57aac904 Mon Sep 17 00:00:00 2001 From: Aman Varshney Date: Sun, 3 Aug 2025 07:44:08 +0530 Subject: [PATCH] fix convex deployment --- .gitignore | 1 + apps/web/public/analytics-minimal.json | 10 +++++----- apps/web/src/app/layout.tsx | 2 -- package.json | 5 ++++- turbo.json | 4 ++++ 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 344eb8b..85f3209 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,4 @@ yarn-error.log* .DS_Store *.pem .vscode +.env*.local diff --git a/apps/web/public/analytics-minimal.json b/apps/web/public/analytics-minimal.json index a38211f..aaf3967 100644 --- a/apps/web/public/analytics-minimal.json +++ b/apps/web/public/analytics-minimal.json @@ -1,6 +1,6 @@ { - "totalProjects": 14175, - "avgProjectsPerDay": "211.6", - "lastUpdated": "Aug 1, 2025, 03:44 AM", - "generatedAt": "2025-08-02T14:03:13.992Z" -} + "totalProjects": 14175, + "avgProjectsPerDay": "211.6", + "lastUpdated": "Aug 1, 2025, 03:44 AM", + "generatedAt": "2025-08-02T22:15:50.316Z" +} \ No newline at end of file diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx index f0abe7b..d049e03 100644 --- a/apps/web/src/app/layout.tsx +++ b/apps/web/src/app/layout.tsx @@ -1,5 +1,3 @@ -export const dynamic = "force-static"; - import { RootProvider } from "fumadocs-ui/provider"; import type { Metadata, Viewport } from "next"; import { Geist, Geist_Mono } from "next/font/google"; diff --git a/package.json b/package.json index 5aef6e5..569060d 100644 --- a/package.json +++ b/package.json @@ -9,10 +9,13 @@ "dev:web": "turbo run dev --filter=web", "build:web": "turbo run build --filter=web", "build:cli": "turbo run build --filter=create-better-t-stack", + "lint": "turbo lint", "check": "turbo check", "format": "biome check --write .", "publish-packages": "turbo run build --filter=create-better-t-stack && changeset publish", - "deploy:web": "bun run --filter=web generate-analytics && bun run --filter=web generate-schema && vercel --prod" + "deploy:convex": "cd packages/backend && bunx convex deploy", + "deploy:web": "cd apps/web && vercel --prod", + "deploy": "bun run --filter=web generate-analytics && bun run --filter=web generate-schema && bun run deploy:convex && bun run deploy:web" }, "devDependencies": { "@biomejs/biome": "2.1.2", diff --git a/turbo.json b/turbo.json index a921470..21b72f2 100644 --- a/turbo.json +++ b/turbo.json @@ -21,6 +21,10 @@ "deploy": { "cache": false, "persistent": true + }, + "deploy:convex": { + "cache": false, + "persistent": true } } }