Skip to content

Add examples playground and explicit example typechecks - #13

Merged
SandroMaglione merged 2 commits into
mainfrom
codex/examples-playground
Aug 2, 2026
Merged

Add examples playground and explicit example typechecks#13
SandroMaglione merged 2 commits into
mainfrom
codex/examples-playground

Conversation

@SandroMaglione

Copy link
Copy Markdown
Member

What changed

  • add a standalone React and Vite examples playground
  • add starter machines for turnstile, traffic-light, microwave, media-player, and worker/tab scenarios
  • update the platformer example for the current schema collection API and full target construction
  • give the platformer and Pokémon examples explicit typecheck scripts

Why

The repository benefits from small, focused examples that demonstrate the user-facing state-machine API and provide realistic places to exercise browser, React, worker, and statechart patterns.

Impact

The new playground is an independently installable example workspace. Existing library exports and runtime behavior are unchanged.

Validation

  • pnpm format:check
  • pnpm typecheck
  • pnpm perf:types — all instantiation counts unchanged
  • TypeScript typecheck and Vite production build for examples/platformer
  • TypeScript typecheck and Vite production build for examples/pokemon
  • TypeScript typecheck and Vite production build for examples/playground

@SandroMaglione
SandroMaglione marked this pull request as ready for review August 2, 2026 08:40
@SandroMaglione
SandroMaglione merged commit ee4251e into main Aug 2, 2026
2 checks passed
@SandroMaglione
SandroMaglione deleted the codex/examples-playground branch August 2, 2026 08:40
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