From 3607b5523f9d23ec6b9facf8474c7bdf047537e1 Mon Sep 17 00:00:00 2001 From: amankumarsingh77 Date: Mon, 27 Jul 2026 00:13:06 +0530 Subject: chore(build): split tsconfig, typecheck tests, add node:test runner test/ was never type-checked and had no runner. Adds tsconfig.base.json shared by a src project and a test project, an npm test script scoped to non-manual suites, and a CI step. Ports the profile store suite as proof. Co-Authored-By: Claude Opus 5 (1M context) --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index f3abf89..8c306d0 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,8 @@ "typescript": "^5.0.0" }, "scripts": { - "typecheck": "tsc --noEmit", + "typecheck": "tsc --noEmit && tsc -p tsconfig.test.json", + "test": "node --import tsx --test \"test/{profile,deep-research,domains,cdp,util}/**/*-test.ts\"", "prepublishOnly": "tsc --noEmit" }, "publishConfig": { -- cgit v1.2.3