From 044c3d50d1cd7b6942e8d0506eba937c32254207 Mon Sep 17 00:00:00 2001 From: DhanushSantosh Date: Sun, 18 Jan 2026 01:28:14 +0530 Subject: [PATCH] fix: mark dmg-license as optional dependency for cross-platform builds dmg-license is a macOS-only package used for building DMG installers. Moving it from devDependencies to optionalDependencies allows npm ci to succeed on Linux and Windows without failing on platform checks. macOS developers will still get the package when available. Linux/Windows developers can now run npm ci without errors. Fixes: npm ci failing on Linux with "EBADPLATFORM" error Co-Authored-By: Claude Haiku 4.5 --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 815745e8..1c884bc5 100644 --- a/package.json +++ b/package.json @@ -67,10 +67,12 @@ "tree-kill": "1.2.2" }, "devDependencies": { - "dmg-license": "^1.0.11", "husky": "9.1.7", "lint-staged": "16.2.7", "prettier": "3.7.4", "vitest": "4.0.16" + }, + "optionalDependencies": { + "dmg-license": "^1.0.11" } }