Skip to content

fix(build): normalize embedded file line endings - #54

Open
dajiaohuang wants to merge 1 commit into
volcengine:mainfrom
dajiaohuang:fix/deterministic-embedded-line-endings
Open

fix(build): normalize embedded file line endings#54
dajiaohuang wants to merge 1 commit into
volcengine:mainfrom
dajiaohuang:fix/deterministic-embedded-line-endings

Conversation

@dajiaohuang

Copy link
Copy Markdown

Summary

  • normalize project-template text to LF before embedding
  • normalize repository-skill text to LF before embedding

This makes generated TypeScript deterministic across LF and CRLF working-tree checkouts.

Fixes #48.

Validation

  • focused cross-platform check: generated both outputs from LF inputs, changed representative template and skill inputs to CRLF, regenerated, and verified identical SHA-256 hashes
  • npm run build
  • npm run validate:skills
  • git diff --check

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.

Embedded generators are not line-ending-stable on Windows

1 participant