Skip to content

Repo responsible for CLI + E2E Test Runner integrations

Notifications You must be signed in to change notification settings

replayio/replay-cli

Repository files navigation

Replay CLI

The Replay CLI provides packages for interacting with Replay to record, manage, and upload replays, as well as upload sourcemaps.

To use Replay with a Desktop Browser, visit replay.io to download and install.

Packages

  • /replayio CLI for viewing and uploading recordings
  • /cypress Beta Plugin for recording and capturing metadata for Cypress tests.
  • /playwright Beta Plugin for recording and capturing metadata for Playwright tests.
  • /puppeteer Experimental Plugin for recording Puppeteer tests.
  • /node Experimental CLI for recording Node.
  • /sourcemap-upload CLI for uploading sourcemaps to Replay servers to use when viewing replays.
  • /sourcemap-upload-webpack-plugin Webpack plugin for sourcemap-upload

Developing

  1. yarn
  2. yarn run build

That should create an installed version of the package in dist within each directory in packages.

Testing

You can run the unit tests for all of the packages with earthly +test. You can run the unit tests for any individual package with yarn run test within that package.

Deploying

  1. Adjust package.json#version in all packages that you want to release
  2. yarn release