Commit 230ed72
fix: widen @arkenv/nextjs React peer range (#1833)
## Summary
Fix the React peer dependency conflict affecting Next.js example
installs.
## Root cause
`@arkenv/nextjs` used the pnpm workspace-only `catalog:` alias for its
published React peer dependency. The resulting npm metadata pinned React
to `19.2.5`, conflicting with projects using React `19.2.8` and causing
`ERESOLVE` during installs.
## Fix
Set the peer dependency to the supported React range:
```json
"react": "^18.2.0 || ^19.0.0"
```
This matches Next.js's supported React range and allows the examples to
resolve successfully.
---------
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>1 parent 25b2cca commit 230ed72
3 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
0 commit comments