Files
hyperframes/packages/studio
Miguel Angel Simon Sierra 9fa11588e0 chore(studio): move Studio to Vite 8, plugin-react 6, Vitest 4
Bumps vite to 8.2.2, @vitejs/plugin-react to 6.1.1 and vitest to 4.1.11
together, since plugin-react 6 requires Vite 8. vite.config.ts needed no
change: none of the options it sets were dropped.

Three follow-ons the bump forced:

- Vitest 4 removed the poolOptions CLI flags in favour of a top-level
  --maxWorkers, so that is now the cap to pass when running the suite.
- Vite 6's type entry carried a reference to the Node types, which is how
  Studio's tsconfig got them without asking. Vite 8 declares @types/node as
  an optional peer instead, so Studio now depends on it and lists node in
  its types array, as every sibling package already does.
- Vitest 4's vi.fn() types as a callable-or-constructable union, so
  ReturnType<typeof vi.fn> no longer assigns to a plain callback prop. The
  affected annotations use Mock, whose default parameter is the old
  procedure-only shape.

Test count is unchanged: 4761 tests across 428 files.
2026-09-04 00:14:55 -04:00
..
…

@hyperframes/studio

Browser-based composition editor UI for Hyperframes. Provides a visual timeline, code editor, and live preview for building video compositions.

Install

npm install @hyperframes/studio

What it does

The studio is a React application with:

  • Visual timeline — drag, resize, and arrange elements on tracks
  • Code editor — edit HTML and GSAP scripts with CodeMirror (syntax highlighting, autocomplete)
  • Live preview — see changes in real time as you edit
  • Composition inspector — view and modify element properties

Development

The studio is embedded in the hyperframes preview command. To develop the studio UI itself:

cd packages/studio
bun run dev        # Start Vite dev server
bun run build      # Build for production
bun run typecheck  # Type-check

Tech stack

  • React 18/19, Zustand (state management)
  • CodeMirror 6 (editor)
  • Tailwind CSS (styling)
  • Vite (bundler)
  • Phosphor Icons

Documentation

Full documentation: hyperframes.heygen.com/packages/studio