authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-02-11 12:08:24-08:00
committergravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-02-11 12:08:24-08:00
log4ab095fd9167c2201db2f2833d93d3db044391df
treed63f591c3288f88cd18639f9960b571586c5c504
parent74f6ce86004a39ffa07d59d468c78ae677e93c3d

Fix CI typecheck: build contracts before typechecking dependents

- Change turbo typecheck task to dependsOn: ["^build"] so the contracts package generates .d.cts/.d.mts declaration files before downstream packages run tsc - Revert contracts types back to generated declaration files - Remove unused useGitState.ts that imported missing @tanstack/react-query Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

2 files changed, 4 insertions(+), 4 deletions(-)

packages/contracts/package.json+3-3
...@@ -8,15 +8,15 @@...@@ -8,15 +8,15 @@
8 "type": "module",8 "type": "module",
9 "main": "./dist/index.cjs",9 "main": "./dist/index.cjs",
10 "module": "./dist/index.mjs",10 "module": "./dist/index.mjs",
11 "types": "./src/index.ts",11 "types": "./src/index.d.cts",
12 "exports": {12 "exports": {
13 ".": {13 ".": {
14 "import": {14 "import": {
15 "types": "./src/index.ts",15 "types": "./src/index.d.mts",
16 "default": "./dist/index.mjs"16 "default": "./dist/index.mjs"
17 },17 },
18 "require": {18 "require": {
19 "types": "./src/index.ts",19 "types": "./src/index.d.cts",
20 "default": "./dist/index.cjs"20 "default": "./dist/index.cjs"
21 }21 }
22 }22 }
turbo.json+1-1
...@@ -23,7 +23,7 @@...@@ -23,7 +23,7 @@
23 "persistent": false23 "persistent": false
24 },24 },
25 "typecheck": {25 "typecheck": {
26 "dependsOn": ["^typecheck"],26 "dependsOn": ["^build"],
27 "outputs": []27 "outputs": []
28 },28 },
29 "test": {29 "test": {