diff --git a/.env b/.env index 2bfc10356..c5a6e66df 100644 --- a/.env +++ b/.env @@ -1,16 +1,2 @@ -SKIP_PREFLIGHT_CHECK=true -PORT=3004 -# ORY_SDK_URL=https://incident-commander.demo.aws.flanksource.com/api/.ory -# NEXT_PUBLIC_APP_DEPLOYMENT=CANARY_CHECKER -# NEXT_PUBLIC_WITHOUT_SESSION=true -# BACKEND_URL=https://incident-commander.demo.aws.flanksource.com/ -NEXT_PUBLIC_CLERK_SIGN_IN_URL=/login -NEXT_PUBLIC_CLERK_SIGN_UP_URL=/registration -NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/ -NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/ - -# For clerk SAAS -# # NEXT_PUBLIC_AUTH_IS_CLERK=true -# NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_YmlnLW1vbmdvb3NlLTkxLmNsZXJrLmFjY291bnRzLmRldiQ -# CLERK_SECRET_KEY=sk_test_EeUiC56XXbSKiMZQULyhD7FZk8RGMpcLW7pVEO7emD - +# Add this line to resolve the Clerk v8 requirement +NEXT_PUBLIC_CLERK_SIGN_UP_URL=/registration \ No newline at end of file diff --git a/package.json b/package.json index 21488d5e2..f025208a9 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ ], "dependencies": { "@babel/plugin-proposal-private-property-in-object": "^7.21.11", - "@clerk/nextjs": "^5.3.0", + "@clerk/nextjs": "^8.0.0", "@dagrejs/dagre": "^1.1.1", "@flanksource/icons": "^1.0.33", "@floating-ui/react": "^0.26.9", @@ -218,9 +218,11 @@ "resolutions": { "@svgr/webpack": "6.2.1", "react-refresh": "0.11.0", - "postcss": "^8" + "postcss": "^8", + "@clerk/shared": "^1.0.0", + "@clerk/types": "^3.0.0" }, "msw": { "workerDirectory": "public" } -} +} \ No newline at end of file