From be37e1d9cc7db1fde9df83d97634a276d792cd06 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Mon, 16 Sep 2024 23:06:03 -0400 Subject: [PATCH] Require type-checking to pass for src-testing --- .github/workflows/CI.yml | 1 - src-testing/package.json | 2 +- src-testing/tsconfig.json | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 748218651..4eed8b98b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -102,7 +102,6 @@ jobs: working-directory: src-testing - run: pnpm run build-declarations working-directory: src-testing - continue-on-error: true - run: pnpm run format-dprint working-directory: src-testing - run: pnpm run check-declarations diff --git a/src-testing/package.json b/src-testing/package.json index 029f293ec..4eb328aca 100644 --- a/src-testing/package.json +++ b/src-testing/package.json @@ -5,7 +5,7 @@ "main": "", "scripts": { "create-src": "node create-src.js", - "build-declarations": "tsc", + "build-declarations": "tsc --declaration true --emitDeclarationOnly true", "check-declarations": "node declarations.js check", "copy-declarations": "node declarations.js copy", "type-check": "tsc --noEmit", diff --git a/src-testing/tsconfig.json b/src-testing/tsconfig.json index 64a7403f7..f293a64bd 100644 --- a/src-testing/tsconfig.json +++ b/src-testing/tsconfig.json @@ -3,8 +3,6 @@ "target": "es2017", "module": "NodeNext", "types": [], - "declaration": true, - "emitDeclarationOnly": true, "forceConsistentCasingInFileNames": true, "strict": true }