From: Haoqun Jiang Date: Fri, 3 Jun 2022 08:19:21 +0000 (+0800) Subject: fix: clean up Cypress tsconfigs X-Git-Tag: v3.2.0~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=952477dfc6a12e50c8f2d4d3994e88f5ebadfcce;p=thirdparty%2Fvuejs%2Fcreate-vue.git fix: clean up Cypress tsconfigs --- diff --git a/playground b/playground index ee46c900..f102fa46 160000 --- a/playground +++ b/playground @@ -1 +1 @@ -Subproject commit ee46c9004e0f8e03bee3b2239efb364cb75f5ee6 +Subproject commit f102fa46a9d6b48483c2c5986d003d3d22052980 diff --git a/template/config/cypress/cypress/e2e/jsconfig.json b/template/config/cypress/cypress/e2e/jsconfig.json index c33dbde1..c790a70d 100644 --- a/template/config/cypress/cypress/e2e/jsconfig.json +++ b/template/config/cypress/cypress/e2e/jsconfig.json @@ -4,5 +4,5 @@ "lib": ["es5", "dom"], "types": ["cypress"] }, - "include": ["./**/*", "../support/e2e.*"] + "include": ["./**/*", "../support/**/*"] } diff --git a/template/tsconfig/cypress/cypress/tsconfig.json b/template/tsconfig/cypress/cypress/e2e/tsconfig.json similarity index 76% rename from template/tsconfig/cypress/cypress/tsconfig.json rename to template/tsconfig/cypress/cypress/e2e/tsconfig.json index a2dbf9e3..be213aef 100644 --- a/template/tsconfig/cypress/cypress/tsconfig.json +++ b/template/tsconfig/cypress/cypress/e2e/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "@vue/tsconfig/tsconfig.web.json", - "include": ["./integration/**/*", "./support/**/*"], + "include": ["./**/*", "../support/**/*"], "compilerOptions": { "isolatedModules": false, "target": "es5", diff --git a/template/tsconfig/cypress/cypress/plugins/tsconfig.json b/template/tsconfig/cypress/cypress/plugins/tsconfig.json deleted file mode 100644 index b5aedd53..00000000 --- a/template/tsconfig/cypress/cypress/plugins/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "@vue/tsconfig/tsconfig.node.json", - "include": ["./**/*"], - "compilerOptions": { - "module": "CommonJS", - "preserveValueImports": false, - "types": ["node", "cypress/types/cypress"] - } -}