From 64b41d69b27c3e9e2afabe69c5a1662de6b3b9c8 Mon Sep 17 00:00:00 2001 From: Tyler Hill Date: Tue, 8 Oct 2024 16:15:23 -0500 Subject: [PATCH] Remove Vercel Analytics --- package-lock.json | 26 -------------------------- package.json | 1 - src/app/layout.tsx | 2 -- 3 files changed, 29 deletions(-) diff --git a/package-lock.json b/package-lock.json index 37697006..6d4fb4dc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,6 @@ "@trpc/client": "^11.0.0-rc.340", "@trpc/react-query": "^11.0.0-rc.340", "@trpc/server": "^11.0.0-rc.340", - "@vercel/analytics": "^1.3.1", "date-fns": "^2.30.0", "dotenv": "^16.0.3", "drizzle-orm": "^0.28.5", @@ -3309,26 +3308,6 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@vercel/analytics": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@vercel/analytics/-/analytics-1.3.1.tgz", - "integrity": "sha512-xhSlYgAuJ6Q4WQGkzYTLmXwhYl39sWjoMA3nHxfkvG+WdBT25c563a7QhwwKivEOZtPJXifYHR1m2ihoisbWyA==", - "dependencies": { - "server-only": "^0.0.1" - }, - "peerDependencies": { - "next": ">= 13", - "react": "^18 || ^19" - }, - "peerDependenciesMeta": { - "next": { - "optional": true - }, - "react": { - "optional": true - } - } - }, "node_modules/acorn": { "version": "8.10.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", @@ -10826,11 +10805,6 @@ "optional": true, "peer": true }, - "node_modules/server-only": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/server-only/-/server-only-0.0.1.tgz", - "integrity": "sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==" - }, "node_modules/set-function-name": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz", diff --git a/package.json b/package.json index d48fa4d3..8d0fffcf 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,6 @@ "@trpc/client": "^11.0.0-rc.340", "@trpc/react-query": "^11.0.0-rc.340", "@trpc/server": "^11.0.0-rc.340", - "@vercel/analytics": "^1.3.1", "date-fns": "^2.30.0", "dotenv": "^16.0.3", "drizzle-orm": "^0.28.5", diff --git a/src/app/layout.tsx b/src/app/layout.tsx index d37bc80a..ba913c25 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -7,7 +7,6 @@ import { TRPCReactProvider } from '@src/trpc/react'; import Sidebar from '@src/components/nav/Sidebar'; import { type Metadata } from 'next'; -import { Analytics } from '@vercel/analytics/react'; import GoogleAnalytics from '@src/components/googleAnalytics'; const inter = Inter({ @@ -50,7 +49,6 @@ export default function RootLayout({
{children}
- );