fix(deps): move jszip and sharp to runtime dependencies, unpack sharp from asar

- Add jszip (^3.10.1) to dependencies; keep version-pinned in overrides
- Move sharp (^0.34.3) from devDependencies to dependencies for Phase B runtime use
- Add node_modules/sharp/** to build.asarUnpack so native bindings are not packed

Amit Haridas
This commit is contained in:
2026-08-23 19:31:33 +05:30
parent b80e34fcf5
commit 949053a7c5
2 changed files with 9 additions and 35 deletions
+4 -2
View File
@@ -52,8 +52,7 @@
"eslint-plugin-prettier": "^5.5.4",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"prettier": "^3.7.4",
"sharp": "^0.34.3"
"prettier": "^3.7.4"
},
"dependencies": {
"@codemirror/autocomplete": "^6.20.1",
@@ -79,6 +78,7 @@
"ffmpeg-static": "^5.3.0",
"highlight.js": "^11.11.1",
"html2pdf.js": "^0.14.0",
"jszip": "^3.10.1",
"marked": "^17.0.3",
"marked-footnote": "^1.4.0",
"marked-highlight": "^2.2.3",
@@ -87,6 +87,7 @@
"pdfjs-dist": "^5.5.207",
"pdfkit": "^0.17.2",
"pizzip": "^3.2.0",
"sharp": "^0.34.3",
"simple-git": "^3.32.3",
"tslib": "^2.8.1"
},
@@ -114,6 +115,7 @@
],
"asarUnpack": [
"node_modules/ffmpeg-static/**",
"node_modules/sharp/**",
"assets/fonts/**"
],
"extraFiles": [],