mirror of
https://github.com/davidkaya/aryx.git
synced 2026-08-03 18:38:35 +02:00
perf: optimize release artifact size and file count
- Move 15 renderer-only dependencies to devDependencies since they are already bundled by Vite (197 → 37 runtime deps) - Pack app resources into asar archive with native addon unpacking - Strip unused Electron locale files, keeping only en-US - Remove non-essential Electron files (LICENSES.chromium.html, LICENSE) - Remove default_app.asar from Electron distribution - Strip .NET sidecar localization satellite assemblies (en only) Release artifact shrinks from 607 MB / 10,525 files to 478 MB / 235 files. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
+17
-16
@@ -31,37 +31,38 @@
|
||||
"homepage": "https://github.com/davidkaya/aryx#readme",
|
||||
"packageManager": "bun@1.3.6",
|
||||
"devDependencies": {
|
||||
"@dagrejs/dagre": "^3.0.0",
|
||||
"@electron/asar": "^4.1.1",
|
||||
"@lexical/code": "0.42.0",
|
||||
"@lexical/headless": "0.42.0",
|
||||
"@lexical/link": "0.42.0",
|
||||
"@lexical/list": "0.42.0",
|
||||
"@lexical/markdown": "0.42.0",
|
||||
"@lexical/react": "0.42.0",
|
||||
"@lexical/rich-text": "0.42.0",
|
||||
"@tailwindcss/vite": "^4.2.2",
|
||||
"@types/node": "^25.5.0",
|
||||
"@types/react": "^19.2.14",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@vitejs/plugin-react": "5.1.0",
|
||||
"@xyflow/react": "^12.10.1",
|
||||
"bun-types": "^1.3.11",
|
||||
"electron": "^41.0.3",
|
||||
"electron-vite": "^5.0.0",
|
||||
"highlight.js": "^11.11.1",
|
||||
"lexical": "0.42.0",
|
||||
"lucide-react": "^0.577.0",
|
||||
"rcedit": "^5.0.2",
|
||||
"react": "^19.2.4",
|
||||
"react-dom": "^19.2.4",
|
||||
"react-markdown": "^10.1.0",
|
||||
"remark-gfm": "^4.0.1",
|
||||
"tailwindcss": "^4.2.2",
|
||||
"typescript": "^5.9.3",
|
||||
"typescript-language-server": "^5.1.3",
|
||||
"vite": "7.1.10"
|
||||
},
|
||||
"dependencies": {
|
||||
"@dagrejs/dagre": "^3.0.0",
|
||||
"@lexical/code": "0.42.0",
|
||||
"@lexical/link": "0.42.0",
|
||||
"@lexical/list": "0.42.0",
|
||||
"@lexical/markdown": "0.42.0",
|
||||
"@lexical/react": "0.42.0",
|
||||
"@lexical/rich-text": "0.42.0",
|
||||
"@xyflow/react": "^12.10.1",
|
||||
"highlight.js": "^11.11.1",
|
||||
"keytar": "^7.9.0",
|
||||
"lexical": "0.42.0",
|
||||
"lucide-react": "^0.577.0",
|
||||
"react": "^19.2.4",
|
||||
"react-dom": "^19.2.4",
|
||||
"react-markdown": "^10.1.0",
|
||||
"remark-gfm": "^4.0.1"
|
||||
"keytar": "^7.9.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user