From b1f3c94212f1afed933fa7a0181e48c3acd8d30a Mon Sep 17 00:00:00 2001 From: subratsamal Date: Tue, 27 Feb 2024 08:09:48 +0530 Subject: [PATCH] speed-insights --- package-lock.json | 35 +++++++++++++++++++++++++++++++++++ package.json | 1 + src/app/layout.tsx | 1 + 3 files changed, 37 insertions(+) diff --git a/package-lock.json b/package-lock.json index 797f8d8..fcf1004 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "0.1.0", "dependencies": { "@radix-ui/react-slot": "^1.0.2", + "@vercel/speed-insights": "^1.0.10", "class-variance-authority": "^0.7.0", "clsx": "^2.1.0", "lucide-react": "^0.335.0", @@ -653,6 +654,40 @@ "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", "dev": true }, + "node_modules/@vercel/speed-insights": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/@vercel/speed-insights/-/speed-insights-1.0.10.tgz", + "integrity": "sha512-4uzdKB0RW6Ff2FkzshzjZ+RlJfLPxgm/00i0XXgxfMPhwnnsk92YgtqsxT9OcPLdJUyVU1DqFlSWWjIQMPkh0g==", + "hasInstallScript": true, + "peerDependencies": { + "@sveltejs/kit": "^1 || ^2", + "next": ">= 13", + "react": "^18 || ^19", + "svelte": "^4", + "vue": "^3", + "vue-router": "^4" + }, + "peerDependenciesMeta": { + "@sveltejs/kit": { + "optional": true + }, + "next": { + "optional": true + }, + "react": { + "optional": true + }, + "svelte": { + "optional": true + }, + "vue": { + "optional": true + }, + "vue-router": { + "optional": true + } + } + }, "node_modules/acorn": { "version": "8.11.3", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", diff --git a/package.json b/package.json index c180e3c..c6ae77c 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ }, "dependencies": { "@radix-ui/react-slot": "^1.0.2", + "@vercel/speed-insights": "^1.0.10", "class-variance-authority": "^0.7.0", "clsx": "^2.1.0", "lucide-react": "^0.335.0", diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 8d3bb37..01cb9a8 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -3,6 +3,7 @@ import { Inter } from "next/font/google"; import "./globals.css"; import Navbar from "./components/Navbar"; const inter = Inter({ subsets: ["latin"] }); +import { SpeedInsights } from "@vercel/speed-insights/next" export const metadata: Metadata = { title: "Arion Coiled Cable",