From 3d12e93610de4d7a1d5d72dca27c76e726c3493b Mon Sep 17 00:00:00 2001 From: oierxjn <1934672944@qq.com> Date: Wed, 8 Jul 2026 18:51:11 +0800 Subject: [PATCH 1/3] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0pnpm=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E5=92=8C=E5=8C=85=E7=AE=A1=E7=90=86=E5=99=A8=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 调整pnpm-workspace.yaml的依赖构建配置格式,升级packageManager到pnpm 11.10.0 --- package.json | 2 +- pnpm-workspace.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 6ae16ad..7ad23a2 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "vite-plugin-image-tools": "^4.1.1", "vitepress": "2.0.0-alpha.17" }, - "packageManager": "pnpm@11.0.0-dev.1005+sha512.91f84a392eea348ea4852a182912d2520273a4336f933b78cc44bc931eb999923c097e9433a9b355adc1f725725ea99082fc9f032a559df832632e764c92c798", + "packageManager": "pnpm@11.10.0+sha512.0b7f8b98060031904c017e3a41eb187a16d40eeb829b95c4f8cb03681761fc4ab53dd219115b9b447f4dce1a05a214764461e7d3703392a9f32f9511ce8c86c8", "scripts": { "docs:dev": "vitepress dev docs", "docs:build": "vitepress build docs", diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 70403da..8ac052d 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,7 +1,7 @@ -onlyBuiltDependencies: - - '@parcel/watcher' - - esbuild - - sharp +allowBuilds: + '@parcel/watcher': true + esbuild: true + sharp: true patchedDependencies: vitepress@2.0.0-alpha.17: patches/vitepress@2.0.0-alpha.17.patch From dc68852b4909a2c3c25ec933ecf81e6071942eda Mon Sep 17 00:00:00 2001 From: oierxjn <1934672944@qq.com> Date: Wed, 8 Jul 2026 19:07:32 +0800 Subject: [PATCH 2/3] chore(pnpm): add peer dependency version restriction MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 配置pnpm的peerDependencyRules,限制markdown-it-math@5.2.1依赖的temml版本为0.13.2 --- pnpm-workspace.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 8ac052d..c7852c4 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -5,3 +5,7 @@ allowBuilds: patchedDependencies: vitepress@2.0.0-alpha.17: patches/vitepress@2.0.0-alpha.17.patch + +peerDependencyRules: + allowedVersions: + "markdown-it-math@5.2.1>temml": "0.13.2" \ No newline at end of file From 0184548d798c5d7052b3a214f3ad917ac11192d5 Mon Sep 17 00:00:00 2001 From: oierxjn <1934672944@qq.com> Date: Wed, 8 Jul 2026 19:12:57 +0800 Subject: [PATCH 3/3] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4package.json?= =?UTF-8?q?=E4=B8=AD=E5=A4=9A=E4=BD=99=E7=9A=84pnpm=20peer=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除了冗余的pnpm peerDependencyRules配置项,清理包配置文件 --- package.json | 7 ------- 1 file changed, 7 deletions(-) diff --git a/package.json b/package.json index 7ad23a2..6e0b0dc 100644 --- a/package.json +++ b/package.json @@ -31,12 +31,5 @@ "tailwindcss": "^4.2.4", "uuid": "^14.0.0", "vue": "^3.5.33" - }, - "pnpm": { - "peerDependencyRules": { - "allowedVersions": { - "markdown-it-math@5.2.1>temml": "0.13.2" - } - } } }