mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 00:46:45 +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.
|
||
|---|---|---|
| .. | ||
| lighthouse | ||
| test-data | ||
| add-missing-i18n-variables.js | ||
| afterPack.js | ||
| build-wayland-idle-helper.js | ||
| bump-android-version.js | ||
| check-file.js | ||
| clean-translations.js | ||
| cleanup-unused-translations.js | ||
| decompress.js | ||
| execCommand.js | ||
| extract-i18n-single.js | ||
| extract-i18n-watch.js | ||
| extract-i18n.js | ||
| extract-material-icon-names.js | ||
| extract-material-symbols-names.js | ||
| find-unused-translations.js | ||
| gen-perf-metrics.js | ||
| generate-ios-icon.js | ||
| generate-mac-icon.js | ||
| git-version.js | ||
| load-env.js | ||
| notarizeMacApp.js | ||
| release-notes.js | ||
| release-notes.test.js | ||
| remove-woff.js | ||
| test-file.js | ||
| test-lng-files.js | ||
| verify-electron-requires.js | ||