Add vercel audience

This commit is contained in:
Hayk Martiros 2022-12-12 11:26:43 -08:00
parent c10b36813b
commit 384b05df51
3 changed files with 23 additions and 1 deletions

15
package-lock.json generated
View File

@ -11,6 +11,7 @@
"@headlessui/react": "^1.5.0", "@headlessui/react": "^1.5.0",
"@react-three/drei": "^9.41.2", "@react-three/drei": "^9.41.2",
"@react-three/fiber": "^8.9.1", "@react-three/fiber": "^8.9.1",
"@vercel/analytics": "^0.1.6",
"eslint": "8.27.0", "eslint": "8.27.0",
"eslint-config-next": "13.0.4", "eslint-config-next": "13.0.4",
"next": "13.0.4", "next": "13.0.4",
@ -1081,6 +1082,14 @@
"react": ">= 16.8.0" "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": { "node_modules/@webgpu/glslang": {
"version": "0.0.15", "version": "0.0.15",
"resolved": "https://registry.npmjs.org/@webgpu/glslang/-/glslang-0.0.15.tgz", "resolved": "https://registry.npmjs.org/@webgpu/glslang/-/glslang-0.0.15.tgz",
@ -5400,6 +5409,12 @@
"@use-gesture/core": "10.2.22" "@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": { "@webgpu/glslang": {
"version": "0.0.15", "version": "0.0.15",
"resolved": "https://registry.npmjs.org/@webgpu/glslang/-/glslang-0.0.15.tgz", "resolved": "https://registry.npmjs.org/@webgpu/glslang/-/glslang-0.0.15.tgz",

View File

@ -12,6 +12,7 @@
"@headlessui/react": "^1.5.0", "@headlessui/react": "^1.5.0",
"@react-three/drei": "^9.41.2", "@react-three/drei": "^9.41.2",
"@react-three/fiber": "^8.9.1", "@react-three/fiber": "^8.9.1",
"@vercel/analytics": "^0.1.6",
"eslint": "8.27.0", "eslint": "8.27.0",
"eslint-config-next": "13.0.4", "eslint-config-next": "13.0.4",
"next": "13.0.4", "next": "13.0.4",

View File

@ -1,8 +1,14 @@
import "../styles/globals.css"; import "../styles/globals.css";
import type { AppProps } from "next/app"; import type { AppProps } from "next/app";
import { Analytics } from "@vercel/analytics/react";
function MyApp({ Component, pageProps }: AppProps) { function MyApp({ Component, pageProps }: AppProps) {
return <Component {...pageProps} />; return (
<>
<Component {...pageProps} />
<Analytics />
</>
);
} }
export default MyApp; export default MyApp;