Skip to content
Open
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
1 change: 1 addition & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference path="./.next/types/routes.d.ts" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
24 changes: 11 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"postbuild": "next-sitemap --config next-sitemap.config.cjs"
},
"dependencies": {
"@headlessui/react": "^1.7.19",
"@headlessui/react": "^2.2.8",
"@heroicons/react": "^2.2.0",
"@hookform/resolvers": "^3.10.0",
"@next/eslint-plugin-next": "15.3.0",
Expand Down Expand Up @@ -53,19 +53,17 @@
"@radix-ui/react-tooltip": "^1.2.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@supabase/auth-helpers-nextjs": "^0.8.7",
"@supabase/auth-helpers-react": "^0.3.1",
"@supabase/ssr": "^0.5.2",
"@supabase/supabase-js": "^2.49.4",
"@supabase/ssr": "^0.7.0",
"@supabase/supabase-js": "^2.57.4",
"@tailwindcss/forms": "^0.5.10",
"@tailwindcss/postcss": "^4.1.3",
"@tailwindcss/typography": "^0.5.16",
"@tanstack/react-query": "^4.36.1",
"@testing-library/react": "^14.3.1",
"@tanstack/react-query": "^5.87.4",
"@testing-library/react": "^16.3.0",
"@types/jsonwebtoken": "^9.0.9",
"@types/nprogress": "^0.2.3",
"@types/react": "19.1.0",
"@types/react-dom": "19.1.2",
"@types/react": "19.1.13",
"@types/react-dom": "19.1.9",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react": "^3.1.0",
Expand All @@ -86,8 +84,8 @@
"framer-motion": "^11.18.2",
"input-otp": "^1.4.2",
"jsdom": "^21.1.2",
"lucide-react": "^0.279.0",
"next": "15.3.0",
"lucide-react": "^0.544.0",
"next": "15.5.3",
"next-nprogress-bar": "^2.4.7",
"next-safe-action": "^7.10.5",
"next-seo": "^5.15.0",
Expand All @@ -97,9 +95,9 @@
"path-to-regexp": "^8.2.0",
"postcss": "^8.5.3",
"prettier": "^2.8.8",
"react": "19.1.0",
"react": "19.1.1",
"react-day-picker": "8.10.1",
"react-dom": "19.1.0",
"react-dom": "19.1.1",
"react-hook-form": "^7.55.0",
"react-hot-toast": "^2.5.2",
"react-no-ssr": "^1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const config: PlaywrightTestConfig = {
// Run your local dev server before starting the tests:
// https://playwright.dev/docs/test-advanced#launching-a-development-web-server-during-the-tests
webServer: {
command: 'yarn run dev',
command: 'pnpm run dev',
url: baseURL,
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
Expand Down
2,141 changes: 1,151 additions & 990 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { createRouteHandlerClient } from '@supabase/auth-helpers-nextjs';
import { createSupabaseClient } from '@/supabase-clients/server';
import { revalidatePath } from 'next/cache';
import { cookies } from 'next/headers';
import { NextResponse } from 'next/server';

export async function GET(request: Request) {
Expand All @@ -9,7 +8,7 @@ export async function GET(request: Request) {
const next = requestUrl.searchParams.get('next');

if (code) {
const supabase = createRouteHandlerClient({ cookies });
const supabase = createSupabaseClient();
try {
// Exchange the code for a session
await supabase.auth.exchangeCodeForSession(code);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import { createRouteHandlerClient } from '@supabase/auth-helpers-nextjs';
import { cookies } from 'next/headers';
import { createSupabaseClient } from '@/supabase-clients/server';
import { NextRequest, NextResponse } from 'next/server';

export async function GET(req: NextRequest) {
const { searchParams } = new URL(req.url);
const token_hash = searchParams.get('token_hash');
const next = searchParams.get('next') ?? '/dashboard';
if (token_hash) {
const supabase = createRouteHandlerClient({ cookies });
const supabase = createSupabaseClient();
const { error } = await supabase.auth.verifyOtp({
type: 'magiclink',
token_hash,
Expand Down
4 changes: 4 additions & 0 deletions test-results/.last-run.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"status": "failed",
"failedTests": []
}