Repository navigation
fixtures(babylon): normalize package.json line endings so zpm can install it - #202
Conversation
24 of babylon's 87 package.json files were stored with CRLF line
endings (as upstream Babylon.js ships them). zpm's JSON parser fails on
them ('Expected " at offset 1'), so zpm has failed every babylon
variation in every nightly run. Only line endings change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
zpm has failed every babylon variation in every nightly run (checked back to 2026-11-11). Each zpm babylon result is
exit_codes: [1,1,1], failing within milliseconds:Cause: 24 of babylon's 87
package.jsonfiles are stored with CRLF line endings, the same way upstream Babylon.js ships them (.gitattributeshas* -crlf). Tracing zpm shows the last file it reads ispackages/dev/addons/package.json, which starts with{\r\n. zpm's JSON parser expects"at offset 1 and gets\r.Fix: convert those 24 files to LF. Only line endings change (
git diff --ignore-cr-at-eolis empty), and every file still parses as JSON. Tested locally with zpm 6.0.0-rc.20:yarn installon babylon now exits 0 in about 33s.Before merging, decide: CRLF is how the real project ships, so this failure is a genuine zpm bug, and normalizing the fixture hides it. The other option is to keep the fixture as it is, leave zpm failing on babylon, and report the bug to zpm. This PR assumes we'd rather have zpm babylon numbers. The change doesn't affect other package managers, which already parse these files.
🤖 Generated with Claude Code
Summary by CodeRabbit