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`.
This commit is contained in:
深鸣
2026-06-06 21:49:05 +08:00
committed by GitHub
parent 13f2ebfe12
commit 4a25ca934b
+9 -1
View File
@@ -2,4 +2,12 @@ packages:
- 'easytier-web/frontend'
- 'easytier-web/frontend-lib'
- 'easytier-gui'
- 'tauri-plugin-vpnservice'
- 'tauri-plugin-vpnservice'
overrides:
minimatch: 10.2.4
allowBuilds:
esbuild: true
unrs-resolver: true
vue-demi: true