]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
feat: update to Cypress 10
authorHaoqun Jiang <haoqunjiang@gmail.com>
Fri, 3 Jun 2022 02:38:25 +0000 (10:38 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Fri, 3 Jun 2022 08:41:17 +0000 (16:41 +0800)
30 files changed:
index.ts
pnpm-lock.yaml
scripts/snapshot.mjs
template/config/cypress-ct/cypress.config.js [new file with mode: 0644]
template/config/cypress-ct/cypress.config.ts [new file with mode: 0644]
template/config/cypress-ct/cypress.json [deleted file]
template/config/cypress-ct/cypress/plugins/index.js [deleted file]
template/config/cypress-ct/cypress/plugins/index.ts [deleted file]
template/config/cypress-ct/cypress/support/component-index.html [new file with mode: 0644]
template/config/cypress-ct/cypress/support/component.js [new file with mode: 0644]
template/config/cypress-ct/cypress/support/component.ts [new file with mode: 0644]
template/config/cypress-ct/package.json
template/config/cypress-ct/src/components/__tests__/HelloWorld.cy.js [moved from template/config/cypress-ct/src/components/__tests__/HelloWorld.spec.js with 56% similarity]
template/config/cypress/cypress.config.js [new file with mode: 0644]
template/config/cypress/cypress.config.ts [new file with mode: 0644]
template/config/cypress/cypress.json [deleted file]
template/config/cypress/cypress/e2e/example.cy.js [moved from template/config/cypress/cypress/integration/example.spec.js with 100% similarity]
template/config/cypress/cypress/e2e/jsconfig.json [moved from template/config/cypress/cypress/jsconfig.json with 70% similarity]
template/config/cypress/cypress/plugins/index.js [deleted file]
template/config/cypress/cypress/plugins/index.ts [deleted file]
template/config/cypress/cypress/support/commands.ts [new file with mode: 0644]
template/config/cypress/cypress/support/e2e.js [moved from template/config/cypress/cypress/support/index.js with 100% similarity]
template/config/cypress/package.json
template/tsconfig/base/tsconfig.config.json [moved from template/tsconfig/base/tsconfig.vite-config.json with 63% similarity]
template/tsconfig/base/tsconfig.json
template/tsconfig/cypress-ct/tsconfig.cypress-ct.json
template/tsconfig/cypress-ct/tsconfig.json
template/tsconfig/vitest/tsconfig.json
template/tsconfig/vitest/tsconfig.vite-config.json [deleted file]
utils/renderEslint.ts

index 57d51f6b2dfb06de0a85e337c9fc19925762db3a..a88828562b472d445b5fdcb91ba69d9e294a4c3d 100755 (executable)
--- a/index.ts
+++ b/index.ts
@@ -302,6 +302,9 @@ async function init() {
     if (needsCypress) {
       render('tsconfig/cypress')
     }
+    if (needsCypressCT) {
+      render('tsconfig/cypress-ct')
+    }
     if (needsVitest) {
       render('tsconfig/vitest')
     }
index c241138275ccb17114f58e388dfca43c5667a9df..2b2924e17b99868b50aec7453fc1536140c66af4 100644 (file)
@@ -34,20 +34,16 @@ importers:
 
   playground/cypress:
     specifiers:
-      '@cypress/vite-dev-server': ^2.2.3
-      '@cypress/vue': ^3.1.2
       '@vitejs/plugin-vue': ^2.3.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       start-server-and-test: ^1.14.0
       vite: ^2.9.9
       vue: ^3.2.36
     dependencies:
       vue: 3.2.36
     devDependencies:
-      '@cypress/vite-dev-server': 2.2.3_vite@2.9.9
-      '@cypress/vue': 3.1.2_cypress@9.7.0+vue@3.2.36
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       start-server-and-test: 1.14.0
       vite: 2.9.9
 
@@ -77,22 +73,18 @@ importers:
 
   playground/jsx-cypress:
     specifiers:
-      '@cypress/vite-dev-server': ^2.2.3
-      '@cypress/vue': ^3.1.2
       '@vitejs/plugin-vue': ^2.3.3
       '@vitejs/plugin-vue-jsx': ^1.3.10
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       start-server-and-test: ^1.14.0
       vite: ^2.9.9
       vue: ^3.2.36
     dependencies:
       vue: 3.2.36
     devDependencies:
-      '@cypress/vite-dev-server': 2.2.3_vite@2.9.9
-      '@cypress/vue': 3.1.2_cypress@9.7.0+vue@3.2.36
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vitejs/plugin-vue-jsx': 1.3.10
-      cypress: 9.7.0
+      cypress: 10.0.2
       start-server-and-test: 1.14.0
       vite: 2.9.9
 
@@ -113,11 +105,9 @@ importers:
 
   playground/jsx-pinia-cypress:
     specifiers:
-      '@cypress/vite-dev-server': ^2.2.3
-      '@cypress/vue': ^3.1.2
       '@vitejs/plugin-vue': ^2.3.3
       '@vitejs/plugin-vue-jsx': ^1.3.10
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       pinia: ^2.0.14
       start-server-and-test: ^1.14.0
       vite: ^2.9.9
@@ -126,11 +116,9 @@ importers:
       pinia: 2.0.14_vue@3.2.36
       vue: 3.2.36
     devDependencies:
-      '@cypress/vite-dev-server': 2.2.3_vite@2.9.9
-      '@cypress/vue': 3.1.2_cypress@9.7.0+vue@3.2.36
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vitejs/plugin-vue-jsx': 1.3.10
-      cypress: 9.7.0
+      cypress: 10.0.2
       start-server-and-test: 1.14.0
       vite: 2.9.9
 
@@ -160,7 +148,7 @@ importers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vitejs/plugin-vue-jsx': ^1.3.10
       '@vue/test-utils': ^2.0.0
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       pinia: ^2.0.14
       start-server-and-test: ^1.14.0
@@ -174,7 +162,7 @@ importers:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vitejs/plugin-vue-jsx': 1.3.10
       '@vue/test-utils': 2.0.0_vue@3.2.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       start-server-and-test: 1.14.0
       vite: 2.9.9
@@ -185,7 +173,7 @@ importers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vitejs/plugin-vue-jsx': ^1.3.10
       '@vue/test-utils': ^2.0.0
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       pinia: ^2.0.14
       start-server-and-test: ^1.14.0
@@ -199,7 +187,7 @@ importers:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vitejs/plugin-vue-jsx': 1.3.10
       '@vue/test-utils': 2.0.0_vue@3.2.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       start-server-and-test: 1.14.0
       vite: 2.9.9
@@ -222,11 +210,9 @@ importers:
 
   playground/jsx-router-cypress:
     specifiers:
-      '@cypress/vite-dev-server': ^2.2.3
-      '@cypress/vue': ^3.1.2
       '@vitejs/plugin-vue': ^2.3.3
       '@vitejs/plugin-vue-jsx': ^1.3.10
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       start-server-and-test: ^1.14.0
       vite: ^2.9.9
       vue: ^3.2.36
@@ -235,11 +221,9 @@ importers:
       vue: 3.2.36
       vue-router: 4.0.15_vue@3.2.36
     devDependencies:
-      '@cypress/vite-dev-server': 2.2.3_vite@2.9.9
-      '@cypress/vue': 3.1.2_cypress@9.7.0+vue@3.2.36
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vitejs/plugin-vue-jsx': 1.3.10
-      cypress: 9.7.0
+      cypress: 10.0.2
       start-server-and-test: 1.14.0
       vite: 2.9.9
 
@@ -262,11 +246,9 @@ importers:
 
   playground/jsx-router-pinia-cypress:
     specifiers:
-      '@cypress/vite-dev-server': ^2.2.3
-      '@cypress/vue': ^3.1.2
       '@vitejs/plugin-vue': ^2.3.3
       '@vitejs/plugin-vue-jsx': ^1.3.10
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       pinia: ^2.0.14
       start-server-and-test: ^1.14.0
       vite: ^2.9.9
@@ -277,11 +259,9 @@ importers:
       vue: 3.2.36
       vue-router: 4.0.15_vue@3.2.36
     devDependencies:
-      '@cypress/vite-dev-server': 2.2.3_vite@2.9.9
-      '@cypress/vue': 3.1.2_cypress@9.7.0+vue@3.2.36
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vitejs/plugin-vue-jsx': 1.3.10
-      cypress: 9.7.0
+      cypress: 10.0.2
       start-server-and-test: 1.14.0
       vite: 2.9.9
 
@@ -313,7 +293,7 @@ importers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vitejs/plugin-vue-jsx': ^1.3.10
       '@vue/test-utils': ^2.0.0
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       pinia: ^2.0.14
       start-server-and-test: ^1.14.0
@@ -329,7 +309,7 @@ importers:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vitejs/plugin-vue-jsx': 1.3.10
       '@vue/test-utils': 2.0.0_vue@3.2.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       start-server-and-test: 1.14.0
       vite: 2.9.9
@@ -340,7 +320,7 @@ importers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vitejs/plugin-vue-jsx': ^1.3.10
       '@vue/test-utils': ^2.0.0
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       pinia: ^2.0.14
       start-server-and-test: ^1.14.0
@@ -356,7 +336,7 @@ importers:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vitejs/plugin-vue-jsx': 1.3.10
       '@vue/test-utils': 2.0.0_vue@3.2.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       start-server-and-test: 1.14.0
       vite: 2.9.9
@@ -388,7 +368,7 @@ importers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vitejs/plugin-vue-jsx': ^1.3.10
       '@vue/test-utils': ^2.0.0
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       start-server-and-test: ^1.14.0
       vite: ^2.9.9
@@ -402,7 +382,7 @@ importers:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vitejs/plugin-vue-jsx': 1.3.10
       '@vue/test-utils': 2.0.0_vue@3.2.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       start-server-and-test: 1.14.0
       vite: 2.9.9
@@ -413,7 +393,7 @@ importers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vitejs/plugin-vue-jsx': ^1.3.10
       '@vue/test-utils': ^2.0.0
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       start-server-and-test: ^1.14.0
       vite: ^2.9.9
@@ -427,7 +407,7 @@ importers:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vitejs/plugin-vue-jsx': 1.3.10
       '@vue/test-utils': 2.0.0_vue@3.2.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       start-server-and-test: 1.14.0
       vite: 2.9.9
@@ -457,7 +437,7 @@ importers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vitejs/plugin-vue-jsx': ^1.3.10
       '@vue/test-utils': ^2.0.0
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       start-server-and-test: ^1.14.0
       vite: ^2.9.9
@@ -469,7 +449,7 @@ importers:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vitejs/plugin-vue-jsx': 1.3.10
       '@vue/test-utils': 2.0.0_vue@3.2.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       start-server-and-test: 1.14.0
       vite: 2.9.9
@@ -480,7 +460,7 @@ importers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vitejs/plugin-vue-jsx': ^1.3.10
       '@vue/test-utils': ^2.0.0
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       start-server-and-test: ^1.14.0
       vite: ^2.9.9
@@ -492,7 +472,7 @@ importers:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vitejs/plugin-vue-jsx': 1.3.10
       '@vue/test-utils': 2.0.0_vue@3.2.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       start-server-and-test: 1.14.0
       vite: 2.9.9
@@ -513,10 +493,8 @@ importers:
 
   playground/pinia-cypress:
     specifiers:
-      '@cypress/vite-dev-server': ^2.2.3
-      '@cypress/vue': ^3.1.2
       '@vitejs/plugin-vue': ^2.3.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       pinia: ^2.0.14
       start-server-and-test: ^1.14.0
       vite: ^2.9.9
@@ -525,10 +503,8 @@ importers:
       pinia: 2.0.14_vue@3.2.36
       vue: 3.2.36
     devDependencies:
-      '@cypress/vite-dev-server': 2.2.3_vite@2.9.9
-      '@cypress/vue': 3.1.2_cypress@9.7.0+vue@3.2.36
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       start-server-and-test: 1.14.0
       vite: 2.9.9
 
@@ -555,7 +531,7 @@ importers:
     specifiers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vue/test-utils': ^2.0.0
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       pinia: ^2.0.14
       start-server-and-test: ^1.14.0
@@ -568,7 +544,7 @@ importers:
     devDependencies:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vue/test-utils': 2.0.0_vue@3.2.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       start-server-and-test: 1.14.0
       vite: 2.9.9
@@ -578,7 +554,7 @@ importers:
     specifiers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vue/test-utils': ^2.0.0
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       pinia: ^2.0.14
       start-server-and-test: ^1.14.0
@@ -591,7 +567,7 @@ importers:
     devDependencies:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vue/test-utils': 2.0.0_vue@3.2.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       start-server-and-test: 1.14.0
       vite: 2.9.9
@@ -612,10 +588,8 @@ importers:
 
   playground/router-cypress:
     specifiers:
-      '@cypress/vite-dev-server': ^2.2.3
-      '@cypress/vue': ^3.1.2
       '@vitejs/plugin-vue': ^2.3.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       start-server-and-test: ^1.14.0
       vite: ^2.9.9
       vue: ^3.2.36
@@ -624,10 +598,8 @@ importers:
       vue: 3.2.36
       vue-router: 4.0.15_vue@3.2.36
     devDependencies:
-      '@cypress/vite-dev-server': 2.2.3_vite@2.9.9
-      '@cypress/vue': 3.1.2_cypress@9.7.0+vue@3.2.36
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       start-server-and-test: 1.14.0
       vite: 2.9.9
 
@@ -648,10 +620,8 @@ importers:
 
   playground/router-pinia-cypress:
     specifiers:
-      '@cypress/vite-dev-server': ^2.2.3
-      '@cypress/vue': ^3.1.2
       '@vitejs/plugin-vue': ^2.3.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       pinia: ^2.0.14
       start-server-and-test: ^1.14.0
       vite: ^2.9.9
@@ -662,10 +632,8 @@ importers:
       vue: 3.2.36
       vue-router: 4.0.15_vue@3.2.36
     devDependencies:
-      '@cypress/vite-dev-server': 2.2.3_vite@2.9.9
-      '@cypress/vue': 3.1.2_cypress@9.7.0+vue@3.2.36
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       start-server-and-test: 1.14.0
       vite: 2.9.9
 
@@ -694,7 +662,7 @@ importers:
     specifiers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vue/test-utils': ^2.0.0
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       pinia: ^2.0.14
       start-server-and-test: ^1.14.0
@@ -709,7 +677,7 @@ importers:
     devDependencies:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vue/test-utils': 2.0.0_vue@3.2.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       start-server-and-test: 1.14.0
       vite: 2.9.9
@@ -719,7 +687,7 @@ importers:
     specifiers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vue/test-utils': ^2.0.0
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       pinia: ^2.0.14
       start-server-and-test: ^1.14.0
@@ -734,7 +702,7 @@ importers:
     devDependencies:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vue/test-utils': 2.0.0_vue@3.2.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       start-server-and-test: 1.14.0
       vite: 2.9.9
@@ -763,7 +731,7 @@ importers:
     specifiers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vue/test-utils': ^2.0.0
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       start-server-and-test: ^1.14.0
       vite: ^2.9.9
@@ -776,7 +744,7 @@ importers:
     devDependencies:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vue/test-utils': 2.0.0_vue@3.2.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       start-server-and-test: 1.14.0
       vite: 2.9.9
@@ -786,7 +754,7 @@ importers:
     specifiers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vue/test-utils': ^2.0.0
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       start-server-and-test: ^1.14.0
       vite: ^2.9.9
@@ -799,7 +767,7 @@ importers:
     devDependencies:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vue/test-utils': 2.0.0_vue@3.2.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       start-server-and-test: 1.14.0
       vite: 2.9.9
@@ -828,12 +796,10 @@ importers:
 
   playground/typescript-cypress:
     specifiers:
-      '@cypress/vite-dev-server': ^2.2.3
-      '@cypress/vue': ^3.1.2
       '@types/node': ^16.11.36
       '@vitejs/plugin-vue': ^2.3.3
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       npm-run-all: ^4.1.5
       start-server-and-test: ^1.14.0
       typescript: ~4.7.2
@@ -843,12 +809,10 @@ importers:
     dependencies:
       vue: 3.2.36
     devDependencies:
-      '@cypress/vite-dev-server': 2.2.3_vite@2.9.9
-      '@cypress/vue': 3.1.2_cypress@9.7.0+vue@3.2.36
       '@types/node': 16.11.36
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
       typescript: 4.7.2
@@ -880,13 +844,11 @@ importers:
 
   playground/typescript-jsx-cypress:
     specifiers:
-      '@cypress/vite-dev-server': ^2.2.3
-      '@cypress/vue': ^3.1.2
       '@types/node': ^16.11.36
       '@vitejs/plugin-vue': ^2.3.3
       '@vitejs/plugin-vue-jsx': ^1.3.10
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       npm-run-all: ^4.1.5
       start-server-and-test: ^1.14.0
       typescript: ~4.7.2
@@ -896,13 +858,11 @@ importers:
     dependencies:
       vue: 3.2.36
     devDependencies:
-      '@cypress/vite-dev-server': 2.2.3_vite@2.9.9
-      '@cypress/vue': 3.1.2_cypress@9.7.0+vue@3.2.36
       '@types/node': 16.11.36
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vitejs/plugin-vue-jsx': 1.3.10
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
       typescript: 4.7.2
@@ -936,13 +896,11 @@ importers:
 
   playground/typescript-jsx-pinia-cypress:
     specifiers:
-      '@cypress/vite-dev-server': ^2.2.3
-      '@cypress/vue': ^3.1.2
       '@types/node': ^16.11.36
       '@vitejs/plugin-vue': ^2.3.3
       '@vitejs/plugin-vue-jsx': ^1.3.10
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       npm-run-all: ^4.1.5
       pinia: ^2.0.14
       start-server-and-test: ^1.14.0
@@ -954,13 +912,11 @@ importers:
       pinia: 2.0.14_qhv4oyzxhhzeba5rd2zztmcg2y
       vue: 3.2.36
     devDependencies:
-      '@cypress/vite-dev-server': 2.2.3_vite@2.9.9
-      '@cypress/vue': 3.1.2_cypress@9.7.0+vue@3.2.36
       '@types/node': 16.11.36
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vitejs/plugin-vue-jsx': 1.3.10
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
       typescript: 4.7.2
@@ -1008,7 +964,7 @@ importers:
       '@vitejs/plugin-vue-jsx': ^1.3.10
       '@vue/test-utils': ^2.0.0
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       npm-run-all: ^4.1.5
       pinia: ^2.0.14
@@ -1028,7 +984,7 @@ importers:
       '@vitejs/plugin-vue-jsx': 1.3.10
       '@vue/test-utils': 2.0.0_vue@3.2.36
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
@@ -1045,7 +1001,7 @@ importers:
       '@vitejs/plugin-vue-jsx': ^1.3.10
       '@vue/test-utils': ^2.0.0
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       npm-run-all: ^4.1.5
       pinia: ^2.0.14
@@ -1065,7 +1021,7 @@ importers:
       '@vitejs/plugin-vue-jsx': 1.3.10
       '@vue/test-utils': 2.0.0_vue@3.2.36
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
@@ -1101,13 +1057,11 @@ importers:
 
   playground/typescript-jsx-router-cypress:
     specifiers:
-      '@cypress/vite-dev-server': ^2.2.3
-      '@cypress/vue': ^3.1.2
       '@types/node': ^16.11.36
       '@vitejs/plugin-vue': ^2.3.3
       '@vitejs/plugin-vue-jsx': ^1.3.10
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       npm-run-all: ^4.1.5
       start-server-and-test: ^1.14.0
       typescript: ~4.7.2
@@ -1119,13 +1073,11 @@ importers:
       vue: 3.2.36
       vue-router: 4.0.15_vue@3.2.36
     devDependencies:
-      '@cypress/vite-dev-server': 2.2.3_vite@2.9.9
-      '@cypress/vue': 3.1.2_cypress@9.7.0+vue@3.2.36
       '@types/node': 16.11.36
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vitejs/plugin-vue-jsx': 1.3.10
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
       typescript: 4.7.2
@@ -1161,13 +1113,11 @@ importers:
 
   playground/typescript-jsx-router-pinia-cypress:
     specifiers:
-      '@cypress/vite-dev-server': ^2.2.3
-      '@cypress/vue': ^3.1.2
       '@types/node': ^16.11.36
       '@vitejs/plugin-vue': ^2.3.3
       '@vitejs/plugin-vue-jsx': ^1.3.10
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       npm-run-all: ^4.1.5
       pinia: ^2.0.14
       start-server-and-test: ^1.14.0
@@ -1181,13 +1131,11 @@ importers:
       vue: 3.2.36
       vue-router: 4.0.15_vue@3.2.36
     devDependencies:
-      '@cypress/vite-dev-server': 2.2.3_vite@2.9.9
-      '@cypress/vue': 3.1.2_cypress@9.7.0+vue@3.2.36
       '@types/node': 16.11.36
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vitejs/plugin-vue-jsx': 1.3.10
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
       typescript: 4.7.2
@@ -1237,7 +1185,7 @@ importers:
       '@vitejs/plugin-vue-jsx': ^1.3.10
       '@vue/test-utils': ^2.0.0
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       npm-run-all: ^4.1.5
       pinia: ^2.0.14
@@ -1259,7 +1207,7 @@ importers:
       '@vitejs/plugin-vue-jsx': 1.3.10
       '@vue/test-utils': 2.0.0_vue@3.2.36
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
@@ -1276,7 +1224,7 @@ importers:
       '@vitejs/plugin-vue-jsx': ^1.3.10
       '@vue/test-utils': ^2.0.0
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       npm-run-all: ^4.1.5
       pinia: ^2.0.14
@@ -1298,7 +1246,7 @@ importers:
       '@vitejs/plugin-vue-jsx': 1.3.10
       '@vue/test-utils': 2.0.0_vue@3.2.36
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
@@ -1348,7 +1296,7 @@ importers:
       '@vitejs/plugin-vue-jsx': ^1.3.10
       '@vue/test-utils': ^2.0.0
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       npm-run-all: ^4.1.5
       start-server-and-test: ^1.14.0
@@ -1368,7 +1316,7 @@ importers:
       '@vitejs/plugin-vue-jsx': 1.3.10
       '@vue/test-utils': 2.0.0_vue@3.2.36
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
@@ -1385,7 +1333,7 @@ importers:
       '@vitejs/plugin-vue-jsx': ^1.3.10
       '@vue/test-utils': ^2.0.0
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       npm-run-all: ^4.1.5
       start-server-and-test: ^1.14.0
@@ -1405,7 +1353,7 @@ importers:
       '@vitejs/plugin-vue-jsx': 1.3.10
       '@vue/test-utils': 2.0.0_vue@3.2.36
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
@@ -1453,7 +1401,7 @@ importers:
       '@vitejs/plugin-vue-jsx': ^1.3.10
       '@vue/test-utils': ^2.0.0
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       npm-run-all: ^4.1.5
       start-server-and-test: ^1.14.0
@@ -1471,7 +1419,7 @@ importers:
       '@vitejs/plugin-vue-jsx': 1.3.10
       '@vue/test-utils': 2.0.0_vue@3.2.36
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
@@ -1488,7 +1436,7 @@ importers:
       '@vitejs/plugin-vue-jsx': ^1.3.10
       '@vue/test-utils': ^2.0.0
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       npm-run-all: ^4.1.5
       start-server-and-test: ^1.14.0
@@ -1506,7 +1454,7 @@ importers:
       '@vitejs/plugin-vue-jsx': 1.3.10
       '@vue/test-utils': 2.0.0_vue@3.2.36
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
@@ -1540,12 +1488,10 @@ importers:
 
   playground/typescript-pinia-cypress:
     specifiers:
-      '@cypress/vite-dev-server': ^2.2.3
-      '@cypress/vue': ^3.1.2
       '@types/node': ^16.11.36
       '@vitejs/plugin-vue': ^2.3.3
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       npm-run-all: ^4.1.5
       pinia: ^2.0.14
       start-server-and-test: ^1.14.0
@@ -1557,12 +1503,10 @@ importers:
       pinia: 2.0.14_qhv4oyzxhhzeba5rd2zztmcg2y
       vue: 3.2.36
     devDependencies:
-      '@cypress/vite-dev-server': 2.2.3_vite@2.9.9
-      '@cypress/vue': 3.1.2_cypress@9.7.0+vue@3.2.36
       '@types/node': 16.11.36
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
       typescript: 4.7.2
@@ -1607,7 +1551,7 @@ importers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vue/test-utils': ^2.0.0
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       npm-run-all: ^4.1.5
       pinia: ^2.0.14
@@ -1626,7 +1570,7 @@ importers:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vue/test-utils': 2.0.0_vue@3.2.36
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
@@ -1642,7 +1586,7 @@ importers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vue/test-utils': ^2.0.0
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       npm-run-all: ^4.1.5
       pinia: ^2.0.14
@@ -1661,7 +1605,7 @@ importers:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vue/test-utils': 2.0.0_vue@3.2.36
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
@@ -1695,12 +1639,10 @@ importers:
 
   playground/typescript-router-cypress:
     specifiers:
-      '@cypress/vite-dev-server': ^2.2.3
-      '@cypress/vue': ^3.1.2
       '@types/node': ^16.11.36
       '@vitejs/plugin-vue': ^2.3.3
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       npm-run-all: ^4.1.5
       start-server-and-test: ^1.14.0
       typescript: ~4.7.2
@@ -1712,12 +1654,10 @@ importers:
       vue: 3.2.36
       vue-router: 4.0.15_vue@3.2.36
     devDependencies:
-      '@cypress/vite-dev-server': 2.2.3_vite@2.9.9
-      '@cypress/vue': 3.1.2_cypress@9.7.0+vue@3.2.36
       '@types/node': 16.11.36
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
       typescript: 4.7.2
@@ -1751,12 +1691,10 @@ importers:
 
   playground/typescript-router-pinia-cypress:
     specifiers:
-      '@cypress/vite-dev-server': ^2.2.3
-      '@cypress/vue': ^3.1.2
       '@types/node': ^16.11.36
       '@vitejs/plugin-vue': ^2.3.3
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       npm-run-all: ^4.1.5
       pinia: ^2.0.14
       start-server-and-test: ^1.14.0
@@ -1770,12 +1708,10 @@ importers:
       vue: 3.2.36
       vue-router: 4.0.15_vue@3.2.36
     devDependencies:
-      '@cypress/vite-dev-server': 2.2.3_vite@2.9.9
-      '@cypress/vue': 3.1.2_cypress@9.7.0+vue@3.2.36
       '@types/node': 16.11.36
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
       typescript: 4.7.2
@@ -1822,7 +1758,7 @@ importers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vue/test-utils': ^2.0.0
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       npm-run-all: ^4.1.5
       pinia: ^2.0.14
@@ -1843,7 +1779,7 @@ importers:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vue/test-utils': 2.0.0_vue@3.2.36
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
@@ -1859,7 +1795,7 @@ importers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vue/test-utils': ^2.0.0
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       npm-run-all: ^4.1.5
       pinia: ^2.0.14
@@ -1880,7 +1816,7 @@ importers:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vue/test-utils': 2.0.0_vue@3.2.36
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
@@ -1927,7 +1863,7 @@ importers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vue/test-utils': ^2.0.0
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       npm-run-all: ^4.1.5
       start-server-and-test: ^1.14.0
@@ -1946,7 +1882,7 @@ importers:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vue/test-utils': 2.0.0_vue@3.2.36
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
@@ -1962,7 +1898,7 @@ importers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vue/test-utils': ^2.0.0
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       npm-run-all: ^4.1.5
       start-server-and-test: ^1.14.0
@@ -1981,7 +1917,7 @@ importers:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vue/test-utils': 2.0.0_vue@3.2.36
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
@@ -2026,7 +1962,7 @@ importers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vue/test-utils': ^2.0.0
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       npm-run-all: ^4.1.5
       start-server-and-test: ^1.14.0
@@ -2043,7 +1979,7 @@ importers:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vue/test-utils': 2.0.0_vue@3.2.36
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
@@ -2059,7 +1995,7 @@ importers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vue/test-utils': ^2.0.0
       '@vue/tsconfig': ^0.1.3
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       npm-run-all: ^4.1.5
       start-server-and-test: ^1.14.0
@@ -2076,7 +2012,7 @@ importers:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vue/test-utils': 2.0.0_vue@3.2.36
       '@vue/tsconfig': 0.1.3_@types+node@16.11.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       npm-run-all: 4.1.5
       start-server-and-test: 1.14.0
@@ -2106,7 +2042,7 @@ importers:
     specifiers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vue/test-utils': ^2.0.0
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       start-server-and-test: ^1.14.0
       vite: ^2.9.9
@@ -2117,7 +2053,7 @@ importers:
     devDependencies:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vue/test-utils': 2.0.0_vue@3.2.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       start-server-and-test: 1.14.0
       vite: 2.9.9
@@ -2127,7 +2063,7 @@ importers:
     specifiers:
       '@vitejs/plugin-vue': ^2.3.3
       '@vue/test-utils': ^2.0.0
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       jsdom: ^19.0.0
       start-server-and-test: ^1.14.0
       vite: ^2.9.9
@@ -2138,7 +2074,7 @@ importers:
     devDependencies:
       '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36
       '@vue/test-utils': 2.0.0_vue@3.2.36
-      cypress: 9.7.0
+      cypress: 10.0.2
       jsdom: 19.0.0
       start-server-and-test: 1.14.0
       vite: 2.9.9
@@ -2157,26 +2093,20 @@ importers:
 
   template/config/cypress:
     specifiers:
-      cypress: ^9.7.0
+      cypress: ^10.0.2
       start-server-and-test: ^1.14.0
     devDependencies:
-      cypress: 9.7.0
+      cypress: 10.0.2
       start-server-and-test: 1.14.0
 
   template/config/cypress-ct:
     specifiers:
-      '@cypress/vite-dev-server': ^2.2.3
-      '@cypress/vue': ^3.1.2
-      cypress: ^9.7.0
-      vite: ^2.9.9
+      cypress: ^10.0.2
       vue: ^3.2.36
     dependencies:
       vue: 3.2.36
     devDependencies:
-      '@cypress/vite-dev-server': 2.2.3_vite@2.9.9
-      '@cypress/vue': 3.1.2_cypress@9.7.0+vue@3.2.36
-      cypress: 9.7.0
-      vite: 2.9.9
+      cypress: 10.0.2
 
   template/config/jsx:
     specifiers:
@@ -2546,10 +2476,6 @@ packages:
     dev: true
     optional: true
 
-  /@cypress/mount-utils/1.0.2:
-    resolution: {integrity: sha512-Fn3fdTiyayHoy8Ol0RSu4MlBH2maQ2ZEXeEVKl/zHHXEQpld5HX3vdNLhK5YLij8cLynA4DxOT/nO9iEnIiOXw==}
-    dev: true
-
   /@cypress/request/2.88.10:
     resolution: {integrity: sha512-Zp7F+R93N0yZyG34GutyTNr+okam7s/Fzc1+i3kcqOP8vk6OuajuE9qZJ6Rs+10/1JFtXFYMdyarnU1rZuJesg==}
     engines: {node: '>= 6'}
@@ -2574,38 +2500,6 @@ packages:
       uuid: 8.3.2
     dev: true
 
-  /@cypress/vite-dev-server/2.2.3_vite@2.9.9:
-    resolution: {integrity: sha512-E9cPKwReweYGRsupfR6Va1R1bHv3zPb3gHG68fyQwAjG4oPORaQlgfFWiR2i1pF+tRftvNfM0O2PBuKX3IvPxg==}
-    peerDependencies:
-      vite: '>= 2.1.3'
-    dependencies:
-      debug: 4.3.4
-      get-port: 5.1.1
-      vite: 2.9.9
-    transitivePeerDependencies:
-      - supports-color
-    dev: true
-
-  /@cypress/vue/3.1.2_cypress@9.7.0+vue@3.2.36:
-    resolution: {integrity: sha512-CqIBupPW6EhXJ7lXE64MBKh3VfdShHnuC3HBV/euHBt9tsgSo7RZHBTZUsKc8aM745VzVnuNiax+JV4CplrtLQ==}
-    engines: {node: '>=8'}
-    peerDependencies:
-      '@cypress/webpack-dev-server': '*'
-      babel-loader: '*'
-      cypress: '>=7.0.0'
-      vue: '>=3.0.0'
-    peerDependenciesMeta:
-      '@cypress/webpack-dev-server':
-        optional: true
-      babel-loader:
-        optional: true
-    dependencies:
-      '@cypress/mount-utils': 1.0.2
-      '@vue/test-utils': 2.0.0_vue@3.2.36
-      cypress: 9.7.0
-      vue: 3.2.36
-    dev: true
-
   /@cypress/xvfb/1.2.4_supports-color@8.1.1:
     resolution: {integrity: sha512-skbBzPggOVYCbnGgV+0dmBdW/s77ZkAOXIC1knS8NagwDjBrNC1LuXtQJeiN6l+m7lzmHtaoUw/ctJKdqkG57Q==}
     dependencies:
@@ -2796,7 +2690,7 @@ packages:
     resolution: {integrity: sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==}
     requiresBuild: true
     dependencies:
-      '@types/node': 14.18.18
+      '@types/node': 17.0.36
     dev: true
     optional: true
 
@@ -3392,8 +3286,8 @@ packages:
   /csstype/2.6.20:
     resolution: {integrity: sha512-/WwNkdXfckNgw6S5R125rrW8ez139lBHWouiBvX8dfMFtcn6V81REDqnH7+CRpRipfYlyU1CmOnOxrmGcFOjeA==}
 
-  /cypress/9.7.0:
-    resolution: {integrity: sha512-+1EE1nuuuwIt/N1KXRR2iWHU+OiIt7H28jJDyyI4tiUftId/DrXYEwoDa5+kH2pki1zxnA0r6HrUGHV5eLbF5Q==}
+  /cypress/10.0.2:
+    resolution: {integrity: sha512-7+C4KHYBcfZrawss+Gt5PlS35rfc6ySc59JcHDVsIMm1E/J35dqE41UEXpdtwIq3549umCerNWnFADzqib4kcA==}
     engines: {node: '>=12.0.0'}
     hasBin: true
     requiresBuild: true
@@ -4149,11 +4043,6 @@ packages:
       has-symbols: 1.0.3
     dev: true
 
-  /get-port/5.1.1:
-    resolution: {integrity: sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ==}
-    engines: {node: '>=8'}
-    dev: true
-
   /get-stream/5.2.0:
     resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==}
     engines: {node: '>=8'}
@@ -4936,7 +4825,7 @@ packages:
     dev: true
 
   /once/1.4.0:
-    resolution: {integrity: sha1-WDsap3WWHUsROsF9nFC6753Xa9E=}
+    resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
     dependencies:
       wrappy: 1.0.2
     dev: true
@@ -4961,7 +4850,7 @@ packages:
     dev: true
 
   /ospath/1.2.2:
-    resolution: {integrity: sha1-EnZjl3Sj+O8lcvf+QoDg6kVQwHs=}
+    resolution: {integrity: sha512-o6E5qJV5zkAbIDNhGSIlyOhScKXgQrSRMilfph0clDfM0nEnBOlKlH4sWDmG95BW/CvwNz0vmm7dJVtU2KlMiA==}
     dev: true
 
   /p-map/4.0.0:
@@ -4984,7 +4873,7 @@ packages:
     dev: true
 
   /path-is-absolute/1.0.1:
-    resolution: {integrity: sha1-F0uSaHNVNP+8es5r9TpanhtcX18=}
+    resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==}
     engines: {node: '>=0.10.0'}
     dev: true
 
