Skip to content

Commit e0bf811

Browse files
Barthélémy LedouxJessicaSachs
andauthored
build: publish vue3 on latest (#20099)
Co-authored-by: Jess <[email protected]>
1 parent c43749b commit e0bf811

File tree

2 files changed

+6
-24
lines changed

2 files changed

+6
-24
lines changed

npm/vue/.releaserc.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
module.exports = {
22
...require('../../.releaserc.base'),
33
branches: [
4-
// we need to keep this branch in here even if no used because semantic-release demands
5-
// that we have at least one branch that has no config
6-
'next/npm/vue',
7-
// this line forces releasing 2.X releases on the latest channel
8-
{ name: 'npm/vue/v2', range: '2.X.X' },
9-
// this one releases v3 on master as beta on the next channel
10-
{ name: 'master', channel: 'next' },
4+
// this one releases v3 on master on the latest channel
5+
'master',
6+
// this line forces releasing 2.X releases on the v2 channel
7+
{ name: 'npm/vue/v2', range: '2.X.X', channel: 'v2' },
118
],
129
}

npm/vue/README.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ It uses [Vue Test Utils](https://github.com/vuejs/vue-test-utils) under the hood
2424

2525
- Requires Cypress v7.0.0 or later
2626
- Requires [Node](https://nodejs.org/en/) version 12 or above
27-
- 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.
27+
- 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).
2828

2929
Now you are ready to install.
3030

@@ -61,8 +61,7 @@ module.exports = (on) => {
6161
Install dev dependencies
6262

6363
```shell
64-
npm i -D @cypress/webpack-dev-server \
65-
vue-loader vue-template-compiler css-loader
64+
npm i -D @cypress/webpack-dev-server @cypress/vue
6665
```
6766

6867
And write a test
@@ -617,20 +616,6 @@ yarn workspace @cypress/vue cy:open
617616

618617
Larger tests that use full application and run on CI (see [circle.yml](circle.yml)) are located in the folder [examples](examples).
619618

620-
### Debugging
621-
622-
Run Cypress with environment variable
623-
624-
```
625-
DEBUG=@cypress/vue
626-
```
627-
628-
If some deeply nested objects are abbreviated and do not print fully, set the maximum logging depth
629-
630-
```
631-
DEBUG=@cypress/vue DEBUG_DEPTH=10
632-
```
633-
634619
## Related info
635620

636621
- [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/)

0 commit comments

Comments
 (0)