Skip to content

Commit 3dc6519

Browse files
committed
fix(fixtures/minimal): add react types for TSX jsx-runtime
devDependencies react + @types/react; ignoreDeprecations for baseUrl; bun.lock for reproducible install.
1 parent 1b66ad4 commit 3dc6519

4 files changed

Lines changed: 28 additions & 1 deletion

File tree

fixtures/minimal/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ Stable tree for **repeatable** `src/benchmark.ts` runs and CI.
66
- **Benchmark:** same `CODEMAP_ROOT`, then `bun run benchmark`
77

88
Includes intentional symbols (`usePermissions`), a `~/api/client` import, `components/shop/*`, `utils/date`, CSS variables, and a TODO marker.
9+
10+
**Editor / `tsc`:** run **`bun install`** here so **`react`** + **`@types/react`** resolve `react/jsx-runtime` for `.tsx` (`jsx: "react-jsx"` in `tsconfig.json`).

fixtures/minimal/bun.lock

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fixtures/minimal/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@
22
"name": "codemap-fixture-minimal",
33
"version": "0.0.0",
44
"private": true,
5-
"description": "Small fixture for benchmarks and CI — not published."
5+
"description": "Small fixture for benchmarks and CI — not published.",
6+
"devDependencies": {
7+
"@types/react": "^19.0.0",
8+
"react": "^19.0.0"
9+
}
610
}

fixtures/minimal/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"jsx": "react-jsx",
77
"strict": true,
88
"skipLibCheck": true,
9+
"ignoreDeprecations": "6.0",
910
"baseUrl": ".",
1011
"paths": {
1112
"~/*": ["src/*"]

0 commit comments

Comments
 (0)