From 321fe77107c3cc8a1cc6776c10573bb33e331d99 Mon Sep 17 00:00:00 2001 From: jisangs Date: Sun, 6 Sep 2026 23:26:08 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A1=9C=EA=B7=B8=EC=9D=B8=20=ED=99=94?= =?UTF-8?q?=EB=A9=B4=EC=97=90=20=EB=B2=84=EC=A0=84=20=ED=91=9C=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/(auth)/login/page.tsx | 6 +++++- lib/version.ts | 3 +++ package.json | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 lib/version.ts diff --git a/app/(auth)/login/page.tsx b/app/(auth)/login/page.tsx index ea405e0..a07a698 100644 --- a/app/(auth)/login/page.tsx +++ b/app/(auth)/login/page.tsx @@ -2,6 +2,7 @@ import { redirect } from "next/navigation"; import { auth } from "@/auth"; import { Button } from "@/components/ui/button"; +import { APP_VERSION } from "@/lib/version"; import { loginAction } from "./actions"; @@ -27,7 +28,10 @@ export default async function LoginPage({ searchParams }: LoginPageProps) {
-

chocoadmin

+
+

chocoadmin

+ {APP_VERSION} +

관리자 로그인

diff --git a/lib/version.ts b/lib/version.ts new file mode 100644 index 0000000..49f72a9 --- /dev/null +++ b/lib/version.ts @@ -0,0 +1,3 @@ +import pkg from "@/package.json"; + +export const APP_VERSION = `v${pkg.version}`; diff --git a/package.json b/package.json index 6e07e91..34b1f64 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chocoadmin", - "version": "0.1.0", + "version": "1.0.0", "private": true, "packageManager": "pnpm@10.29.3", "scripts": {