]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
fix: move tsconfig.json for cypress e2e a level up
authorHaoqun Jiang <haoqunjiang@gmail.com>
Mon, 14 Oct 2024 09:20:50 +0000 (17:20 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Mon, 14 Oct 2024 09:20:50 +0000 (17:20 +0800)
Tools like `typescript-eslint` does not work well with this kind of
`include` pattern (i.e. starting with `../`).

template/tsconfig/cypress/cypress/tsconfig.json [moved from template/tsconfig/cypress/cypress/e2e/tsconfig.json with 60% similarity]

similarity index 60%
rename from template/tsconfig/cypress/cypress/e2e/tsconfig.json
rename to template/tsconfig/cypress/cypress/tsconfig.json
index c94f1d49b4f69db66b59969c2b1b393e2ce8f293..c8f4bce5568e4851ed7d6038e49d0a03d77079f5 100644 (file)
@@ -1,6 +1,7 @@
 {
   "extends": "@vue/tsconfig/tsconfig.dom.json",
-  "include": ["./**/*", "../support/**/*"],
+  "include": ["./e2e/**/*", "./support/**/*"],
+  "exclude": ["./support/component.*"],
   "compilerOptions": {
     "isolatedModules": false,
     "types": ["cypress"]