diff --git a/packages/blobs/package.json b/packages/blobs/package.json index f390f7263..d25d0b75e 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/blobs/tsconfig.json b/packages/blobs/tsconfig.json index 83e9a4b76..c76d5d2d7 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/package.json b/packages/dev/package.json index f8c8de5bf..258e7b50e 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/dev/tsconfig.json b/packages/dev/tsconfig.json index 15d51fbff..0a7c174de 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/package.json b/packages/functions/prod/package.json index 60072ac81..0f1017510 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" }, diff --git a/packages/functions/prod/tsconfig.json b/packages/functions/prod/tsconfig.json index c8b61a25e..91a22f59c 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"] }