Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Vercel Build Issues #64

Merged
merged 7 commits into from
Jul 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
packages/db/drizzle/meta/**
pnpm-lock.yaml
pnpm-workspace.yaml
**/package.json
**/package.json
*.json
12 changes: 6 additions & 6 deletions apps/backup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@types/node": "20.3.2"
"@types/node": "20.14.11"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.511.0",
"@hono/node-server": "^1.7.0",
"cron": "^3.1.6",
"@aws-sdk/client-s3": "^3.616.0",
"@hono/node-server": "^1.12.0",
"cron": "^3.1.7",
"envsafe": "^2.0.3",
"hono": "^3.12.5",
"typescript": "5.1.6"
"hono": "^4.5.0",
"typescript": "5.5.3"
}
}
10 changes: 5 additions & 5 deletions apps/bot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"dependencies": {
"config": "workspace:*",
"db": "workspace:*",
"discord.js": "^14.14.1",
"hono": "^3.12.5",
"nanoid": "^4.0.2",
"zod": "^3.21.4"
"discord.js": "^14.15.3",
"hono": "^4.5.0",
"nanoid": "^5.0.7",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/bun": "^1.0.1"
"@types/bun": "^1.1.6"
},
"packageManager": "[email protected]"
}
6 changes: 5 additions & 1 deletion apps/web/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import "./src/env.mjs";
import { fileURLToPath } from "node:url";
import createJiti from "jiti";
const jiti = createJiti(fileURLToPath(import.meta.url));

jiti("./src/env");

