mirror of
https://github.com/cypress-io/cypress.git
synced 2026-03-13 21:00:48 -05:00
build: publish vue3 on latest (#20099)
Co-authored-by: Jess <jess@jessicasachs.io>
This commit is contained in:
committed by
GitHub
parent
c43749bd9c
commit
e0bf81111e
@@ -1,12 +1,9 @@
|
||||
module.exports = {
|
||||
...require('../../.releaserc.base'),
|
||||
branches: [
|
||||
// we need to keep this branch in here even if no used because semantic-release demands
|
||||
// that we have at least one branch that has no config
|
||||
'next/npm/vue',
|
||||
// this line forces releasing 2.X releases on the latest channel
|
||||
{ name: 'npm/vue/v2', range: '2.X.X' },
|
||||
// this one releases v3 on master as beta on the next channel
|
||||
{ name: 'master', channel: 'next' },
|
||||
// this one releases v3 on master on the latest channel
|
||||
'master',
|
||||
// this line forces releasing 2.X releases on the v2 channel
|
||||
{ name: 'npm/vue/v2', range: '2.X.X', channel: 'v2' },
|
||||
],
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ It uses [Vue Test Utils](https://github.com/vuejs/vue-test-utils) under the hood
|
||||
|
||||
- Requires Cypress v7.0.0 or later
|
||||
- Requires [Node](https://nodejs.org/en/) version 12 or above
|
||||
- Supports webpack-based projects, vite in alpha, if you would like us to support another, please [create an issue](https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm:%20@cypress/vue&template=3-feature.md) or, if an issue already exists subscribe to it.
|
||||
- Supports projects built with Vue CLI, Vite, and Webpack. If you would like us to support another build configuration, please [create an issue](https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm:%20@cypress/vue&template=3-feature.md).
|
||||
|
||||
Now you are ready to install.
|
||||
|
||||
@@ -61,8 +61,7 @@ module.exports = (on) => {
|
||||
Install dev dependencies
|
||||
|
||||
```shell
|
||||
npm i -D @cypress/webpack-dev-server \
|
||||
vue-loader vue-template-compiler css-loader
|
||||
npm i -D @cypress/webpack-dev-server @cypress/vue
|
||||
```
|
||||
|
||||
And write a test
|
||||
@@ -617,20 +616,6 @@ yarn workspace @cypress/vue cy:open
|
||||
|
||||
Larger tests that use full application and run on CI (see [circle.yml](circle.yml)) are located in the folder [examples](examples).
|
||||
|
||||
### Debugging
|
||||
|
||||
Run Cypress with environment variable
|
||||
|
||||
```
|
||||
DEBUG=@cypress/vue
|
||||
```
|
||||
|
||||
If some deeply nested objects are abbreviated and do not print fully, set the maximum logging depth
|
||||
|
||||
```
|
||||
DEBUG=@cypress/vue DEBUG_DEPTH=10
|
||||
```
|
||||
|
||||
## Related info
|
||||
|
||||
- [Testing Vue web applications with Vuex data store & REST backend](https://www.cypress.io/blog/2017/11/28/testing-vue-web-application-with-vuex-data-store-and-rest-backend/)
|
||||
|
||||
Reference in New Issue
Block a user