From 73e06c39e3a6fed7ec9daccbdca655820d7bd1a1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 5 Nov 2025 16:12:41 +0000 Subject: [PATCH 1/3] Initial plan From cd19b7f1c37df7ce558fbc756d7acf8b233e361e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 5 Nov 2025 16:29:40 +0000 Subject: [PATCH 2/3] Add test directories to tsconfig includes Co-authored-by: serhalp <1377702+serhalp@users.noreply.github.com> --- packages/blobs/tsconfig.json | 2 +- packages/dev/tsconfig.json | 2 +- packages/functions/prod/tsconfig.json | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/blobs/tsconfig.json b/packages/blobs/tsconfig.json index 7fedf6ee..12987caa 100644 --- a/packages/blobs/tsconfig.json +++ b/packages/blobs/tsconfig.json @@ -16,5 +16,5 @@ "skipLibCheck": true, "forceConsistentCasingInFileNames": true }, - "include": ["src"] + "include": ["src", "test"] } diff --git a/packages/dev/tsconfig.json b/packages/dev/tsconfig.json index 15d51fbf..0a7c174d 100644 --- a/packages/dev/tsconfig.json +++ b/packages/dev/tsconfig.json @@ -12,5 +12,5 @@ "strict": true, "skipLibCheck": true }, - "include": ["src"] + "include": ["src", "test"] } diff --git a/packages/functions/prod/tsconfig.json b/packages/functions/prod/tsconfig.json index c8b61a25..91a22f59 100644 --- a/packages/functions/prod/tsconfig.json +++ b/packages/functions/prod/tsconfig.json @@ -14,5 +14,6 @@ "skipLibCheck": true, "forceConsistentCasingInFileNames": true }, - "include": ["src"] + "include": ["src", "test"], + "exclude": ["test/types"] } From 0bc670ac9aeb01203759d3dbf7464a7797f3c927 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 5 Nov 2025 17:02:37 +0000 Subject: [PATCH 3/3] Add explicit type-checking scripts to test suites Co-authored-by: serhalp <1377702+serhalp@users.noreply.github.com> --- packages/blobs/package.json | 1 + packages/dev/package.json | 6 ++++-- packages/functions/prod/package.json | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/blobs/package.json b/packages/blobs/package.json index 7b226eb2..111653fe 100644 --- a/packages/blobs/package.json +++ b/packages/blobs/package.json @@ -53,6 +53,7 @@ "test:ci": "run-s build test:ci:*", "test:dev:vitest": "vitest", "test:dev:vitest:watch": "vitest watch", + "test:ci:types": "tsc --noEmit", "test:ci:vitest": "vitest run", "publint": "npx -y publint --strict" }, diff --git a/packages/dev/package.json b/packages/dev/package.json index 548b67c7..2e7bfb4b 100644 --- a/packages/dev/package.json +++ b/packages/dev/package.json @@ -32,9 +32,11 @@ "scripts": { "build": "tsup-node", "prepack": "npm run build", - "test": "vitest run", + "test": "npm run test:types && npm run test:vitest", "test:dev": "vitest", - "test:ci": "npm run build && vitest run", + "test:ci": "npm run build && npm run test:types && npm run test:vitest", + "test:types": "tsc --noEmit", + "test:vitest": "vitest run", "dev": "tsup-node --watch", "publint": "npx -y publint --strict" }, diff --git a/packages/functions/prod/package.json b/packages/functions/prod/package.json index 6ca55309..8a0ef868 100644 --- a/packages/functions/prod/package.json +++ b/packages/functions/prod/package.json @@ -45,6 +45,7 @@ "test:dev:tsd": "tsd", "test:dev:vitest": "vitest", "test:ci": "run-s test:ci:*", + "test:ci:types": "tsc --noEmit", "test:ci:vitest": "npm run build && vitest run", "publint": "npx -y publint --strict" },