# Fix CI typecheck: build contracts before typechecking dependents · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/4ab095fd9167c2201db2f2833d93d3db044391df)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 4ab095fd9167c2201db2f2833d93d3db044391df

Requested commit: 4ab095fd9167c2201db2f2833d93d3db044391df

Commit: 4ab095fd9167c2201db2f2833d93d3db044391df

Tree: d63f591c3288f88cd18639f9960b571586c5c504

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
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>

```

## Parents

- [74f6ce86004a39ffa07d59d468c78ae677e93c3d](https://git.cafe/pingdotgg/t3code/commit/74f6ce86004a39ffa07d59d468c78ae677e93c3d?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/4ab095fd9167c2201db2f2833d93d3db044391df?format=markdown)
