diff --git a/.prettierignore b/.prettierignore index fa984040..180fb372 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,4 +1,5 @@ packages/db/drizzle/meta/** pnpm-lock.yaml pnpm-workspace.yaml -**/package.json \ No newline at end of file +**/package.json +*.json \ No newline at end of file diff --git a/apps/backup/package.json b/apps/backup/package.json index 3f658ae7..984abc6c 100644 --- a/apps/backup/package.json +++ b/apps/backup/package.json @@ -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" } } diff --git a/apps/bot/package.json b/apps/bot/package.json index ecaecdb4..1795ccd6 100644 --- a/apps/bot/package.json +++ b/apps/bot/package.json @@ -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": "pnpm@8.3.1" } diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs index f827e35a..44430568 100644 --- a/apps/web/next.config.mjs +++ b/apps/web/next.config.mjs @@ -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 = { diff --git a/apps/web/package.json b/apps/web/package.json index a96230a1..066f7476 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -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", @@ -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" } } diff --git a/apps/web/src/actions/discord-verify.ts b/apps/web/src/actions/discord-verify.ts index e29a9353..c822885b 100644 --- a/apps/web/src/actions/discord-verify.ts +++ b/apps/web/src/actions/discord-verify.ts @@ -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({ diff --git a/apps/web/src/app/admin/page.tsx b/apps/web/src/app/admin/page.tsx index 29b408ff..a22768e0 100644 --- a/apps/web/src/app/admin/page.tsx +++ b/apps/web/src/app/admin/page.tsx @@ -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"; diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx index d83a943a..f9130d29 100644 --- a/apps/web/src/app/page.tsx +++ b/apps/web/src/app/page.tsx @@ -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"; @@ -27,7 +26,6 @@ export default function Home() { -