From 7cb2699f19aca4802b4d368f06ea3cbd5ae58c73 Mon Sep 17 00:00:00 2001 From: Jin Mao Date: Sun, 25 Jan 2026 19:12:43 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0pnpm=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E5=8C=BA=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 neverBuiltDependencies 配置 - 移除 peerDependencyRules.allowedVersions 配置 - 重新整理 overrides 和 catalog 部分 - 保持 @ast-grep/napi 等依赖的目录引用配置 - 维持 eslint 版本约束在目录顶层配置中 --- pnpm-workspace.yaml | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 2514e03df..b88ba0334 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -13,6 +13,15 @@ packages: - docs - playground +overrides: + '@ast-grep/napi': 'catalog:' + '@ctrl/tinycolor': 'catalog:' + clsx: 'catalog:' + esbuild: 'catalog:' + jiti: 'catalog:' + pinia: 'catalog:' + vue: 'catalog:' + catalog: '@ast-grep/napi': ^0.39.9 '@changesets/changelog-github': ^0.5.2 @@ -192,20 +201,3 @@ catalog: yaml-eslint-parser: ^1.3.2 zod: ^3.25.76 zod-defaults: 0.1.3 - -neverBuiltDependencies: - - canvas - - node-gyp - -overrides: - '@ast-grep/napi': 'catalog:' - '@ctrl/tinycolor': 'catalog:' - clsx: 'catalog:' - esbuild: 'catalog:' - jiti: 'catalog:' - pinia: 'catalog:' - vue: 'catalog:' - -peerDependencyRules: - allowedVersions: - eslint: '>=9.5.0'