fba2cba8e8
fix(compiler): log emitted files written outside expected destination directory for diagnostics
2026-03-05 14:51:14 +00:00
7e8b5c4467
fix(mod_compiler): add diagnostic snapshots for output directories around clear and compile steps
2026-03-05 14:48:05 +00:00
d6fb6e527e
fix(mod_compiler): add diagnostic logging of output directory states after compilation and after import-path rewriting to aid debugging
2026-03-05 14:40:05 +00:00
49d62e20a4
fix(fs): replace execSync and fsync workarounds with atomic async FsHelpers operations to avoid XFS races and shell dependencies
2026-03-05 14:01:00 +00:00
d3e3905e7f
fix(mod_compiler): replace runtime require calls with top-level imports and use execSync/path.join for filesystem sync and traversal
2026-03-05 13:22:17 +00:00
920095d008
fix(mod_compiler): flush directory entries before unpack to avoid XFS delayed-log causing partial readdir results
2026-03-05 13:21:03 +00:00
856099b5ed
fix(unpack): catch unpack errors and add verbose unpack logging
2026-03-05 12:29:11 +00:00
c269039050
fix(fs/compiler/unpack): robustify directory removal and remove noisy diagnostic logging
2026-03-05 12:19:24 +00:00
cf05229b86
fix(mod_compiler): add diagnostic logging to report dist_ts and output directory contents after each compilation task and after import-path rewriting
2026-03-05 12:12:51 +00:00
52e1a25948
fix(diagnostics): add diagnostic logging around compilation and unpack to aid troubleshooting
2026-03-05 11:59:18 +00:00
c8a1582ec4
fix(TsPathRewriter): auto-detect all ts_* folders in project for cross-module import rewriting
...
Previously only mapped folders from the current compilation glob patterns.
Now scans project directory for all ts_* folders to ensure imports like
'../ts_shared/' are rewritten to '../dist_ts_shared/' even when compiling
only the main ts/ folder.
2026-01-12 17:53:06 +00:00
4ccb7ea9d6
fix(TsPathRewriter): rewrite cross-module import paths after compilation
...
When compiling multiple ts_* source directories to dist_ts_* outputs,
imports like '../ts_shared/helper.js' now correctly become
'../dist_ts_shared/helper.js' in the compiled output.
Uses targeted regex patterns that only match import/export/require
statements, avoiding false positives in strings or comments.
2026-01-12 17:48:04 +00:00
fb6bd614d3
fix(TsCompiler): Clear output directories before compilation to ensure clean builds and avoid stale files
2025-12-14 00:19:09 +00:00
e5fcbb9a09
BREAKING(structure): modernize internal structure and support unpacking
2025-12-13 22:59:58 +00:00