@@ -5025,11 +4914,11 @@ packages:
     dev: true
 
   /pend/1.2.0:
-    resolution: {integrity: sha1-elfrVQpng/kRUzH89GY9XI4AelA=}
+    resolution: {integrity: sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==}
     dev: true
 
   /performance-now/2.1.0:
-    resolution: {integrity: sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=}
+    resolution: {integrity: sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==}
     dev: true
 
   /picocolors/1.0.0:
@@ -5053,7 +4942,7 @@ packages:
     dev: true
 
   /pify/2.3.0:
-    resolution: {integrity: sha1-7RQaasBDqEnqWISY59yosVMw6Qw=}
+    resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==}
     engines: {node: '>=0.10.0'}
     dev: true
 
index 0a859fe0c0659bfda420533701afb20c74ad8522..104fddf4d86131f5aea09ab4623f932fb2a30b60 100644 (file)
@@ -55,7 +55,10 @@ const bin = path.posix.relative('../playground/', '../outfile.cjs')
 cd(playgroundDir)
 for (const flags of flagCombinations) {
   const projectName = flags.join('-')
-  console.log(`Creating project ${projectName}`)
+  
+  console.log(`Removing previously generated project ${projectName}`)
+  await $`rm -rf ${projectName}`
 
+  console.log(`Creating project ${projectName}`)
   await $`node ${[bin, projectName, ...flags.map((flag) => `--${flag}`), '--force']}`
 }
