Skip to content
TypeScript

Fix CI typecheck: build contracts before typechecking dependents

Julius Marminge4ab095fd9167
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index 91844777768..d4216fd3980 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -8,15 +8,15 @@
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
- "types": "./src/index.ts",
+ "types": "./src/index.d.cts",
"exports": {
".": {
"import": {
- "types": "./src/index.ts",
+ "types": "./src/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
- "types": "./src/index.ts",
+ "types": "./src/index.d.cts",
"default": "./dist/index.cjs"
}
}
diff --git a/turbo.json b/turbo.json
index d797982de9c..fd290124b89 100644
--- a/turbo.json
+++ b/turbo.json
@@ -23,7 +23,7 @@
"persistent": false
},
"typecheck": {
- "dependsOn": ["^typecheck"],
+ "dependsOn": ["^build"],
"outputs": []
},
"test": {