super-productivity/build
Johannes Millan ddc01ab6cf build(electron): exclude uuidv7 and guard against future asar regressions
uuidv7 is imported only from src/app/util/uuid-v7.ts; the Angular
bundler inlines it (verified via chunk-65AEYVPY.js.map source
attribution). Adding it to the three electron-builder configs drops
another ~80 KB from the asar.

Extend tools/verify-electron-requires.js to also flag bare require()
targets in electron/ that match a `\!**/<pkg>/**` exclusion in
electron-builder.yaml. Without this, adding `require('@noble/ciphers')`
or similar in electron/main.ts would pass dev (which resolves against
on-disk node_modules) and only crash with MODULE_NOT_FOUND on packaged
releases. The script is already invoked from .github/workflows/
electron-smoke.yml, so the new check runs in CI automatically.

Manual verification covers 14 cases (8 excluded, 6 allowed) including
@noble/ciphers, @noble/hashes, scoped-vs-bare resolution, and Node
built-ins.
2026-05-13 21:22:59 +02:00
..
appx feat: improve windows store icon #2549 2024-02-26 13:55:34 +01:00
icons Size optimize all images 2021-05-13 22:28:53 +02:00
linux fix(linux): align wrapper wm class with desktop entry 2026-05-09 18:11:40 +02:00
512x512.png Size optimize all images 2021-05-13 22:28:53 +02:00
electron-builder.mas-dev.yaml build(electron): exclude uuidv7 and guard against future asar regressions 2026-05-13 21:22:59 +02:00
electron-builder.mas.yaml build(electron): exclude uuidv7 and guard against future asar regressions 2026-05-13 21:22:59 +02:00
electronMac{.original}.js chore: prepare mac os build 2019-10-05 18:49:56 +02:00
entitlements.mac.plist fix: arm64 mac build not working #2503 2023-12-04 14:02:53 +01:00
entitlements.mas.inherit.plist build: fix mas build 2 remove entitlements not needed anymore 2025-11-15 10:29:57 +01:00
entitlements.mas.plist build: fix mas build 2 remove entitlements not needed anymore 2025-11-15 10:29:57 +01:00
hub.enc feat: add icons 2019-01-11 17:55:49 +01:00
icon.icns fix: remove white borders from macOS icon (#6323) 2026-02-10 14:41:16 +01:00
icon.png Size optimize all images 2021-05-13 22:28:53 +02:00
info.plist chore: mac local dmg build work 2019-10-07 14:34:33 +02:00
release-notes.md docs/wiki content v0.8 (#7068) 2026-04-01 12:40:28 +02:00