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 @@
88 "type": "module",
99 "main": "./dist/index.cjs",
1010 "module": "./dist/index.mjs",
11 "types": "./src/index.ts",
11 "types": "./src/index.d.cts",
1212 "exports": {
1313 ".": {
1414 "import": {
15 "types": "./src/index.ts",
15 "types": "./src/index.d.mts",
1616 "default": "./dist/index.mjs"
1717 },
1818 "require": {
19 "types": "./src/index.ts",
19 "types": "./src/index.d.cts",
2020 "default": "./dist/index.cjs"
2121 }
2222 }
turbo.json+1-1
......@@ -23,7 +23,7 @@
2323 "persistent": false
2424 },
2525 "typecheck": {
26 "dependsOn": ["^typecheck"],
26 "dependsOn": ["^build"],
2727 "outputs": []
2828 },
2929 "test": {