From 89ebe37d38f93ee1b81c63e9bef85e02ee4f5777 Mon Sep 17 00:00:00 2001 From: HiImConan Date: Wed, 29 Nov 2023 06:44:30 +0900 Subject: [PATCH 1/2] =?UTF-8?q?build:=20vercel/analytics=20=EC=84=A4?= =?UTF-8?q?=EC=B9=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + yarn.lock | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/package.json b/package.json index dbe5580..9b80ba9 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "@stomp/stompjs": "^7.0.0", "@tanstack/react-query": "^5.8.2", "@tanstack/react-query-devtools": "^5.8.2", + "@vercel/analytics": "^1.1.1", "axios": "^1.5.1", "clsx": "^2.0.0", "next": "13.5.4", diff --git a/yarn.lock b/yarn.lock index 023201f..079e94d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1004,6 +1004,13 @@ "@typescript-eslint/types" "6.9.1" eslint-visitor-keys "^3.4.1" +"@vercel/analytics@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@vercel/analytics/-/analytics-1.1.1.tgz#2a712378a95014a548b4f9d2ae1ea0721433908d" + integrity sha512-+NqgNmSabg3IFfxYhrWCfB/H+RCUOCR5ExRudNG2+pcRehq628DJB5e1u1xqwpLtn4pAYii4D98w7kofORAGQA== + dependencies: + server-only "^0.0.1" + JSONStream@^1.3.5: version "1.3.5" resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" @@ -4066,6 +4073,11 @@ semver@^6.3.0, semver@^6.3.1: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== +server-only@^0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/server-only/-/server-only-0.0.1.tgz#0f366bb6afb618c37c9255a314535dc412cd1c9e" + integrity sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA== + set-function-name@^2.0.0, set-function-name@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/set-function-name/-/set-function-name-2.0.1.tgz#12ce38b7954310b9f61faa12701620a0c882793a" From 3317217802047fd9331d681c19b3065ffdca2d52 Mon Sep 17 00:00:00 2001 From: HiImConan Date: Wed, 29 Nov 2023 06:47:47 +0900 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20vercel/analytics=20=EC=BB=B4?= =?UTF-8?q?=ED=8F=AC=EB=84=8C=ED=8A=B8=20layout=EC=97=90=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/layout.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 42b8485..d88551a 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,5 +1,6 @@ import './globals.css'; +import { Analytics } from '@vercel/analytics/react'; import type { Metadata } from 'next'; import { Noto_Sans_KR } from 'next/font/google'; @@ -31,7 +32,10 @@ export default function RootLayout({
-
{children}
+
+ {children} + +