Files
hermes-agent/apps/desktop/scripts
kshitijk4poor b9df1cccae fix(desktop): keep inherited NODE_OPTIONS intact when adding the builder heap
Review follow-up on the cross-env removal. The first cut re-tokenized the
inherited NODE_OPTIONS on whitespace (collapsing quoted preload paths such as
`--require "/a  b/p.cjs"`) and let a smaller inherited --max-old-space-size
win, which cross-env never allowed. The heap flag is now appended to the
inherited string untouched, last, so 16384 always wins exactly as under
cross-env; the env is built once per source build, and HEAP_FLAG is
module-local.

The builder-script regression test now runs the real `npm run builder` with an
apostrophe path and asserts the wrapper received it verbatim (red on the
cross-env script) instead of matching the script text.
2026-09-29 03:37:24 +05:30
..
…
2026-09-21 18:19:03 -04:00