From b6f1b27b4f2e68b904658e6962474598195a917b Mon Sep 17 00:00:00 2001 From: fraxken Date: Thu, 23 Nov 2023 21:38:35 +0100 Subject: [PATCH] fix(ci): build before running TSD --- src/pattern/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pattern/package.json b/src/pattern/package.json index 38e4dca..a945722 100644 --- a/src/pattern/package.json +++ b/src/pattern/package.json @@ -18,7 +18,7 @@ "scripts": { "build": "tsup src/pattern.ts --format cjs,esm --dts --clean", "prepublishOnly": "npm run build", - "test:tsd": "tsd", + "test:tsd": "npm run build && tsd", "test:runner": "glob -c \"tsx --test\" \"./test/*.spec.ts\"", "test": "npm run test:runner && npm run test:tsd", "coverage": "c8 -r html npm test",