From 384b05df51a589f50ee75be953c6be28cd889b02 Mon Sep 17 00:00:00 2001 From: Hayk Martiros Date: Mon, 12 Dec 2022 11:26:43 -0800 Subject: [PATCH] Add vercel audience --- package-lock.json | 15 +++++++++++++++ package.json | 1 + pages/_app.tsx | 8 +++++++- 3 files changed, 23 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 0037ecd..6a407b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,7 @@ "@headlessui/react": "^1.5.0", "@react-three/drei": "^9.41.2", "@react-three/fiber": "^8.9.1", + "@vercel/analytics": "^0.1.6", "eslint": "8.27.0", "eslint-config-next": "13.0.4", "next": "13.0.4", @@ -1081,6 +1082,14 @@ "react": ">= 16.8.0" } }, + "node_modules/@vercel/analytics": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@vercel/analytics/-/analytics-0.1.6.tgz", + "integrity": "sha512-zNd5pj3iDvq8IMBQHa1YRcIteiw6ZiPB8AsONHd8ieFXlNpLqhXfIYnf4WvTfZ7S1NSJ++mIM14aJnNac/VMXQ==", + "peerDependencies": { + "react": "^16.8||^17||^18" + } + }, "node_modules/@webgpu/glslang": { "version": "0.0.15", "resolved": "https://registry.npmjs.org/@webgpu/glslang/-/glslang-0.0.15.tgz", @@ -5400,6 +5409,12 @@ "@use-gesture/core": "10.2.22" } }, + "@vercel/analytics": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@vercel/analytics/-/analytics-0.1.6.tgz", + "integrity": "sha512-zNd5pj3iDvq8IMBQHa1YRcIteiw6ZiPB8AsONHd8ieFXlNpLqhXfIYnf4WvTfZ7S1NSJ++mIM14aJnNac/VMXQ==", + "requires": {} + }, "@webgpu/glslang": { "version": "0.0.15", "resolved": "https://registry.npmjs.org/@webgpu/glslang/-/glslang-0.0.15.tgz", diff --git a/package.json b/package.json index 3cc7e26..e4add8c 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "@headlessui/react": "^1.5.0", "@react-three/drei": "^9.41.2", "@react-three/fiber": "^8.9.1", + "@vercel/analytics": "^0.1.6", "eslint": "8.27.0", "eslint-config-next": "13.0.4", "next": "13.0.4", diff --git a/pages/_app.tsx b/pages/_app.tsx index 8c4d5de..cb0eed7 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,8 +1,14 @@ import "../styles/globals.css"; import type { AppProps } from "next/app"; +import { Analytics } from "@vercel/analytics/react"; function MyApp({ Component, pageProps }: AppProps) { - return ; + return ( + <> + + + + ); } export default MyApp;