1.0 KiB
1.0 KiB
WRNexusJS 0.6.0 R13 - UI reference release stability
Problem
release:private regenerated the UI component catalog and reference before publishing. On Windows, the generator always wrote LF output. When the checked-out JSON files used CRLF, Git reported both generated JSON files as modified even though their normalized content was already current.
Fix
- Added normalized newline comparison to
scripts/generate-ui-component-reference.mjs. - Generated files are no longer rewritten when their content differs only by line endings.
- Real generated-content differences are still written and remain visible to the release gate.
- Added
scripts/test-ui-reference-generation.mjsto execute both the CRLF no-op case and the genuine stale-content repair case. - Wired the executable regression into
scripts/validate-0.6.mjs.
Verified behavior
- Current CRLF catalog/reference files remain byte-for-byte unchanged.
- A stale reference count is regenerated to the correct value.
- Release verification still blocks real generated-content drift.