Skip to content

fix(generate): use Bun.JSONC.parse for tsconfig.json to handle JSONC comments#93

Merged
vimtor merged 1 commit intoanomalyco:masterfrom
nabla-studio:giorgionocera/fix-generate_script_JSON
Apr 8, 2026
Merged

fix(generate): use Bun.JSONC.parse for tsconfig.json to handle JSONC comments#93
vimtor merged 1 commit intoanomalyco:masterfrom
nabla-studio:giorgionocera/fix-generate_script_JSON

Conversation

@giorgionocera
Copy link
Copy Markdown
Contributor

@giorgionocera giorgionocera commented Apr 8, 2026

Pulumi v3.229.0+ generates tsconfig.json with JavaScript-style comments, which breaks Bun.file().json() (strict JSON.parse). Switch to Bun.JSONC.parse

Closes #91

…comments

Pulumi v3.229.0+ generates tsconfig.json with JavaScript-style comments, which breaks Bun.file().json() (strict JSON.parse). Switch to Bun.JSONC.parse
@vimtor vimtor merged commit c98b492 into anomalyco:master Apr 8, 2026
1 check passed
Ernxst pushed a commit to Ernxst/sst-provider that referenced this pull request Apr 8, 2026
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.

generate.ts fails to parse tsconfig.json generated by newer Pulumi versions

2 participants