The tsconfig.json file supports comments. When I tried to use this package to sync tsconfig.json with package.json I got an error message for existing tsconfig.json files:
❯ p meta-updater
ERROR: Error while processing /xxx/tsconfig.json: Expected property name or '}' in JSON at position 4
ERROR: Error while processing /xxx/tsconfig.json: Expected property name or '}' in JSON
I think this is because those files have comments. Perhaps JSON could be parsed with JSON5 instead to allow for this?
The
tsconfig.jsonfile supports comments. When I tried to use this package to synctsconfig.jsonwithpackage.jsonI got an error message for existingtsconfig.jsonfiles:I think this is because those files have comments. Perhaps JSON could be parsed with JSON5 instead to allow for this?