]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
fix: update type-check command for projects with Cypress Component Testing
authorHaoqun Jiang <haoqunjiang@gmail.com>
Sun, 4 Sep 2022 05:20:17 +0000 (13:20 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Sun, 4 Sep 2022 05:20:17 +0000 (13:20 +0800)
Fixes #152

template/config/cypress/cypress/support/commands.ts
template/tsconfig/cypress-ct/package.json [new file with mode: 0644]

index 95857aea4cdf2be3812283fa91bdfd73bb9f0a5f..9b7bb8e2584cf20c9f578c69dada5f6024b4b042 100644 (file)
@@ -35,3 +35,5 @@
 //     }
 //   }
 // }
+
+export {}
diff --git a/template/tsconfig/cypress-ct/package.json b/template/tsconfig/cypress-ct/package.json
new file mode 100644 (file)
index 0000000..ba3c34a
--- /dev/null
@@ -0,0 +1,5 @@
+{
+  "scripts": {
+    "type-check": "vue-tsc --noEmit -p tsconfig.cypress-ct.json --composite false"
+  }
+}