Skip to content

Landing page: a replay of migrate on a sample app #876

Open

Description

@danfry1

The landing page gets a "See it work" section: a terminal replay of vitest-native migrate and migrate --write on a sample app, with the app's Jest setup and the config migrate writes shown side by side. A visitor can see what migrating looks like before installing anything.

Acceptance criteria

  • TerminalReplay.vue types each command and reveals its output when scrolled into view, with pause and replay. Under reduced motion it shows everything at once, and screen readers get the full transcript.
  • The replay is labelled as a sample app, so it is not read as the visitor's project.
  • The replay text is the CLI's real output: tests/site-replay.e2e.test.ts runs migrate on tests/fixtures/sample-app/ and records website/.vitepress/replay/*.txt with toMatchFileSnapshot, so the page cannot show output the CLI no longer prints.
  • The PR lists its new dependencies with their versions and how to remove them.

Dependencies

So that migrate resolves Jest and the preset as it would in an app, packages/vitest-native gains two exact-pinned devDependencies: jest 30.5.2 and @react-native/jest-preset 0.88.0. Jest 30 brings in @parcel/watcher 2.6.0, whose install script Bun blocks; its prebuilt binaries are optional packages, so nothing is built. The change touches package.json and bun.lock, so it runs with no other dependency change in flight.

The work is on the branch docs/site-see-it-work.

Activity

  1. added this to the 0.16.0 milestone on Nov 15, 2026
  2. added
    documentation
    priority:low
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationpriority:low

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions