From 83b68b0669dddd134a54e6c8f4fe892d383820f4 Mon Sep 17 00:00:00 2001 From: tone Date: Wed, 17 Dec 2025 15:33:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=89=8D=E7=AB=AF=E5=BC=95=E5=85=A5zus?= =?UTF-8?q?tand?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/frontend/package.json | 3 ++- apps/frontend/pnpm-lock.yaml | 27 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/apps/frontend/package.json b/apps/frontend/package.json index 18e6b2b..b377c4a 100644 --- a/apps/frontend/package.json +++ b/apps/frontend/package.json @@ -57,7 +57,8 @@ "tailwind-merge": "^3.4.0", "textarea": "^0.3.0", "vaul": "^1.1.2", - "zod": "^3.25.76" + "zod": "^3.25.76", + "zustand": "^5.0.9" }, "devDependencies": { "@eslint/eslintrc": "^3.3.3", diff --git a/apps/frontend/pnpm-lock.yaml b/apps/frontend/pnpm-lock.yaml index ad83deb..5ffdc99 100644 --- a/apps/frontend/pnpm-lock.yaml +++ b/apps/frontend/pnpm-lock.yaml @@ -155,6 +155,9 @@ importers: zod: specifier: ^3.25.76 version: 3.25.76 + zustand: + specifier: ^5.0.9 + version: 5.0.9(@types/react@19.2.7)(react@19.2.3)(use-sync-external-store@1.6.0(react@19.2.3)) devDependencies: '@eslint/eslintrc': specifier: ^3.3.3 @@ -3510,6 +3513,24 @@ packages: zod@3.25.76: resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} + zustand@5.0.9: + resolution: {integrity: sha512-ALBtUj0AfjJt3uNRQoL1tL2tMvj6Gp/6e39dnfT6uzpelGru8v1tPOGBzayOWbPJvujM8JojDk3E1LxeFisBNg==} + engines: {node: '>=12.20.0'} + peerDependencies: + '@types/react': '>=18.0.0' + immer: '>=9.0.6' + react: '>=18.0.0' + use-sync-external-store: '>=1.2.0' + peerDependenciesMeta: + '@types/react': + optional: true + immer: + optional: true + react: + optional: true + use-sync-external-store: + optional: true + zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} @@ -7406,4 +7427,10 @@ snapshots: zod@3.25.76: {} + zustand@5.0.9(@types/react@19.2.7)(react@19.2.3)(use-sync-external-store@1.6.0(react@19.2.3)): + optionalDependencies: + '@types/react': 19.2.7 + react: 19.2.3 + use-sync-external-store: 1.6.0(react@19.2.3) + zwitch@2.0.4: {}