Update pnpm to 11.3, Node.js to 24.16, electron to 42.2, electron-builder to 26.11.1 (#66516)

* Apply `pnpx codemod run pnpm-v10-to-v11`

* Remove `eslint` hoisting, it's in the root package.json anyway

* `pnpm install`

* Bump Node.js to 24.15

* Bump pnpm to 11.1.1

* Update pnpm to 11.3.0

* Update `electron` to 42.2.0, `electron-builder` to 26.11.1

* Update `node-abi` to 4.31.0

* Override `yauzl` to workaround Electron not being installed on Node.js 24.16

* Update Node.js to 24.16

* Bump Playwright to 1.60.0
This commit is contained in:
Grzegorz Zdunek
2026-05-28 08:11:01 +00:00
committed by GitHub
parent 1bb374784b
commit 564779cdc0
7 changed files with 177 additions and 106 deletions
+14 -12
View File
@@ -3,18 +3,18 @@ packages:
- e/web/*
- e2e
- e/e2e
onlyBuiltDependencies:
- '@swc/core'
- cbor-extract
- electron
- esbuild
- msw
- node-pty
- protobufjs
- unrs-resolver
ignoredBuiltDependencies:
# Imported by jsdom-testing-mocks but not needed by us.
- puppeteer
allowBuilds:
'@swc/core': true
cbor-extract: true
esbuild: true
msw: true
node-pty: true
protobufjs: true
unrs-resolver: true
puppeteer: false
overrides:
# Remove once https://github.com/electron/electron/issues/51619 is addressed.
yauzl: '^3.3.1'
# Without this, electron-builder will pull in electron-builder-squirrel-windows (which we don't need)
# and that dep will in turn pull electron-winstaller (which we also don't need). pnpm will then
# start complaining that electron-winstaller is not in onlyBuiltDependencies.
@@ -41,3 +41,5 @@ shellEmulator: true
packageImportMethod: clone-or-copy
# Do not install packages released less than 2 days (2880 minutes) ago
minimumReleaseAge: 2880
# The pnpm team releases new versions pretty often, and we don't need to stay at the freshest version at all times.
updateNotifier: false