Skip to content

fix: preserve YAML runtime modules in desktop packages - #138

Closed
EF1874 wants to merge 1 commit into
MemTensor:v1.0.5from
EF1874:codex/fix-yaml-runtime-packaging
Closed

fix: preserve YAML runtime modules in desktop packages#138
EF1874 wants to merge 1 commit into
MemTensor:v1.0.5from
EF1874:codex/fix-yaml-runtime-packaging

Conversation

@EF1874

@EF1874 EF1874 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • restore only yaml/dist/doc/*.js after the generic third-party docs exclusion in all desktop builder variants
  • keep macOS runtime pruning from deleting YAML's runtime Document module
  • exclude third-party source maps so the fix reduces rather than increases package size
  • fail Windows/macOS packaging when any packaged YAML copy lacks required Document runtime modules

Verification

  • packaged archive: 4 composer copies, 4 directives copies, 4 Document copies, 0 node_modules source maps
  • packaged Memmy.exe loaded YAML from app.asar and parsed a document successfully
  • required native runtime DLL/Node addon/migrations artifacts remain present
  • app.asar: 964,159,678 -> 761,047,617 bytes (-203,112,061)
  • installer: 299,242,822 -> 272,922,035 bytes (-26,320,787)
  • packaged-runtime-boundary tests: 49 passed
  • full workspace typecheck passed
  • Windows and macOS packaging shell syntax checks passed
  • final review found no Critical or Important issues

@EF1874 EF1874 closed this Aug 3, 2026
@EF1874
EF1874 deleted the codex/fix-yaml-runtime-packaging branch August 3, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant