mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-09-04 10:05:42 +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:
@@ -3,3 +3,11 @@ packages:
|
|||||||
- 'easytier-web/frontend-lib'
|
- 'easytier-web/frontend-lib'
|
||||||
- 'easytier-gui'
|
- '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