diff --git a/template/config/cypress-ct/cypress.config.js b/template/config/cypress-ct/cypress.config.js
new file mode 100644 (file)
index 0000000..18bd9be
--- /dev/null
@@ -0,0 +1,15 @@
+const { defineConfig } = require('cypress')
+
+export default defineConfig({
+  e2e: {
+    specPattern: 'cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}',
+    baseUrl: 'http://localhost:4173'
+  },
+  component: {
+    specPattern: 'src/**/__tests__/*.{cy,spec}.{js,ts,jsx,tsx}',
+    devServer: {
+      framework: 'vue',
+      bundler: 'vite'
+    }
+  }
+})
diff --git a/template/config/cypress-ct/cypress.config.ts b/template/config/cypress-ct/cypress.config.ts
new file mode 100644 (file)
index 0000000..c8fac12
--- /dev/null
@@ -0,0 +1,15 @@
+import { defineConfig } from 'cypress'
+
+export default defineConfig({
+  e2e: {
+    specPattern: 'cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}',
+    baseUrl: 'http://localhost:4173'
+  },
+  component: {
+    specPattern: 'src/**/__tests__/*.{cy,spec}.{js,ts,jsx,tsx}',
+    devServer: {
+      framework: 'vue',
+      bundler: 'vite'
+    }
+  }
+})
diff --git a/template/config/cypress-ct/cypress.json b/template/config/cypress-ct/cypress.json
deleted file mode 100644 (file)
index a10a903..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-  "baseUrl": "http://localhost:4173",
-  "component": {
-    "componentFolder": "src",
-    "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}"
-  }
-}
diff --git a/template/config/cypress-ct/cypress/plugins/index.js b/template/config/cypress-ct/cypress/plugins/index.js
deleted file mode 100644 (file)
index db04a79..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/* eslint-env node */
-/// <reference types="cypress" />
-// ***********************************************************
-// This example plugins/index.js can be used to load plugins
-//
-// You can change the location of this file or turn off loading
-// the plugins file with the 'pluginsFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/plugins-guide
-// ***********************************************************
-
-// This function is called when a project is opened or re-opened (e.g. due to
-// the project's config changing)
-
-const { startDevServer } = require('@cypress/vite-dev-server')
-
-/**
- * @type {Cypress.PluginConfig}
- */
-// eslint-disable-next-line no-unused-vars
-module.exports = (on, config) => {
-  // `on` is used to hook into various events Cypress emits
-  // `config` is the resolved Cypress config
-  on('dev-server:start', (options) => {
-    return startDevServer({ options })
-  })
-  return config
-}
diff --git a/template/config/cypress-ct/cypress/plugins/index.ts b/template/config/cypress-ct/cypress/plugins/index.ts
deleted file mode 100644 (file)
index 71dd1ac..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/* eslint-env node */
-// ***********************************************************
-// This example plugins/index.ts can be used to load plugins
-//
-// You can change the location of this file or turn off loading
-// the plugins file with the 'pluginsFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/plugins-guide
-// ***********************************************************
-
-// This function is called when a project is opened or re-opened (e.g. due to
-// the project's config changing)
-
-import { startDevServer } from '@cypress/vite-dev-server'
-
-export default ((on, config) => {
-  // `on` is used to hook into various events Cypress emits
-  // `config` is the resolved Cypress config
-  on('dev-server:start', (options) => {
-    return startDevServer({ options })
-  })
-  return config
-}) as Cypress.PluginConfig
diff --git a/template/config/cypress-ct/cypress/support/component-index.html b/template/config/cypress-ct/cypress/support/component-index.html
new file mode 100644 (file)
index 0000000..ac6e79f
--- /dev/null
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width,initial-scale=1.0">
+    <title>Components App</title>
+  </head>
+  <body>
+    <div data-cy-root></div>
+  </body>
+</html>
\ No newline at end of file
diff --git a/template/config/cypress-ct/cypress/support/component.js b/template/config/cypress-ct/cypress/support/component.js
new file mode 100644 (file)
index 0000000..b234fad
--- /dev/null
@@ -0,0 +1,27 @@
+// ***********************************************************
+// This example support/component.js is processed and
+// loaded automatically before your test files.
+//
+// This is a great place to put global configuration and
+// behavior that modifies Cypress.
+//
+// You can change the location of this file or turn off
+// automatically serving support files with the
+// 'supportFile' configuration option.
+//
+// You can read more here:
+// https://on.cypress.io/configuration
+// ***********************************************************
+
+// Import commands.js using ES2015 syntax:
+import './commands'
+
+// Alternatively you can use CommonJS syntax:
+// require('./commands')
+
+import { mount } from 'cypress/vue'
+
+Cypress.Commands.add('mount', mount)
+
+// Example use:
+// cy.mount(MyComponent)
diff --git a/template/config/cypress-ct/cypress/support/component.ts b/template/config/cypress-ct/cypress/support/component.ts
new file mode 100644 (file)
index 0000000..74ae3ea
--- /dev/null
@@ -0,0 +1,39 @@
+// ***********************************************************
+// This example support/component.ts is processed and
+// loaded automatically before your test files.
+//
+// This is a great place to put global configuration and
+// behavior that modifies Cypress.
+//
+// You can change the location of this file or turn off
+// automatically serving support files with the
+// 'supportFile' configuration option.
+//
+// You can read more here:
+// https://on.cypress.io/configuration
+// ***********************************************************
+
+// Import commands.js using ES2015 syntax:
+import './commands'
+
+// Alternatively you can use CommonJS syntax:
+// require('./commands')
+
+import { mount } from 'cypress/vue'
+
+// Augment the Cypress namespace to include type definitions for
+// your custom command.
+// Alternatively, can be defined in cypress/support/component.d.ts
+// with a <reference path="./component" /> at the top of your spec.
+declare global {
+  namespace Cypress {
+    interface Chainable {
+      mount: typeof mount
+    }
+  }
+}
+
+Cypress.Commands.add('mount', mount)
+
+// Example use:
+// cy.mount(MyComponent)
index 8ea18accaa489a3151eed50b85d377540b1f644d..1c7bce44335188187a75b832f3e0f21e8ffcd46d 100644 (file)
@@ -1,15 +1,12 @@
 {
   "scripts": {
-    "test:unit": "cypress open-ct",
-    "test:unit:ci": "cypress run-ct --quiet --reporter spec"
+    "test:unit": "cypress open",
+    "test:unit:ci": "cypress run --component --quiet --reporter spec"
   },
   "dependencies": {
     "vue": "^3.2.36"
   },
   "devDependencies": {
-    "@cypress/vite-dev-server": "^2.2.3",
-    "@cypress/vue": "^3.1.2",
-    "cypress": "^9.7.0",
-    "vite": "^2.9.9"
+    "cypress": "^10.0.2"
   }
 }
