Skip to content

fix(react-ui): sync generated openui-defaults.scss with generator output - #804

Merged
ankit-thesys merged 1 commit into
mainfrom
ankit/fix-sync-generated-openui-defaults
Jul 21, 2026
Merged

fix(react-ui): sync generated openui-defaults.scss with generator output#804
ankit-thesys merged 1 commit into
mainfrom
ankit/fix-sync-generated-openui-defaults

Conversation

@ankit-thesys

Copy link
Copy Markdown
Contributor

What

Commits packages/react-ui/src/openui-defaults.scss exactly as generate:css-utils currently produces it. The changes are cosmetic only — alpha formatting (0.10.10), line wrapping, and one blank line; every CSS value is identical.

Why

react-ui's prepare script runs build, whose first step regenerates this file on every pnpm install. The committed copy had drifted from the generator's output (the generator was updated in #787 without re-committing the file), so any fresh checkout — including the Publish NPM packages workflow — ends up with an unclean working tree, and pnpm publish fails its git check:

ERR_PNPM_GIT_UNCLEAN  Unclean working tree. Commit or stash changes first.

That is what blocked the two react-ui 0.13.0 publish attempts today (runs 29833608212 and 29833815945). With this synced, install is idempotent again: the tree stays clean, prettier --check passes on the regenerated content (verified — it also passed in the failed CI runs), and publish can proceed.

Verification

Reproduced the CI environment (pnpm 9.15.4, install --frozen-lockfile) on a pristine clone: before this change the tree dirties on install; with this file, regeneration is a no-op.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ankit-thesys
ankit-thesys merged commit a72453c into main Jul 21, 2026
2 checks passed
@ankit-thesys
ankit-thesys deleted the ankit/fix-sync-generated-openui-defaults branch July 21, 2026 13:32
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.

2 participants