Skip to content

Commit 0408a6e

Browse files
ochafikclaude
andauthored
release: 0.1.1 (prettier fix to unlock release) (#138)
* fix: prettify generated files on the fly - Add prettier --write to generate:schemas script to format generated files immediately after generation - Remove redundant prettier:fix from CI schema verification step (now that generation includes formatting) This fixes the release CI failure where generated files weren't formatted. Previously, PR CI masked this by running prettier:fix before the final prettier check, while release CI ran the check directly on freshly-generated (unformatted) files. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> * format --------- Co-authored-by: Claude <[email protected]>
1 parent eaea3f9 commit 0408a6e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
- name: Verify generated schemas are up-to-date
3131
run: |
3232
npm run generate:schemas
33-
npm run prettier:fix
3433
git diff --exit-code src/generated/ || (echo "Generated schemas are out of date. Run 'npm run generate:schemas' and commit." && exit 1)
3534
3635
- run: npm test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"examples/*"
3333
],
3434
"scripts": {
35-
"generate:schemas": "tsx scripts/generate-schemas.ts",
35+
"generate:schemas": "tsx scripts/generate-schemas.ts && prettier --write 'src/generated/**/*'",
3636
"build": "npm run generate:schemas && bun build.bun.ts",
3737
"prepack": "npm run build",
3838
"build:all": "npm run build && npm run examples:build",

src/app-bridge.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,9 @@ describe("App <-> AppBridge integration", () => {
342342
await flush();
343343

344344
// Send another partial update: only viewport changes
345-
newBridge.sendHostContextChange({ viewport: { width: 1024, height: 768 } });
345+
newBridge.sendHostContextChange({
346+
viewport: { width: 1024, height: 768 },
347+
});
346348
await flush();
347349

348350
// getHostContext should have accumulated all updates:

0 commit comments

Comments
 (0)