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 <noreply@anthropic.com> * format --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
parent
eaea3f9e07
commit
0408a6e9c7
3 changed files with 4 additions and 3 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
|
@ -30,7 +30,6 @@ jobs:
|
|||
- name: Verify generated schemas are up-to-date
|
||||
run: |
|
||||
npm run generate:schemas
|
||||
npm run prettier:fix
|
||||
git diff --exit-code src/generated/ || (echo "Generated schemas are out of date. Run 'npm run generate:schemas' and commit." && exit 1)
|
||||
|
||||
- run: npm test
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
"examples/*"
|
||||
],
|
||||
"scripts": {
|
||||
"generate:schemas": "tsx scripts/generate-schemas.ts",
|
||||
"generate:schemas": "tsx scripts/generate-schemas.ts && prettier --write 'src/generated/**/*'",
|
||||
"build": "npm run generate:schemas && bun build.bun.ts",
|
||||
"prepack": "npm run build",
|
||||
"build:all": "npm run build && npm run examples:build",
|
||||
|
|
|
|||
|
|
@ -342,7 +342,9 @@ describe("App <-> AppBridge integration", () => {
|
|||
await flush();
|
||||
|
||||
// Send another partial update: only viewport changes
|
||||
newBridge.sendHostContextChange({ viewport: { width: 1024, height: 768 } });
|
||||
newBridge.sendHostContextChange({
|
||||
viewport: { width: 1024, height: 768 },
|
||||
});
|
||||
await flush();
|
||||
|
||||
// getHostContext should have accumulated all updates:
|
||||
|
|
|
|||
Loading…
Reference in a new issue