Skip to content

fix(studio): build:dev mode, lint exclude .hyperframes, iframe ref guard#796

Open
vanceingalls wants to merge 1 commit into
mainfrom
fix/studio-devbuild-lint
Open

fix(studio): build:dev mode, lint exclude .hyperframes, iframe ref guard#796
vanceingalls wants to merge 1 commit into
mainfrom
fix/studio-devbuild-lint

Conversation

@vanceingalls
Copy link
Copy Markdown
Collaborator

Summary

  • CLAUDE.md: build:dev guidance — source maps + React dev warnings for local dev, production build is GHA-only
  • Studio lint: exclude .hyperframes/ and node_modules/ from walkDir scan — pick-design.html is a UI tool, not a composition
  • App.tsx: guard handlePreviewIframeRef with identity check to prevent re-entrant setPreviewIframe when the same iframe ref is passed

Test plan

  • bun run --cwd packages/studio build:dev produces source maps
  • Studio lint no longer reports errors for .hyperframes/pick-design.html
  • No "Maximum update depth exceeded" in dev mode

🤖 Generated with Claude Code

- CLAUDE.md: add build:dev guidance (source maps + React dev warnings for
  local dev, production build is GHA-only)
- Studio lint: exclude .hyperframes/ and node_modules/ from walkDir scan
  (pick-design.html is a UI tool, not a composition)
- App.tsx: guard handlePreviewIframeRef with identity check to prevent
  re-entrant setPreviewIframe when the same iframe ref is passed

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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