Skip to content

chore(theme): Keep the formatter off generated theme JSON#863

Merged
necolas merged 1 commit into
mainfrom
formatter-ignore-theme-json
Jun 22, 2026
Merged

chore(theme): Keep the formatter off generated theme JSON#863
necolas merged 1 commit into
mainfrom
formatter-ignore-theme-json

Conversation

@necolas

@necolas necolas commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Running the theme build rewrote every generated themes/*.json file into its raw JSON.stringify layout, so the working tree showed a diff on each build until oxfmt reformatted the files.

Add the generated theme paths to the oxfmt ignore list and store the files exactly as the build writes them, with a trailing newline the build now appends itself.

Running the theme build rewrote every generated themes/*.json file into
its raw JSON.stringify layout, so the working tree showed a diff on each
build until oxfmt reformatted the files.

Add the generated theme paths to the oxfmt ignore list and store the
files exactly as the build writes them, with a trailing newline the
build now appends itself.
@necolas necolas requested review from SlexAxton and amadeus June 21, 2026 23:35
@vercel

vercel Bot commented Jun 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pierre-docs-diffs Ready Ready Preview Jun 21, 2026 11:36pm
pierre-docs-diffshub Ready Ready Preview Jun 21, 2026 11:36pm
pierre-docs-trees Ready Ready Preview Jun 21, 2026 11:36pm
pierrejs-diff-demo Ready Ready Preview Jun 21, 2026 11:36pm

Request Review

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.

1 participant