onerepo
onerepo copied to clipboard
Treat `tsconfig.json` as JSONC
What version of oneRepo are you using?
1.1.0
Environment info
Not relevant.
Command
one tsc --use-project-references
What did you expect to happen?
Comments preserved.
What actually happened?
Comments are stripped if project references need an update, because it's serialized via JSON.stringify
:
https://github.com/paularmstrong/onerepo/blob/be882795966edd469524734de8140be6fc111685/plugins/typescript/src/commands/typescript.ts#L64
Participation
- [ ] I am willing to submit a pull request for this issue.