From d74a4574e9ec34dd1d31fcf537f0874d3053517d Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Sun, 4 Sep 2022 13:20:17 +0800 Subject: [PATCH] fix: update type-check command for projects with Cypress Component Testing Fixes #152 --- template/config/cypress/cypress/support/commands.ts | 2 ++ template/tsconfig/cypress-ct/package.json | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 template/tsconfig/cypress-ct/package.json diff --git a/template/config/cypress/cypress/support/commands.ts b/template/config/cypress/cypress/support/commands.ts index 95857aea..9b7bb8e2 100644 --- a/template/config/cypress/cypress/support/commands.ts +++ b/template/config/cypress/cypress/support/commands.ts @@ -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 index 00000000..ba3c34a4 --- /dev/null +++ b/template/tsconfig/cypress-ct/package.json @@ -0,0 +1,5 @@ +{ + "scripts": { + "type-check": "vue-tsc --noEmit -p tsconfig.cypress-ct.json --composite false" + } +} -- 2.39.5