similarity index 56%
rename from template/config/cypress-ct/src/components/__tests__/HelloWorld.spec.js
rename to template/config/cypress-ct/src/components/__tests__/HelloWorld.cy.js
index a69f3a9d69f15b4a2ecc1bf97617f00597ef2064..535a0e51c319d1d74d60d2f97f0ef951844fdcab 100644 (file)
@@ -1,13 +1,12 @@
-import { mount } from '@cypress/vue'
 import HelloWorld from '../HelloWorld.vue'
 
 describe('HelloWorld', () => {
   it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    cy.mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
   })
 
   it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    cy.mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
     cy.get('h1').should('contain', 'Hello Cypress')
   })
 })
diff --git a/template/config/cypress/cypress.config.js b/template/config/cypress/cypress.config.js
new file mode 100644 (file)
index 0000000..cabb5f9
--- /dev/null
@@ -0,0 +1,8 @@
+const { defineConfig } = require('cypress')
+
+export default defineConfig({
+  e2e: {
+    specPattern: 'cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}',
+    baseUrl: 'http://localhost:4173'
+  }
+})
diff --git a/template/config/cypress/cypress.config.ts b/template/config/cypress/cypress.config.ts
new file mode 100644 (file)
index 0000000..0f66080
--- /dev/null
@@ -0,0 +1,8 @@
+import { defineConfig } from 'cypress'
+
+export default defineConfig({
+  e2e: {
+    specPattern: 'cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}',
+    baseUrl: 'http://localhost:4173'
+  }
+})
diff --git a/template/config/cypress/cypress.json b/template/config/cypress/cypress.json
deleted file mode 100644 (file)
index fe9238d..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-  "baseUrl": "http://localhost:4173"
-}
similarity index 70%
rename from template/config/cypress/cypress/jsconfig.json
rename to template/config/cypress/cypress/e2e/jsconfig.json
index b5b2f972cd5b29097579b24dda59d3a760b0cbf3..c33dbde15f8ce4a75df21e7149f0f7d4737d01c3 100644 (file)
@@ -4,5 +4,5 @@
     "lib": ["es5", "dom"],
     "types": ["cypress"]
   },
