diff --git a/package-lock.json b/package-lock.json index 47de5a3..c42998d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,6 +16,7 @@ "@react-pdf/renderer": "^4.3.0", "@supabase/supabase-js": "^2.49.4", "@vercel/analytics": "^2.0.1", + "@vercel/speed-insights": "^2.0.0", "browser-image-compression": "^2.0.2", "date-fns": "^4.1.0", "lucide-react": "^0.510.0", @@ -849,9 +850,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -869,9 +867,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -889,9 +884,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -909,9 +901,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -929,9 +918,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -949,9 +935,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1479,6 +1462,44 @@ } } }, + "node_modules/@vercel/speed-insights": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@vercel/speed-insights/-/speed-insights-2.0.0.tgz", + "integrity": "sha512-jwkNcrTeafWxjmWq4AHBaptSqZiJkYU5adLC9QBSqeim0GcqDMgN5Ievh8OG1rJ6W3A4l1oiP7qr9CWxGuzu3w==", + "license": "Apache-2.0", + "peerDependencies": { + "@sveltejs/kit": "^1 || ^2", + "next": ">= 13", + "nuxt": ">= 3", + "react": "^18 || ^19 || ^19.0.0-rc", + "svelte": ">= 4", + "vue": "^3", + "vue-router": "^4" + }, + "peerDependenciesMeta": { + "@sveltejs/kit": { + "optional": true + }, + "next": { + "optional": true + }, + "nuxt": { + "optional": true + }, + "react": { + "optional": true + }, + "svelte": { + "optional": true + }, + "vue": { + "optional": true + }, + "vue-router": { + "optional": true + } + } + }, "node_modules/@vitejs/plugin-react": { "version": "6.0.2", "dev": true, @@ -2547,9 +2568,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -2571,9 +2589,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -2595,9 +2610,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -2619,9 +2631,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MPL-2.0", "optional": true, "os": [ diff --git a/package.json b/package.json index a443ba6..15306cf 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "@react-pdf/renderer": "^4.3.0", "@supabase/supabase-js": "^2.49.4", "@vercel/analytics": "^2.0.1", + "@vercel/speed-insights": "^2.0.0", "browser-image-compression": "^2.0.2", "date-fns": "^4.1.0", "lucide-react": "^0.510.0", diff --git a/src/App.tsx b/src/App.tsx index 93c03c8..00ba1b9 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,6 +1,7 @@ import { useEffect } from 'react' import { lazy, Suspense } from 'react' import { Analytics } from '@vercel/analytics/react' +import { SpeedInsights } from '@vercel/speed-insights/react' import { BrowserRouter, Routes, Route, Navigate } from 'react-router-dom' import { supabase, isSupabaseConfigured } from '@/lib/supabase' import { useAuthStore } from '@/store/auth.store' @@ -261,6 +262,7 @@ export function App() { return ( <> + } />