Skip to content

Commit

Permalink
chore: update Electron 28 (#5823)
Browse files Browse the repository at this point in the history
  • Loading branch information
gre authored Feb 2, 2024
1 parent 0fc0718 commit fcbdb9f
Show file tree
Hide file tree
Showing 7 changed files with 148 additions and 120 deletions.
65 changes: 62 additions & 3 deletions apps/ledger-live-desktop/cryptoassets.md

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions apps/ledger-live-desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@
"@ledgerhq/hw-transport-vault": "workspace:^",
"@ledgerhq/live-common": "workspace:^",
"@ledgerhq/live-config": "workspace:^",
"@ledgerhq/live-env": "workspace:^",
"@ledgerhq/live-network": "workspace:^",
"@ledgerhq/live-countervalues": "workspace:^",
"@ledgerhq/live-countervalues-react": "workspace:^",
"@ledgerhq/live-env": "workspace:^",
"@ledgerhq/live-network": "workspace:^",
"@ledgerhq/live-nft": "workspace:^",
"@ledgerhq/live-nft-react": "workspace:^",
"@ledgerhq/logs": "workspace:^",
Expand Down Expand Up @@ -144,15 +144,17 @@
"zxcvbn": "^4.4.2"
},
"devDependencies": {
"@electron/notarize": "^2.0.0",
"@electron/notarize": "^2.2.1",
"@jest/globals": "^29.7.0",
"@ledgerhq/esbuild-utils": "workspace:*",
"@ledgerhq/hw-transport-mocker": "workspace:^",
"@ledgerhq/native-modules-tools": "workspace:*",
"@ledgerhq/react-devtools": "workspace:^",
"@ledgerhq/test-utils": "workspace:^",
"@ledgerhq/hw-transport-mocker": "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.2",
"@sentry/cli": "^2.27.0",
"@sentry/types": "^7.99.0",
"@testing-library/dom": "^9.3.3",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.1.2",
Expand Down Expand Up @@ -185,15 +187,14 @@
"@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.12.0",
"axios": "^1.3.4",
"chalk": "^4.1.2",
"cross-env": "^7.0.3",
"debug": "^4.3.4",
"electron": "^27.0.4",
"electron": "^28.2.1",
"electron-builder": "^24.0.0",
"electron-devtools-installer": "^3.2.0",
"@ledgerhq/esbuild-utils": "workspace:*",
"eslint-plugin-jest": "^27.4.2",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
Expand All @@ -204,7 +205,6 @@
"jest-environment-jsdom": "^29.7.0",
"listr": "^0.14.3",
"listr-verbose-renderer": "^0.6.0",
"@ledgerhq/native-modules-tools": "workspace:*",
"prebuild-install": "^7.1.1",
"react-refresh": "^0.14.0",
"react-test-renderer": "^18.2.0",
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 fcbdb9f

Please sign in to comment.