Skip to content

Commit 807545b

Browse files
ryukzakclaude
andcommitted
fix: Generate tsconfig.json for tmp example typecheck
The test-other-example-generation target generates into examples/tmp/ (gitignored) but expected a tsconfig.json that was never created. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 15993df commit 807545b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ test-output
4242
/generated
4343
.typeschema-cache
4444
*.cpuprofile
45+
examples/tmp/

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ test-all-example-generation: test-other-example-generation
5959

6060
test-other-example-generation:
6161
bun run examples/nodge-r4.ts
62+
echo '{ "extends": "../../tsconfig.json", "include": ["."] }' > examples/tmp/tsconfig.json
6263
$(TYPECHECK) --project examples/tmp/tsconfig.json
6364

6465
test-typescript-r4-example: typecheck format lint

0 commit comments

Comments
 (0)