/** @type {import('next').NextConfig} */
const nextConfig = {
Expand Down
107 changes: 54 additions & 53 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"with-env": "dotenv -e ../../.env --"
},
"dependencies": {
"@aws-sdk/client-ses": "^3.485.0",
"@aws-sdk/client-ses": "^3.616.0",
"@clerk/nextjs": "^4.29.4",
"@gsap/react": "^2.0.2",
"@hookform/resolvers": "^3.1.1",
"@internationalized/date": "^3.3.0",
"@planetscale/database": "^1.8.0",
"@gsap/react": "^2.1.1",
"@hookform/resolvers": "^3.9.0",
"@internationalized/date": "^3.5.4",
"@planetscale/database": "^1.18.0",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-avatar": "^1.0.3",
"@radix-ui/react-checkbox": "^1.0.4",
Expand All @@ -26,70 +26,71 @@
"@radix-ui/react-select": "^1.2.2",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-switch": "^1.0.3",
"@react-email/components": "^0.0.12",
"@t3-oss/env-nextjs": "^0.6.0",
"@tanstack/react-table": "^8.9.3",
"@types/node": "20.3.2",
"@types/react": "18.2.14",
"@types/react-dom": "18.2.6",
"@vercel/analytics": "^1.1.1",
"@react-email/components": "^0.0.21",
"@t3-oss/env-nextjs": "^0.10.1",
"@tanstack/react-table": "^8.19.3",
"@types/node": "20.14.11",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@vercel/analytics": "^1.3.1",
"@vercel/blob": "^0.10.0",
"@vercel/kv": "^2.0.0",
"@vercel/postgres": "^0.8.0",
"@vercel/postgres": "^0.9.0",
"@yudiel/react-qr-scanner": "^1.1.9",
"autoprefixer": "10.4.14",
"axios": "^1.4.0",
"class-variance-authority": "^0.6.1",
"clsx": "^1.2.1",
"cmdk": "^0.2.0",
"autoprefixer": "10.4.19",
"axios": "^1.7.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"cmdk": "^1.0.0",
"config": "workspace:*",
"date-fns": "^2.30.0",
"date-fns-tz": "^2.0.0",
"date-fns": "^3.6.0",
"date-fns-tz": "^3.1.3",
"db": "workspace:*",
"dotenv": "^16.4.5",
"drizzle-orm": "^0.31.2",
"drizzle-zod": "^0.5.1",
"embla-carousel": "8.0.0-rc22",
"embla-carousel-autoplay": "8.0.0-rc22",
"embla-carousel-react": "8.0.0-rc20",
"framer-motion": "^10.18.0",
"gsap": "^3.12.4",
"lucide-react": "^0.317.0",
"nanoid": "^4.0.2",
"next": "14.0.4",
"embla-carousel": "8.1.7",
"embla-carousel-autoplay": "8.1.7",
"embla-carousel-react": "8.1.7",
"framer-motion": "^11.3.8",
"gsap": "^3.12.5",
"jiti": "^1.21.6",
"lucide-react": "^0.411.0",
"nanoid": "^5.0.7",
"next": "14.2.5",
"next-safe-action": "^5.2.3",
"pg": "^8.11.1",
"postcss": "8.4.24",
"pg": "^8.12.0",
"postcss": "8.4.39",
"postgres": "^3.4.4",
"react": "18.2.0",
"react-aria": "^3.26.0",
"react-bootstrap": "^2.10.0",
"react": "18.3.1",
"react-aria": "^3.33.1",
"react-bootstrap": "^2.10.4",
"react-confetti": "^6.1.0",
"react-dom": "18.2.0",
"react-dom": "18.3.1",
"react-dropzone": "^14.2.3",
"react-email": "^1.10.0",
"react-fast-marquee": "^1.6.2",
"react-hook-form": "7.44.3",
"react-email": "^2.1.5",
"react-fast-marquee": "^1.6.5",
"react-hook-form": "7.52.1",
"react-loader-spinner": "^6.1.6",
"react-parallax-tilt": "^1.7.154",
"react-qr-code": "^2.0.11",
"react-stately": "^3.24.0",
"react-parallax-tilt": "^1.7.232",
"react-qr-code": "^2.0.15",
"react-stately": "^3.31.1",
"react-timer-hook": "^3.0.7",
"react-wrap-balancer": "^1.0.0",
"recharts": "^2.12.1",
"sonner": "^1.3.1",
"superjson": "^1.12.4",
"tailwind-merge": "^1.13.2",
"tailwindcss": "3.4.1",
"tailwindcss-animate": "^1.0.6",
"title-case": "^3.0.3",
"typescript": "5.1.6",
"react-wrap-balancer": "^1.1.1",
"recharts": "^2.12.7",
"sonner": "^1.5.0",
"superjson": "^2.2.1",
"tailwind-merge": "^2.4.0",
"tailwindcss": "3.4.6",
"tailwindcss-animate": "^1.0.7",
"title-case": "^4.3.1",
"typescript": "5.5.3",
"use-debounce": "^10.0.1",
"usehooks-ts": "^2.14.0",
"vaul": "^0.8.0",
"zod": "^3.21.4"
"usehooks-ts": "^3.1.0",
"vaul": "^0.9.1",
"zod": "^3.23.8"
},
"devDependencies": {
"esbuild-register": "^3.4.2"
"esbuild-register": "^3.5.0"
}
}
2 changes: 1 addition & 1 deletion apps/web/src/actions/discord-verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { z } from "zod";
import { db } from "db";
import { eq, and } from "db/drizzle";
import { discordVerification } from "db/schema";
import { env } from "@/env.mjs";
import { env } from "@/env";

export const confirmVerifyDiscord = authenticatedAction(
z.object({
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/app/admin/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { users } from "db/schema";
import { Users, UserCheck, User2, TimerReset, MailCheck } from "lucide-react";
import type { userType } from "@/lib/utils/shared/types";
import { unstable_cache } from "next/cache";
import { env } from "@/env.mjs";
import { env } from "@/env";
import { auth } from "@clerk/nextjs";
import { notFound } from "next/navigation";

Expand Down
4 changes: 1 addition & 3 deletions apps/web/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import Hero from "@/components/landing/Hero";
import About from "@/components/landing/About";

import Partners from "@/components/landing/Partners";
import Team from "@/components/landing/Team";
import Footer from "@/components/landing/Footer";
import MLHBadge from "@/components/landing/MLHBadge";

Expand All @@ -27,12 +26,11 @@ export default function Home() {
<About />
<Partners />
<WorkWithUs />
<Team />
<Footer />
</main>
</div>
);
}

export const runtime = "edge";
export const revalidate = "30";
export const revalidate = 30;
Loading
Loading