From 4a25ca934b676923ad75318ed2a223b69fe7f27e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B7=B1=E9=B8=A3?= Date: Sat, 6 Jun 2026 21:49:05 +0800 Subject: [PATCH] build: update pnpm config for v11 compatibility (#2322) pnpm v11 introduces breaking changes that cause frozen installations to fail: 1. The "pnpm" field in package.json is no longer read. Moved `overrides` to `pnpm-workspace.yaml` to fix `ERR_PNPM_LOCKFILE_CONFIG_MISMATCH`. 2. `strictDepBuilds` is now enabled by default. Added required dependencies (esbuild, unrs-resolver, vue-demi) to `allowBuilds` in the workspace config to fix `ERR_PNPM_IGNORED_BUILDS`. --- pnpm-workspace.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 395fa478..25d3909b 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -2,4 +2,12 @@ packages: - 'easytier-web/frontend' - 'easytier-web/frontend-lib' - 'easytier-gui' - - 'tauri-plugin-vpnservice' \ No newline at end of file + - 'tauri-plugin-vpnservice' + +overrides: + minimatch: 10.2.4 + +allowBuilds: + esbuild: true + unrs-resolver: true + vue-demi: true