From 54b002455f0049d4ad97895251c9c2af224e6746 Mon Sep 17 00:00:00 2001 From: wangziqi Date: Fri, 7 Aug 2026 16:37:47 +0800 Subject: [PATCH] =?UTF-8?q?chore(admin):=20=E5=A3=B0=E6=98=8E=20react-synt?= =?UTF-8?q?ax-highlighter=20=E8=BF=90=E8=A1=8C=E6=97=B6=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/admin/package.json | 1 + package-lock.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/admin/package.json b/apps/admin/package.json index 22de786..90b7684 100644 --- a/apps/admin/package.json +++ b/apps/admin/package.json @@ -33,6 +33,7 @@ "react": "^19.2.5", "react-dom": "^19.2.5", "react-router": "^8.3.0", + "react-syntax-highlighter": "^16.1.1", "use-immer": "^0.11.0", "usehooks-ts": "^3.1.1", "zod": "^4.4.3", diff --git a/package-lock.json b/package-lock.json index bfebdb2..fd2c698 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,6 +40,7 @@ "react": "^19.2.5", "react-dom": "^19.2.5", "react-router": "^8.3.0", + "react-syntax-highlighter": "^16.1.1", "use-immer": "^0.11.0", "usehooks-ts": "^3.1.1", "zod": "^4.4.3", @@ -16256,7 +16257,7 @@ }, "node_modules/react-syntax-highlighter": { "version": "16.1.1", - "resolved": "https://registry.npmjs.org/react-syntax-highlighter/-/react-syntax-highlighter-16.1.1.tgz", + "resolved": "https://registry.npmmirror.com/react-syntax-highlighter/-/react-syntax-highlighter-16.1.1.tgz", "integrity": "sha512-PjVawBGy80C6YbC5DDZJeUjBmC7skaoEUdvfFQediQHgCL7aKyVHe57SaJGfQsloGDac+gCpTfRdtxzWWKmCXA==", "license": "MIT", "dependencies": {