diff --git a/package.json b/package.json index 98980df265..d72d2b090f 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "size": "turbo run size", "test": "turbo run test", "tp": "pnpm --filter type-plus", - "verify": "turbo run lint build build:doc depcheck coverage size", + "verify": "turbo run lint build build:doc depcheck coverage test:type size", "version": "changeset version" }, "devDependencies": { diff --git a/turbo.json b/turbo.json index c4c4f054f3..344c64dce5 100644 --- a/turbo.json +++ b/turbo.json @@ -48,6 +48,14 @@ "inputs": [ "ts/**/*.tsx?" ] + }, + "test:type": { + "dependsOn": [ + "^build" + ], + "inputs": [ + "ts/**/*.tsx?" + ] } } } diff --git a/type-plus/package.json b/type-plus/package.json index 84ffbdb32e..febca4b93e 100644 --- a/type-plus/package.json +++ b/type-plus/package.json @@ -57,6 +57,7 @@ "nuke": "pnpm clean && rimraf node_modules", "size": "size-limit", "test": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest", + "test:type": "tsc --noEmit", "test:watch": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest --watch", "verify": "npm-run-all clean -p build depcheck lint coverage -p size", "watch": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest --watch",