Skip to content

Commit

Permalink
chore: update Electron 28
Browse files Browse the repository at this point in the history
  • Loading branch information
gre committed Jan 8, 2024
1 parent fc2cf04 commit b64953d
Show file tree
Hide file tree
Showing 7 changed files with 331 additions and 228 deletions.
2 changes: 1 addition & 1 deletion .pnpmfile.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function readPackage(pkg, context) {
"jest-environment-node": "*",
"jest-circus": "*",
}),
addDependencies("allure-playwright", { "@playwright/test": "*" }),
addDependencies("allure-playwright", { "@playwright/test": "1.41.0-alpha-jan-8-2024" }),
addPeerDependencies("@svgr/core", { "@svgr/plugin-svgo": "*" }),
addDependencies("@sentry/react-native", {
tslib: "*",
Expand Down
22 changes: 11 additions & 11 deletions apps/ledger-live-desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
"@ledgerhq/types-cryptoassets": "workspace:^",
"@ledgerhq/types-devices": "workspace:^",
"@ledgerhq/types-live": "workspace:^",
"@sentry/electron": "^4.15.1",
"@sentry/node": "7.84.0",
"@sentry/tracing": "7.84.0",
"@sentry/electron": "^4.16.0",
"@sentry/node": "7.90.0",
"@sentry/tracing": "7.90.0",
"@tippyjs/react": "^4.2.6",
"@trust/keyto": "^1.0.1",
"@types/qrcode": "^1.5.0",
Expand All @@ -83,7 +83,7 @@
"dotenv": "^16.0.3",
"electron-context-menu": "^3.6.0",
"electron-store": "^8.1.0",
"electron-updater": "^6.0.0",
"electron-updater": "^6.1.7",
"firebase": "^9.6.6",
"focus-trap": "^6.6.1",
"fuse.js": "^6.6.2",
Expand Down Expand Up @@ -140,14 +140,14 @@
"zxcvbn": "^4.4.2"
},
"devDependencies": {
"@electron/notarize": "^2.0.0",
"@electron/notarize": "^2.2.0",
"@jest/globals": "^29.7.0",
"@ledgerhq/react-devtools": "workspace:^",
"@ledgerhq/test-utils": "workspace:^",
"@octokit/rest": "^18.12.0",
"@playwright/test": "^1.39.0",
"@sentry/cli": "^2.23.0",
"@sentry/types": "^7.86.0",
"@playwright/test": "1.41.0-alpha-jan-8-2024",
"@sentry/cli": "^2.23.2",
"@sentry/types": "^7.91.0",
"@testing-library/dom": "^9.3.3",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.1.2",
Expand Down Expand Up @@ -180,13 +180,13 @@
"@types/write-file-atomic": "^4.0.0",
"@types/zxcvbn": "^4.4.1",
"@vitejs/plugin-react": "^3.1.0",
"allure-playwright": "2.9.2",
"allure-playwright": "2.10.0",
"axios": "^1.3.4",
"chalk": "^4.1.2",
"cross-env": "^7.0.3",
"debug": "^4.3.4",
"electron": "^27.0.4",
"electron-builder": "^24.0.0",
"electron": "^28.1.1",
"electron-builder": "^24.9.1",
"electron-devtools-installer": "^3.2.0",
"esbuild-utils": "workspace:*",
"eslint-plugin-jest": "^27.4.2",
Expand Down
2 changes: 1 addition & 1 deletion apps/ledger-live-desktop/tools/config/main.esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
...common,
entryPoints: ["./src/index.ts"],
entryNames: "main.bundle",
target: ["node18"],
target: ["node20"],
platform: "node",
format: "cjs",
// Some modules have different exports signatures depending on the main field. (for instance bignumber.js)
Expand Down
2 changes: 1 addition & 1 deletion apps/ledger-live-desktop/tools/config/preloader.esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ module.exports = {
entryNames: "preloader.bundle",
platform: "node",
format: "cjs",
target: ["chrome114"],
target: ["chrome120"],
external: [...electronPreloaderExternals],
};
2 changes: 1 addition & 1 deletion apps/ledger-live-desktop/tools/config/renderer.esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
entryNames: "renderer.bundle",
jsx: "automatic",
platform: "browser",
target: ["chrome114"],
target: ["chrome120"],
format: "iife",
mainFields: ["browser", "module", "main"],
assetNames: "assets/[name]-[hash]",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ module.exports = {
entryNames: "webviewPreloader.bundle",
platform: "node",
format: "cjs",
target: ["chrome114"],
target: ["chrome120"],
external: [...electronPreloaderExternals],
};
Loading

0 comments on commit b64953d

Please sign in to comment.