Skip to content

build: publish vue3 on latest #20099

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Feb 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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