mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-17 16:37:43 +00:00
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.
|
||
|---|---|---|
| .. | ||
| appx | ||
| icons | ||
| linux | ||
| 512x512.png | ||
| electron-builder.mas-dev.yaml | ||
| electron-builder.mas.yaml | ||
| electronMac{.original}.js | ||
| entitlements.mac.plist | ||
| entitlements.mas.inherit.plist | ||
| entitlements.mas.plist | ||
| hub.enc | ||
| icon.icns | ||
| icon.png | ||
| info.plist | ||
| release-notes.md | ||