* chore(deps): update dependency cross-env to v7 * empty commit * add or remove the cross-env to each package depending on how its currently used --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com> Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Example
This package is responsible for copying the cypress/e2e and app files from cypress-example-kitchensink into the cypress repository.
The cypress/e2e tests, pulled into this package from the kitchen sink app, are used for scaffolding user's e2e tests in packages/data-context.
The app content, pulled into this package from the kitchen sink app, is published to cypress-io/cypress repository's Github page, https://example.cypress.io.
Updating Content
THERE'S LIKELY NO REASON YOU NEED TO EDIT ANY OF THE CODE IN THIS PACKAGE.
- Want to edit the
exampletests? -> edit it here instead. - Want to edit the actual https://example.cypress.io website? edit it here instead.
Major Version Bumps of Cypress
If any of the breaking changes in the next major release requires updates to Cypress commands or APIs, verify the site content in cypress-example-kitchensink is up-to-date and that all examples that will be scaffolded can successfully run with the breaking change.
Using a new version of cypress-example-kitchen-sink
When a commit is merged into master, a new version of the cypress-example-kitchen-sink repo is released automatically to npm. When this happens, you will need to update the example's dependency to match the newly released version.
-
Bump the
cypress-example-kitchensinkdevDependencywithin this package'spackage.json. -
Run
yarnandyarn workspace @packages/example buildto build the app and spec files. -
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 cypress/e2e and files from cypress-example-kitchensink, modifies them to point to https://example.cypress.io and creates the example tests.
Deploying
This command deploys directly to production! Before executing it, ensure everything looks correct in the ./build directory.
yarn workspace @packages/example deploy