Skip to content

Commit d52e9a8

Browse files
committed
0.1.,5
1 parent 5f0f9f9 commit d52e9a8

3 files changed

Lines changed: 15 additions & 13 deletions

File tree

.changeset/diagnose-fallback-to-nested-project.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

packages/react-doctor/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# react-doctor
22

3+
## 0.1.5
4+
5+
### Patch Changes
6+
7+
- b06b768: `diagnose()` now falls back to the first nested React subproject when the
8+
requested directory has no root `package.json`, instead of crashing with
9+
`No package.json found in <directory>`. This unblocks external review
10+
runners (e.g. the Vercel AI Code Review sandbox) that point `diagnose()`
11+
at the cloned repo root for projects whose `package.json` lives in a
12+
subfolder like `apps/web`. When neither the root nor any nested
13+
subdirectory contains a React project, `diagnose()` now throws a clearer
14+
`No React project found in <directory>` error.
15+
- fix
16+
317
## 0.1.4
418

519
### Patch Changes

packages/react-doctor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-doctor",
3-
"version": "0.1.4",
3+
"version": "0.1.5",
44
"description": "Diagnose and fix React codebases for security, performance, correctness, accessibility, bundle-size, and architecture issues",
55
"keywords": [
66
"accessibility",

0 commit comments

Comments
 (0)