cypress 13.2.0 → 13.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/angular/angular/README.md +10 -0
  2. package/angular/angular/dist/index.d.ts +128 -0
  3. package/angular/angular/dist/index.js +333 -0
  4. package/angular/angular/package.json +77 -0
  5. package/angular/package.json +9 -1
  6. package/lib/exec/spawn.js +1 -1
  7. package/lib/util.js +1 -1
  8. package/mount-utils/mount-utils/README.md +140 -0
  9. package/mount-utils/mount-utils/dist/index.d.ts +40 -0
  10. package/mount-utils/mount-utils/dist/index.js +68 -0
  11. package/mount-utils/mount-utils/package.json +46 -0
  12. package/mount-utils/package.json +10 -1
  13. package/package.json +20 -4
  14. package/react/package.json +13 -0
  15. package/react/react/README.md +14 -0
  16. package/react/react/dist/cypress-react.cjs.js +943 -0
  17. package/react/react/dist/cypress-react.esm-bundler.js +917 -0
  18. package/react/react/dist/index.d.ts +111 -0
  19. package/react/react/package.json +111 -0
  20. package/react18/package.json +10 -0
  21. package/react18/react18/README.md +7 -0
  22. package/react18/react18/dist/cypress-react.cjs.js +592 -0
  23. package/react18/react18/dist/cypress-react.esm-bundler.js +569 -0
  24. package/react18/react18/dist/index.d.ts +78 -0
  25. package/react18/react18/package.json +71 -0
  26. package/svelte/package.json +13 -1
  27. package/svelte/svelte/README.md +15 -0
  28. package/svelte/svelte/dist/cypress-svelte.cjs.js +122 -0
  29. package/svelte/svelte/dist/cypress-svelte.esm-bundler.js +120 -0
  30. package/svelte/svelte/dist/index.d.ts +201 -0
  31. package/svelte/svelte/package.json +56 -0
  32. package/types/cypress.d.ts +2 -2
  33. package/vue/package.json +13 -1
  34. package/vue/vue/README.md +14 -0
  35. package/vue/vue/dist/cypress-vue.cjs.js +8582 -0
  36. package/vue/vue/dist/cypress-vue.esm-bundler.js +8560 -0
  37. package/vue/vue/dist/index.d.ts +1392 -0
  38. package/vue/vue/package.json +96 -0
  39. package/vue2/dist/cypress-vue2.cjs.js +1 -1
  40. package/vue2/dist/cypress-vue2.esm-bundler.js +1 -1
  41. package/vue2/package.json +13 -1
  42. package/vue2/vue2/README.md +7 -0
  43. package/vue2/vue2/dist/cypress-vue2.cjs.js +20045 -0
  44. package/vue2/vue2/dist/cypress-vue2.esm-bundler.js +20042 -0
  45. package/vue2/vue2/dist/index.d.ts +364 -0
  46. 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 compoennt passed to mount
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 compoennt passed to mount
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)