From cb36e65dc2a1b14a9e31c5c40b43bf320184c54d Mon Sep 17 00:00:00 2001 From: thatguyinabeanie Date: Thu, 7 Nov 2024 21:40:51 -0600 Subject: [PATCH] add clerk --- apps/nextjs/package.json | 7 +++++-- pnpm-lock.yaml | 9 +++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/apps/nextjs/package.json b/apps/nextjs/package.json index 03c13e8e..ac44726c 100644 --- a/apps/nextjs/package.json +++ b/apps/nextjs/package.json @@ -12,8 +12,8 @@ "sort-packages": "pnpx sort-package-json", "start": "pnpm with-env next start", "typecheck": "tsc --noEmit", - "with-env": "dotenv -e ../../.env --", - "vercel:pull": "vercel env pull .env.development.local" + "vercel:pull": "vercel env pull .env.development.local", + "with-env": "dotenv -e ../../.env --" }, "prettier": "@battle-stadium/prettier-config", "dependencies": { @@ -22,6 +22,9 @@ "@battle-stadium/db": "workspace:*", "@battle-stadium/ui": "workspace:*", "@battle-stadium/validators": "workspace:*", + "@clerk/backend": "^1.15.1", + "@clerk/clerk-react": "^5.13.1", + "@clerk/nextjs": "^6.0.2", "@t3-oss/env-nextjs": "^0.11.1", "@tanstack/react-query": "catalog:", "@trpc/client": "catalog:", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 13686029..17493917 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -257,6 +257,15 @@ importers: '@battle-stadium/validators': specifier: workspace:* version: link:../../packages/validators + '@clerk/backend': + specifier: ^1.15.1 + version: 1.15.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@clerk/clerk-react': + specifier: ^5.13.1 + version: 5.15.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@clerk/nextjs': + specifier: ^6.0.2 + version: 6.2.1(next@14.2.17(@opentelemetry/api@1.9.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@t3-oss/env-nextjs': specifier: ^0.11.1 version: 0.11.1(typescript@5.6.3)(zod@3.23.8)