fix(compiler): log emitted files written outside expected destination directory for diagnostics

This commit is contained in:
2026-03-05 14:51:14 +00:00
parent 1033996cb5
commit fba2cba8e8
3 changed files with 22 additions and 1 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2026-03-05 - 4.1.21 - fix(compiler)
log emitted files written outside expected destination directory for diagnostics
- Adds diagnostic logging for emitted files that are not under the configured destDir, listing up to 20 example paths and reporting the remaining count.
- Logging is conditional: only when not in quiet mode and not emitting JSON.
- Diagnostic runs after compilation (post-compile) and before unpacking of outputs; paths are trimmed using the process cwd for readability.
## 2026-03-05 - 4.1.20 - fix(mod_compiler)
add diagnostic snapshots for output directories around clear and compile steps