Fix desktop release review findings

This commit is contained in:
Simos Mikelatos
2026-06-19 12:29:46 +00:00
parent d1930fecdb
commit d7f4d4c342
4 changed files with 7 additions and 2 deletions

View File

@@ -86,6 +86,7 @@ async function writeServerPackageJson(stageDir) {
// The bundle stage is not a git checkout with dev dependencies, so lifecycle
// scripts such as Husky prepare must not run there. Dependency install scripts
// still run; native modules need them before the Electron ABI rebuild below.
delete stagedPackageJson.scripts.postinstall;
delete stagedPackageJson.scripts.prepare;
delete stagedPackageJson.scripts.prepublishOnly;
await fs.writeFile(