Skip to content

Commit

Permalink
build: publish vue3 on latest (#20099)
Browse files Browse the repository at this point in the history
Co-authored-by: Jess <jess@jessicasachs.io>
  • Loading branch information
elevatebart and JessicaSachs authored Feb 9, 2022
1 parent c43749b commit e0bf811
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 24 deletions.
11 changes: 4 additions & 7 deletions npm/vue/.releaserc.js
Original file line number Diff line number Diff line change
@@ -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' },
],
}
19 changes: 2 additions & 17 deletions npm/vue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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/)
Expand Down

0 comments on commit e0bf811

Please sign in to comment.