From 3170fe889b81b592dca27ac54cf9600fbe54f9b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Sat, 8 Nov 2025 00:41:56 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B8=85=E7=90=86=20.npmrc=20?= =?UTF-8?q?=E6=96=87=E4=BB=B6=EF=BC=8C=E6=9B=B4=E6=96=B0=20pnpm-workspace.?= =?UTF-8?q?yaml=20=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .npmrc | 8 -------- pnpm-workspace.yaml | 6 +++++- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.npmrc b/.npmrc index 69e15a3..fa81015 100644 --- a/.npmrc +++ b/.npmrc @@ -1,9 +1 @@ # registry=https://registry.npmmirror.com/ - -# https://pnpm.io/zh/npmrc#node-mirrorltreleasedir -use-node-version=24.7.0 -node-mirror:release=https://npmmirror.com/mirrors/node/ # pnpm config set node-mirror:release=https://npmmirror.com/mirrors/node/ -node-mirror:rc=https://npmmirror.com/mirrors/node-rc/ -node-mirror:nightly=https://npmmirror.com/mirrors/node-nightly/ - -# shamefully-hoist=true diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index dee51e9..5ef0101 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,2 +1,6 @@ packages: - - "packages/*" + - 'packages/*' + +useNodeVersion: 24.11.0 # https://pnpm.io/zh/settings#usenodeversion +shamefullyHoist: true # https://pnpm.io/zh/settings#shamefullyhoist +# https://pnpm.io/zh/settings#node-mirror ???