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/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/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/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/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" }, 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"] }