-  "include": ["./**/*"]
+  "include": ["./**/*", "../support/e2e.*"]
 }
diff --git a/template/config/cypress/cypress/plugins/index.js b/template/config/cypress/cypress/plugins/index.js
deleted file mode 100644 (file)
index 6a1b409..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/* eslint-env node */
-/// <reference types="cypress" />
-// ***********************************************************
-// This example plugins/index.js can be used to load plugins
-//
-// You can change the location of this file or turn off loading
-// the plugins file with the 'pluginsFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/plugins-guide
-// ***********************************************************
-
-// This function is called when a project is opened or re-opened (e.g. due to
-// the project's config changing)
-
-/**
- * @type {Cypress.PluginConfig}
- */
-// eslint-disable-next-line no-unused-vars
-module.exports = (on, config) => {
-  // `on` is used to hook into various events Cypress emits
-  // `config` is the resolved Cypress config
-  return config
-}
diff --git a/template/config/cypress/cypress/plugins/index.ts b/template/config/cypress/cypress/plugins/index.ts
deleted file mode 100644 (file)
index c6679b4..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-/* eslint-env node */
-// ***********************************************************
-// This example plugins/index.ts can be used to load plugins
-//
-// You can change the location of this file or turn off loading
-// the plugins file with the 'pluginsFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/plugins-guide
-// ***********************************************************
-
-// This function is called when a project is opened or re-opened (e.g. due to
-// the project's config changing)
-
-export default ((on, config) => {
-  // `on` is used to hook into various events Cypress emits
-  // `config` is the resolved Cypress config
-  return config
-}) as Cypress.PluginConfig
diff --git a/template/config/cypress/cypress/support/commands.ts b/template/config/cypress/cypress/support/commands.ts
new file mode 100644 (file)
index 0000000..95857ae
--- /dev/null
@@ -0,0 +1,37 @@
+/// <reference types="cypress" />
+// ***********************************************
+// This example commands.ts shows you how to
+// create various custom commands and overwrite
+// existing commands.
+//
+// For more comprehensive examples of custom
+// commands please read more here:
+// https://on.cypress.io/custom-commands
+// ***********************************************
+//
+//
+// -- This is a parent command --
+// Cypress.Commands.add('login', (email, password) => { ... })
+//
+//
+// -- This is a child command --
+// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
+//
+//
+// -- This is a dual command --
+// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
+//
+//
+// -- This will overwrite an existing command --
+// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
+//
+// declare global {
+//   namespace Cypress {
+//     interface Chainable {
+//       login(email: string, password: string): Chainable<void>
+//       drag(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
+//       dismiss(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
+//       visit(originalFn: CommandOriginalFn, url: string, options: Partial<VisitOptions>): Chainable<Element>
+//     }
+//   }
+// }
index 79bf45d094032baffb9bf6acb7884bda253d768f..f995b4b1ca9430fa47bd9073ad19bcaa76237b9c 100644 (file)
@@ -1,10 +1,10 @@
 {
   "scripts": {
-    "test:e2e": "start-server-and-test preview http://127.0.0.1:4173/ 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:4173/ 'cypress run'"
+    "test:e2e": "start-server-and-test preview http://127.0.0.1:4173/ 'cypress open --e2e'",
+    "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:4173/ 'cypress run --e2e'"
   },
   "devDependencies": {
-    "cypress": "^9.7.0",
+    "cypress": "^10.0.2",
     "start-server-and-test": "^1.14.0"
   }
 }
