Skip to content

Set up Vercel demo workspace - #3

Merged
roprgm merged 3 commits into
mainfrom
agent/vercel-demo-workspace
Jul 25, 2026
Merged

roprgm merged 3 commits into
mainfrom
agent/vercel-demo-workspace

Conversation

@roprgm

@roprgm roprgm commented Jul 25, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • make demo a pnpm workspace package that depends on chat-voice-input
  • move the Vercel build configuration into demo
  • add demo/api/transcription.js as a Vercel Function
  • build the library before running or type-checking the demo
  • use the AI SDK transcriber and /api/transcription by default in the demo
  • keep the React 18 CI job compatible with the pnpm workspace root

Why

The Vercel project now uses demo as its Root Directory. This keeps the demo and its API together while allowing the demo to consume the library through its public package exports.

Validation

  • CI=true pnpm install --frozen-lockfile
  • pnpm check
  • pnpm test (28 tests)
  • pnpm --dir demo build
  • GitHub CI: Node 22, Node 24, and React 18 passed
  • Vercel Preview deployment passed

Deployment notes

  • Vercel Root Directory: demo
  • Include source files outside the Root Directory: enabled
  • POST /api/transcription uses AI_GATEWAY_API_KEY and should be protected with authentication and rate limiting before a production rollout

@vercel

vercel Bot commented Jul 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
chat-voice-input Ready Ready Preview, Comment Jul 25, 2026 8:26pm

Request Review

@roprgm
roprgm marked this pull request as ready for review July 25, 2026 20:28
@roprgm
roprgm merged commit 42bf74d into main Jul 25, 2026
5 checks passed
@roprgm
roprgm deleted the agent/vercel-demo-workspace branch July 25, 2026 20:28

This branch was successfully deployed

1 active deployment
Preview — 5836f939 Deployed Jul 25, 2026 by vercel[bot]
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