mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-08-06 12:39:51 +00:00
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:
+9
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user