From 1ce57554e260850472cf753de68858f47b3f7b3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barth=C3=A9l=C3=A9my=20Ledoux?= Date: Wed, 10 Mar 2021 14:11:14 -0600 Subject: [PATCH] fix: trigger release of the packages (#15405) --- npm/vite-dev-server/README.md | 14 +++++++++++++- npm/vue/README.md | 2 ++ npm/webpack-dev-server/README.md | 2 ++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/npm/vite-dev-server/README.md b/npm/vite-dev-server/README.md index 91e2bf5da29c..d334bb411c95 100644 --- a/npm/vite-dev-server/README.md +++ b/npm/vite-dev-server/README.md @@ -1,3 +1,15 @@ # ⚡️ + 🌲 Cypress Component Testing w/ Vite -> **Note** this package is not meant to be used outside of cypress component testing. +To install vite in you component testing environment, +1. Install it `yarn add @cypress/vite-dev-server` +2. Add it to `cypress/plugins/index.js` + +```js +import { startDevServer } from '@cypress/vite-dev-server' + +module.exports = (on, config) => { + on('dev-server:start', async (options) => startDevServer({ options })) + + return config +} +``` diff --git a/npm/vue/README.md b/npm/vue/README.md index 0c858014c359..00d1c3d12626 100644 --- a/npm/vue/README.md +++ b/npm/vue/README.md @@ -743,6 +743,8 @@ module.exports = (on, config) => { The Cypress.io Component Testing Team - [Jessica Sachs](https://github.com/jessicasachs) (Current Maintainer, [Vue Test Utils](https://github.com/vuejs/vue-test-utils) Maintainer) +- [Lachlan Miller](https://github.com/lmiller1990) (Current Maintainer, [Vue Test Utils](https://github.com/vuejs/vue-test-utils) Maintainer) +- [Bart Ledoux](https://github.com/elevatebart) (Current Maintainer, [Vue Styleguidist](https://github.com/vue-styleguidist/vue-styleguidist) Maintainer) - [Gleb Bahmutov](https://github.com/bahmutov) (Original Author, Current Maintainer of [@cypress/react](https://github.com//cypress-io/@cypress/react)) Support: if you find any problems with this module, [tweet](https://twitter.com/_jessicasachs) / [open issue](https://github.com/cypress-io/cypress/issues) on Github diff --git a/npm/webpack-dev-server/README.md b/npm/webpack-dev-server/README.md index 09ed3783d8d8..abece7ff560e 100644 --- a/npm/webpack-dev-server/README.md +++ b/npm/webpack-dev-server/README.md @@ -2,6 +2,8 @@ > **Note** this package is not meant to be used outside of cypress component testing. +Install `@cypress/vue` or `@cypress/react` to get this package working properly + ## Responsibilities - Make a `webpack.config` from the users setup