Skip to content

Commit 48f4fb0

Browse files
committed
Fix electron installs I guess
1 parent 10e50f7 commit 48f4fb0

3 files changed

Lines changed: 21 additions & 4 deletions

File tree

demos/angular-supabase-todolist/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"@angular/animations": "^19.2.4",
1818
"@angular/compiler": "^19.2.4",
1919
"@angular/core": "^19.2.4",
20+
"@angular/common": "^19.2.4",
2021
"@angular/forms": "^19.2.4",
2122
"@angular/platform-browser": "^19.2.4",
2223
"@angular/platform-browser-dynamic": "^19.2.4",

demos/example-electron-node/pnpm-workspace.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
packages:
22
- .
3+
4+
overrides:
5+
# @electron-forge depends on an older version of this using git dependency, which pnpm blocks.
6+
# The only breaking change is that this requires node 22 or later.
7+
"@electron/rebuild": ^4.0.4
8+
39
allowBuilds:
4-
better-sqlite3: true
10+
'@journeyapps/wa-sqlite': false
11+
'@swc/core': false
12+
# Electron has a postinstall script which populates the path to the electron bin.
513
electron: true
614
electron-winstaller: false
715
esbuild: false
8-
lzma-native: false
Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
packages:
22
- .
33

4-
onlyBuiltDependencies:
4+
overrides:
5+
# @electron-forge depends on an older version of this using git dependency, which pnpm blocks.
6+
# The only breaking change is that this requires node 22 or later.
7+
"@electron/rebuild": ^4.0.4
8+
9+
allowBuilds:
10+
'@journeyapps/wa-sqlite': false
11+
'@swc/core': false
512
# Electron has a postinstall script which populates the path to the electron bin.
6-
- electron
13+
electron: true
14+
electron-winstaller: false
15+
esbuild: false

0 commit comments

Comments
 (0)