Fix package.json (#1080)

Fixes #554 #1049 
    
<!-- This is an auto-generated description by cubic. -->
---

## Summary by cubic
Stop mutating package.json when reading files. readFileWithCache now
returns raw content so all fields are preserved (e.g., packageManager).
Fixes #554 and #1049.

- **Bug Fixes**
  - Removed package.json "cleaning" logic and the cleanContent helper.
- Return and cache unmodified file content from both fs and
virtualFileSystem.

<!-- End of auto-generated description by cubic. -->
This commit is contained in:
Will Chen
2025-08-25 21:11:27 -07:00
committed by GitHub
parent 72be54e6c5
commit 1dfa0d1004
11 changed files with 12 additions and 38 deletions

File diff suppressed because one or more lines are too long