similarity index 63%
rename from template/tsconfig/base/tsconfig.vite-config.json
rename to template/tsconfig/base/tsconfig.config.json
index 93fe5846ea76dd7e5889b70e7236ae379b3704ef..c2d3a309ef15e8028f3a44a42975b38d9beede3e 100644 (file)
@@ -1,6 +1,6 @@
 {
   "extends": "@vue/tsconfig/tsconfig.node.json",
-  "include": ["vite.config.*"],
+  "include": ["vite.config.*", "vitest.config.*", "cypress.config.*"],
   "compilerOptions": {
     "composite": true,
     "types": ["node"]
index 61952eeb365ae7e1f82f0acb3de36f49458d0225..8d2359999ec907a1ff44010999ff814fde4897a5 100644 (file)
@@ -10,7 +10,7 @@
 
   "references": [
     {
-      "path": "./tsconfig.vite-config.json"
+      "path": "./tsconfig.config.json"
     }
   ]
 }
index dec23bc64255aeb4a467089ce2fb47df21e46ab5..f3aef9ab75c41b5eec45ae3115f745fff0003229 100644 (file)
@@ -1,5 +1,6 @@
 {
   "extends": "./tsconfig.app.json",
+  "include": ["env.d.ts", "src/**/*", "src/**/*.vue", "cypress/support/component.*"],
   "exclude": [],
   "compilerOptions": {
     "composite": true,
index 50fe5cdd944453b81ca074d82a72782ec1c42aa6..040665bbeddb1a7f6b4e2ee45d606153fb393b1c 100644 (file)
@@ -2,7 +2,7 @@
   "files": [],
   "references": [
     {
-      "path": "./tsconfig.vite-config.json"
+      "path": "./tsconfig.config.json"
     },
     {
       "path": "./tsconfig.app.json"
index 24f21b069fa1e928d1a6617d90d320e600d352c4..31f90037cb74ac0b338903e1ffbefacc551f18e2 100644 (file)
@@ -2,7 +2,7 @@
   "files": [],
   "references": [
     {
-      "path": "./tsconfig.vite-config.json"
+      "path": "./tsconfig.config.json"
     },
     {
       "path": "./tsconfig.app.json"
diff --git a/template/tsconfig/vitest/tsconfig.vite-config.json b/template/tsconfig/vitest/tsconfig.vite-config.json
deleted file mode 100644 (file)
index d20d872..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-  "extends": "@vue/tsconfig/tsconfig.node.json",
-  "include": ["vite.config.*"],
-  "compilerOptions": {
-    "composite": true,
-    "types": ["node", "vitest"]
-  }
-}
index 3fd661a475c3d8dae92a9d6f18a16c245a36fa83..4e4e96016e4771587de0bc9eb85fc10d8f64b6fe 100644 (file)
@@ -49,8 +49,8 @@ function configureEslint({ language, styleGuide, needsPrettier, needsCypress, ne
     const cypressOverrides = [
       {
         files: needsCypressCT
-          ? ['**/__tests__/*.spec.{js,ts,jsx,tsx}', 'cypress/integration/**.spec.{js,ts,jsx,tsx}']
-          : ['cypress/integration/**.spec.{js,ts,jsx,tsx}'],
+          ? ['**/__tests__/*.{cy,spec}.{js,ts,jsx,tsx}', 'cypress/e2e/**.{cy,spec}.{js,ts,jsx,tsx}']
+          : ['cypress/e2e/**.{cy,spec}.{js,ts,jsx,tsx}'],
         extends: ['plugin:cypress/recommended']
       }
     ]