Skip to content

Commit 0eb9ca7

Browse files
skulidropekclaude
andcommitted
fix(consumer): address CodeRabbit review — build before consumer check, add baseUrl
- test:consumer now runs tsc -p tsconfig.build.json first so the script works on a clean checkout without a pre-built dist/ - Add baseUrl: "." to tests/consumer/tsconfig.json alongside paths so TypeScript module resolution follows the standard paths protocol Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c8a0046 commit 0eb9ca7

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

packages/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"check": "tsc --noEmit",
2828
"test": "vitest run",
2929
"typecheck": "tsc --noEmit",
30-
"test:consumer": "tsc -p tests/consumer/tsconfig.json"
30+
"test:consumer": "tsc -p tsconfig.build.json && tsc -p tests/consumer/tsconfig.json"
3131
},
3232
"repository": {
3333
"type": "git",

packages/app/tests/consumer/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"target": "ES2022",
88
"lib": ["ES2022", "DOM"],
99
"verbatimModuleSyntax": true,
10+
"baseUrl": ".",
1011
"paths": {
1112
"@prover-coder-ai/openapi-effect": ["../../dist/index.d.ts"]
1213
}

0 commit comments

Comments
 (0)