From ceb99ea718c66439b02c0690a0f55e2334e9058d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EA=B1=B4=EA=B7=9C?= Date: Thu, 16 May 2024 15:57:52 +0900 Subject: [PATCH 1/4] =?UTF-8?q?chore:=20Vercel=20Web=20Analytics=20?= =?UTF-8?q?=EC=9D=98=EC=A1=B4=EC=84=B1=20=EC=B6=94=EA=B0=80=20(package.jso?= =?UTF-8?q?n)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit vercel web analytics 기능 추가를 위한 의존성 설치 #27 --- FE/package.json | 1 + FE/pnpm-lock.yaml | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/FE/package.json b/FE/package.json index 80eb256b..e90820db 100644 --- a/FE/package.json +++ b/FE/package.json @@ -13,6 +13,7 @@ "@tanstack/react-query-devtools": "^5.28.14", "@types/qs": "^6.9.10", "@types/react-syntax-highlighter": "^15.5.11", + "@vercel/analytics": "^1.2.2", "axios": "^1.6.2", "classnames": "^2.3.2", "jotai": "^2.6.0", diff --git a/FE/pnpm-lock.yaml b/FE/pnpm-lock.yaml index e7b0f0c5..f0aac149 100644 --- a/FE/pnpm-lock.yaml +++ b/FE/pnpm-lock.yaml @@ -17,6 +17,9 @@ dependencies: '@types/react-syntax-highlighter': specifier: ^15.5.11 version: 15.5.11 + '@vercel/analytics': + specifier: ^1.2.2 + version: 1.2.2(next@14.0.4)(react@18.2.0) axios: specifier: ^1.6.2 version: 1.6.2 @@ -634,6 +637,22 @@ packages: /@ungap/structured-clone@1.2.0: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} + /@vercel/analytics@1.2.2(next@14.0.4)(react@18.2.0): + resolution: {integrity: sha512-X0rctVWkQV1e5Y300ehVNqpOfSOufo7ieA5PIdna8yX/U7Vjz0GFsGf4qvAhxV02uQ2CVt7GYcrFfddXXK2Y4A==} + peerDependencies: + next: '>= 13' + react: ^18 || ^19 + peerDependenciesMeta: + next: + optional: true + react: + optional: true + dependencies: + next: 14.0.4(react-dom@18.2.0)(react@18.2.0) + react: 18.2.0 + server-only: 0.0.1 + dev: false + /acorn-jsx@5.3.2(acorn@8.11.3): resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: @@ -3582,6 +3601,10 @@ packages: lru-cache: 6.0.0 dev: true + /server-only@0.0.1: + resolution: {integrity: sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==} + dev: false + /set-function-length@1.2.1: resolution: {integrity: sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==} engines: {node: '>= 0.4'} From 77c13f163520a391f85ae92ac2a712cab78a2cf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EA=B1=B4=EA=B7=9C?= Date: Thu, 16 May 2024 16:01:52 +0900 Subject: [PATCH 2/4] =?UTF-8?q?feat:=20=20=EC=BB=B4?= =?UTF-8?q?=ED=8F=AC=EB=84=8C=ED=8A=B8=20=EC=B6=94=EA=B0=80=20(layout.tsx)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit vercel web analytics 기능 추가를 위한 컴포넌트 추가 --- FE/src/app/layout.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FE/src/app/layout.tsx b/FE/src/app/layout.tsx index e958885c..353a4ec9 100644 --- a/FE/src/app/layout.tsx +++ b/FE/src/app/layout.tsx @@ -1,3 +1,4 @@ +import { Analytics } from "@vercel/analytics/react"; import type { Metadata } from "next"; import "./globals.css"; import { PropsWithChildren } from "react"; @@ -24,6 +25,7 @@ export default function RootLayout({ children }: PropsWithChildren) { {children} + ); From 6393f43acb8ba72b14ea57a2db76f44806b31321 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EA=B1=B4=EA=B7=9C?= Date: Fri, 17 May 2024 00:02:05 +0900 Subject: [PATCH 3/4] =?UTF-8?q?chore:=20speed-insights=20=EC=9D=98?= =?UTF-8?q?=EC=A1=B4=EC=84=B1=20=EC=84=A4=EC=B9=98=20(pakcage.json)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #27 --- FE/package.json | 1 + FE/pnpm-lock.yaml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/FE/package.json b/FE/package.json index e90820db..27d55a3f 100644 --- a/FE/package.json +++ b/FE/package.json @@ -14,6 +14,7 @@ "@types/qs": "^6.9.10", "@types/react-syntax-highlighter": "^15.5.11", "@vercel/analytics": "^1.2.2", + "@vercel/speed-insights": "^1.0.10", "axios": "^1.6.2", "classnames": "^2.3.2", "jotai": "^2.6.0", diff --git a/FE/pnpm-lock.yaml b/FE/pnpm-lock.yaml index f0aac149..3ddd5f8b 100644 --- a/FE/pnpm-lock.yaml +++ b/FE/pnpm-lock.yaml @@ -20,6 +20,9 @@ dependencies: '@vercel/analytics': specifier: ^1.2.2 version: 1.2.2(next@14.0.4)(react@18.2.0) + '@vercel/speed-insights': + specifier: ^1.0.10 + version: 1.0.10(next@14.0.4)(react@18.2.0) axios: specifier: ^1.6.2 version: 1.6.2 @@ -653,6 +656,34 @@ packages: server-only: 0.0.1 dev: false + /@vercel/speed-insights@1.0.10(next@14.0.4)(react@18.2.0): + resolution: {integrity: sha512-4uzdKB0RW6Ff2FkzshzjZ+RlJfLPxgm/00i0XXgxfMPhwnnsk92YgtqsxT9OcPLdJUyVU1DqFlSWWjIQMPkh0g==} + requiresBuild: true + peerDependencies: + '@sveltejs/kit': ^1 || ^2 + next: '>= 13' + react: ^18 || ^19 + svelte: ^4 + vue: ^3 + vue-router: ^4 + peerDependenciesMeta: + '@sveltejs/kit': + optional: true + next: + optional: true + react: + optional: true + svelte: + optional: true + vue: + optional: true + vue-router: + optional: true + dependencies: + next: 14.0.4(react-dom@18.2.0)(react@18.2.0) + react: 18.2.0 + dev: false + /acorn-jsx@5.3.2(acorn@8.11.3): resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: From 9673395628f7f99d2e81bc3c65cf01b16dc46ec4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EA=B1=B4=EA=B7=9C?= Date: Fri, 17 May 2024 00:03:27 +0900 Subject: [PATCH 4/4] =?UTF-8?q?feat:=20SpeedInsights=20=EC=BB=B4=ED=8F=AC?= =?UTF-8?q?=EB=84=8C=ED=8A=B8=20=EC=B6=94=EA=B0=80=20(layout.tsx)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SpeedInsights 확인을 위한 컴포넌트 추가 #27 --- FE/src/app/layout.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FE/src/app/layout.tsx b/FE/src/app/layout.tsx index 353a4ec9..be0cc916 100644 --- a/FE/src/app/layout.tsx +++ b/FE/src/app/layout.tsx @@ -1,4 +1,5 @@ import { Analytics } from "@vercel/analytics/react"; +import { SpeedInsights } from "@vercel/speed-insights/next"; import type { Metadata } from "next"; import "./globals.css"; import { PropsWithChildren } from "react"; @@ -26,6 +27,7 @@ export default function RootLayout({ children }: PropsWithChildren) { {children} + );