Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🧹 Remove vercel analytics (#856)
Luke Vella8ea8ae18b2d5
diff --git a/apps/web/package.json b/apps/web/package.jsonindex 313bd229a..56627c717 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -32,7 +32,6 @@"@svgr/webpack": "^6.5.1","@tailwindcss/typography": "^0.5.9","@tanstack/react-table": "^8.9.1",- "@vercel/analytics": "^0.1.8","@vercel/og": "^0.5.13","accept-language-parser": "^1.5.0","autoprefixer": "^10.4.13",diff --git a/apps/web/src/pages/_app.tsx b/apps/web/src/pages/_app.tsxindex fd3dad3bc..25ce2b5a2 100644--- a/apps/web/src/pages/_app.tsx+++ b/apps/web/src/pages/_app.tsx@@ -4,7 +4,6 @@ import "../style.css";import { trpc, UserSession } from "@rallly/backend/next/trpc/client";import { TooltipProvider } from "@rallly/ui/tooltip";-import { inject } from "@vercel/analytics";import { domMax, LazyMotion } from "framer-motion";import { NextPage } from "next";import { AppProps } from "next/app";@@ -35,13 +34,6 @@ type AppPropsWithLayout = AppProps<PageProps> & {};const MyApp: NextPage<AppPropsWithLayout> = ({ Component, pageProps }) => {- React.useEffect(() => {- if (process.env.NEXT_PUBLIC_ENABLE_ANALYTICS) {- // calling inject directly to avoid having this run for self-hosted instances- inject({ debug: false });- }- }, []);-if (process.env.NEXT_PUBLIC_MAINTENANCE_MODE === "1") {return <Maintenance />;}diff --git a/yarn.lock b/yarn.lockindex c65038a85..ba6e080a9 100644--- a/yarn.lock+++ b/yarn.lock@@ -4637,9 +4637,9 @@ camelize@^1.0.0:integrity sha512-dU+Tx2fsypxTgtLoE36npi3UqcjSSMNYfkqgmoEhtZrraP5VWq0K7FkWVTYa8eMPtnU/G2txVsfdCJTn9uzpuQ==caniuse-lite@^1.0.30001406, caniuse-lite@^1.0.30001426, caniuse-lite@^1.0.30001449:- version "1.0.30001458"- resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001458.tgz"- integrity sha512-lQ1VlUUq5q9ro9X+5gOEyH7i3vm+AYVT1WDCVB69XOZ17KZRhnZ9J0Sqz7wTHQaLBJccNCHq8/Ww5LlOIZbB0w==+ version "1.0.30001534"+ resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001534.tgz"+ integrity sha512-vlPVrhsCS7XaSh2VvWluIQEzVhefrUQcEsQWSS5A5V+dM07uv1qHeQzAOTGIMy9i3e9bH15+muvI/UHojVgS/Q==ccount@^2.0.0:version "2.0.1"