Files
cypress/packages/example/README.md
Ben Kucera 47faf52e16 internal: use yarn workspace over lerna for individual package commands (#7644)
* use yarn workspace over lerna for individual package commands

* remove usage of wait-on

* fix readmes after regex replace

* revert wait-on changes

* update yarn.lock
2020-06-10 18:31:40 -04:00

1.8 KiB

Example

This repo contains the source code for pushing out https://example.cypress.io.

The actual example repo you're probably looking for is the kitchen sink app here.

THERE'S LIKELY NO REASON YOU NEED TO EDIT ANY OF THE CODE ON THIS REPO.

Updating the example app

After releasing a new version on the cypress-example-kitchen-sink repo, you now want to update the example's dependency to match the newly released version.

  1. Bump the cypress-example-kitchensink devDependency within this package's package.json.

  2. Run yarn and yarn workspace @packages/example to build the app and spec files. CONTRIBUTING

  3. Create a new pull-request following this repo's pull request instructions.

Building

After running yarn you must build the app + spec files.

yarn workspace @packages/example build

This copies the src files from cypress-example-kitchensink, modifies them to point to https://example.cypress.io and creates the example tests.

Deploying

yarn workspace @packages/example deploy