cypress 13.3.0 → 13.3.1
Sign up to get free protection for your applications and to get access to all the features.
- package/angular/angular/README.md +10 -0
- package/angular/angular/dist/index.d.ts +128 -0
- package/angular/angular/dist/index.js +333 -0
- package/angular/angular/package.json +77 -0
- package/angular/package.json +9 -1
- package/lib/exec/spawn.js +1 -1
- package/lib/util.js +1 -1
- package/mount-utils/mount-utils/README.md +140 -0
- package/mount-utils/mount-utils/dist/index.d.ts +40 -0
- package/mount-utils/mount-utils/dist/index.js +68 -0
- package/mount-utils/mount-utils/package.json +46 -0
- package/mount-utils/package.json +10 -1
- package/package.json +20 -4
- package/react/package.json +13 -0
- package/react/react/README.md +14 -0
- package/react/react/dist/cypress-react.cjs.js +943 -0
- package/react/react/dist/cypress-react.esm-bundler.js +917 -0
- package/react/react/dist/index.d.ts +111 -0
- package/react/react/package.json +111 -0
- package/react18/package.json +10 -0
- package/react18/react18/README.md +7 -0
- package/react18/react18/dist/cypress-react.cjs.js +592 -0
- package/react18/react18/dist/cypress-react.esm-bundler.js +569 -0
- package/react18/react18/dist/index.d.ts +78 -0
- package/react18/react18/package.json +71 -0
- package/svelte/package.json +13 -1
- package/svelte/svelte/README.md +15 -0
- package/svelte/svelte/dist/cypress-svelte.cjs.js +122 -0
- package/svelte/svelte/dist/cypress-svelte.esm-bundler.js +120 -0
- package/svelte/svelte/dist/index.d.ts +201 -0
- package/svelte/svelte/package.json +56 -0
- package/types/cypress.d.ts +2 -2
- package/vue/package.json +13 -1
- package/vue/vue/README.md +14 -0
- package/vue/vue/dist/cypress-vue.cjs.js +8582 -0
- package/vue/vue/dist/cypress-vue.esm-bundler.js +8560 -0
- package/vue/vue/dist/index.d.ts +1392 -0
- package/vue/vue/package.json +96 -0
- package/vue2/dist/cypress-vue2.cjs.js +1 -1
- package/vue2/dist/cypress-vue2.esm-bundler.js +1 -1
- package/vue2/package.json +13 -1
- package/vue2/vue2/README.md +7 -0
- package/vue2/vue2/dist/cypress-vue2.cjs.js +20045 -0
- package/vue2/vue2/dist/cypress-vue2.esm-bundler.js +20042 -0
- package/vue2/vue2/dist/index.d.ts +364 -0
- package/vue2/vue2/package.json +65 -0
@@ -0,0 +1,96 @@
|
|
1
|
+
{
|
2
|
+
"name": "@cypress/vue",
|
3
|
+
"version": "0.0.0-development",
|
4
|
+
"description": "Browser-based Component Testing for Vue.js with Cypress.io ✌️🌲",
|
5
|
+
"main": "dist/cypress-vue.cjs.js",
|
6
|
+
"scripts": {
|
7
|
+
"cy:open": "node ../../scripts/cypress.js open --component --project ${PWD}",
|
8
|
+
"cy:run": "node ../../scripts/cypress.js run --component --project ${PWD}",
|
9
|
+
"build": "rimraf dist && rollup -c rollup.config.mjs",
|
10
|
+
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
11
|
+
"check-ts": "yarn tsd && vue-tsc --noEmit",
|
12
|
+
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json,.vue .",
|
13
|
+
"test": "yarn cy:run",
|
14
|
+
"tsd": "yarn build && yarn tsc -p test-tsd/tsconfig.tsd.json",
|
15
|
+
"watch": "yarn build --watch --watch.exclude ./dist/**/*"
|
16
|
+
},
|
17
|
+
"devDependencies": {
|
18
|
+
"@cypress/mount-utils": "0.0.0-development",
|
19
|
+
"@vitejs/plugin-vue": "4.2.0",
|
20
|
+
"@vue/compiler-sfc": "3.2.47",
|
21
|
+
"@vue/test-utils": "2.3.2",
|
22
|
+
"axios": "0.21.2",
|
23
|
+
"cypress": "0.0.0-development",
|
24
|
+
"debug": "^4.3.4",
|
25
|
+
"globby": "^11.0.1",
|
26
|
+
"tailwindcss": "1.1.4",
|
27
|
+
"typescript": "^4.7.4",
|
28
|
+
"vite": "4.3.2",
|
29
|
+
"vue": "3.2.47",
|
30
|
+
"vue-i18n": "9.0.0-rc.6",
|
31
|
+
"vue-router": "^4.0.0",
|
32
|
+
"vue-tsc": "^0.3.0",
|
33
|
+
"vuex": "^4.0.0"
|
34
|
+
},
|
35
|
+
"peerDependencies": {
|
36
|
+
"@cypress/webpack-dev-server": "*",
|
37
|
+
"cypress": ">=7.0.0",
|
38
|
+
"vue": ">=3.0.0"
|
39
|
+
},
|
40
|
+
"files": [
|
41
|
+
"dist/**/*",
|
42
|
+
"src/**/*.js"
|
43
|
+
],
|
44
|
+
"engines": {
|
45
|
+
"node": ">=8"
|
46
|
+
},
|
47
|
+
"types": "dist/index.d.ts",
|
48
|
+
"license": "MIT",
|
49
|
+
"repository": {
|
50
|
+
"type": "git",
|
51
|
+
"url": "https://github.com/cypress-io/cypress.git"
|
52
|
+
},
|
53
|
+
"homepage": "https://github.com/cypress-io/cypress/blob/develop/npm/vue/#readme",
|
54
|
+
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",
|
55
|
+
"bugs": "https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm%3A%20%40cypress%2Fvue&template=1-bug-report.md&title=",
|
56
|
+
"keywords": [
|
57
|
+
"cypress",
|
58
|
+
"vue"
|
59
|
+
],
|
60
|
+
"contributors": [
|
61
|
+
{
|
62
|
+
"name": "Jessica Sachs",
|
63
|
+
"social": "@JessicaSachs"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"name": "Amir Rustamzadeh",
|
67
|
+
"social": "@amirrustam"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"name": "Lachlan Miller",
|
71
|
+
"social": "@Lachlan19900"
|
72
|
+
}
|
73
|
+
],
|
74
|
+
"module": "dist/cypress-vue.esm-bundler.js",
|
75
|
+
"peerDependenciesMeta": {
|
76
|
+
"@cypress/webpack-dev-server": {
|
77
|
+
"optional": true
|
78
|
+
}
|
79
|
+
},
|
80
|
+
"publishConfig": {
|
81
|
+
"access": "public"
|
82
|
+
},
|
83
|
+
"nx": {
|
84
|
+
"targets": {
|
85
|
+
"build": {
|
86
|
+
"dependsOn": [
|
87
|
+
"!@cypress/react18:build"
|
88
|
+
],
|
89
|
+
"outputs": [
|
90
|
+
"{workspaceRoot}/cli/vue",
|
91
|
+
"{projectRoot}/dist"
|
92
|
+
]
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
@@ -19922,7 +19922,7 @@ function failTestOnVueError(err, vm, info) {
|
|
19922
19922
|
}
|
19923
19923
|
/**
|
19924
19924
|
* Extract the component name from the object passed to mount
|
19925
|
-
* @param componentOptions the
|
19925
|
+
* @param componentOptions the component passed to mount
|
19926
19926
|
* @returns name of the component
|
19927
19927
|
*/
|
19928
19928
|
function getComponentDisplayName(componentOptions) {
|
@@ -19920,7 +19920,7 @@ function failTestOnVueError(err, vm, info) {
|
|
19920
19920
|
}
|
19921
19921
|
/**
|
19922
19922
|
* Extract the component name from the object passed to mount
|
19923
|
-
* @param componentOptions the
|
19923
|
+
* @param componentOptions the component passed to mount
|
19924
19924
|
* @returns name of the component
|
19925
19925
|
*/
|
19926
19926
|
function getComponentDisplayName(componentOptions) {
|
package/vue2/package.json
CHANGED
@@ -7,7 +7,6 @@
|
|
7
7
|
"check-ts": "tsc --noEmit",
|
8
8
|
"build": "rimraf dist && yarn rollup -c rollup.config.mjs",
|
9
9
|
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
10
|
-
"build-prod": "yarn build",
|
11
10
|
"test": "echo \"Tests for @cypress/vue2 are run from system-tests\"",
|
12
11
|
"watch": "yarn build --watch --watch.exclude ./dist/**/*",
|
13
12
|
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json,.vue .",
|
@@ -49,5 +48,18 @@
|
|
49
48
|
"module": "dist/cypress-vue2.esm-bundler.js",
|
50
49
|
"publishConfig": {
|
51
50
|
"access": "public"
|
51
|
+
},
|
52
|
+
"nx": {
|
53
|
+
"targets": {
|
54
|
+
"build": {
|
55
|
+
"outputs": [
|
56
|
+
"{workspaceRoot}/cli/vue2",
|
57
|
+
"{projectRoot}/dist"
|
58
|
+
]
|
59
|
+
}
|
60
|
+
},
|
61
|
+
"implicitDependencies": [
|
62
|
+
"!cypress"
|
63
|
+
]
|
52
64
|
}
|
53
65
|
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# @cypress/vue2
|
2
|
+
|
3
|
+
Mount Vue 2 components in the open source [Cypress.io](https://www.cypress.io/) test runner
|
4
|
+
|
5
|
+
> **Note:** This package is bundled with the `cypress` package and should not need to be installed separately. See the [Vue Component Testing Docs](https://docs.cypress.io/guides/component-testing/vue/overview) for mounting Vue components. Installing and importing `mount` from `@cypress/vue2` should only be done for advanced use-cases.
|
6
|
+
|
7
|
+
## [Changelog](./CHANGELOG.md)
|