Skip to content

Commit 06989b7

Browse files
author
Pequi Bot
committed
fix: add root tsconfig.json and typecheck script for CI (fixes typecheck failing)
1 parent 7b00336 commit 06989b7

3 files changed

Lines changed: 24 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
node-version: '22'
1717
cache: 'npm'
1818
- run: npm ci
19-
- run: npx tsc --noEmit
19+
- run: npm run typecheck
2020

2121
build-sdk:
2222
needs: typecheck

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"build:client": "npm run build -w packages/api-client",
3333
"build:mcp": "npm run build -w packages/mcp-server",
3434
"start:mcp": "npm run start -w packages/mcp-server",
35-
"test": "node packages/mcp-server/node_modules/.bin/tsx --test tests/*.test.ts"
35+
"test": "node packages/mcp-server/node_modules/.bin/tsx --test tests/*.test.ts",
36+
"typecheck": "tsc -b --noEmit"
3637
},
3738
"repository": {
3839
"type": "git",

tsconfig.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES2022",
4+
"module": "ESNext",
5+
"moduleResolution": "bundler",
6+
"strict": true,
7+
"esModuleInterop": true,
8+
"skipLibCheck": true,
9+
"forceConsistentCasingInFileNames": true,
10+
"resolveJsonModule": true,
11+
"declaration": true,
12+
"declarationMap": true,
13+
"sourceMap": true
14+
},
15+
"references": [
16+
{ "path": "packages/api-client" },
17+
{ "path": "packages/mcp-server" },
18+
{ "path": "packages/opencode-pequi-plugin" }
19+
],
20+
"files": []
21+
}

0 commit comments

Comments
 (0)