Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"katex": "^0.17.0",
"next": "16.2.6",
"react": "19.2.6",
"react-dom": "19.2.6",
"react-dom": "19.2.7",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify current manifest versions and lockfile peer contract (read-only).
set -euo pipefail

echo "apps/web/package.json React lines:"
rg -n '"react"|"react-dom"' apps/web/package.json -n -C1

echo
echo "pnpm-lock.yaml importer resolution lines:"
rg -n 'react-dom:|react:' pnpm-lock.yaml -n -C2 | head -n 40

echo
echo "pnpm-lock.yaml peerDependencies for react-dom@19.2.7:"
rg -n 'react-dom@19\.2\.7|peerDependencies|react:\s+\^19\.2\.7' pnpm-lock.yaml -n -C3

Repository: OpenDevFlow/md-latex

Length of output: 20060


Align react version with react-dom in apps/web/package.json.

apps/web/package.json pins react-dom to 19.2.7 while react remains 19.2.6. In pnpm-lock.yaml, react-dom@19.2.7 declares peerDependencies: react: ^19.2.7, but the lockfile resolves react-dom@19.2.7(react@19.2.6), creating a peer mismatch.

🔧 Suggested fix
-    "react": "19.2.6",
+    "react": "19.2.7",
     "react-dom": "19.2.7",
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/web/package.json` at line 29, Update the pinned React versions so they
match: in apps/web's package.json change the "react" entry to the same version
as "react-dom" (19.2.7) to satisfy peerDependencies and avoid the lockfile
mismatch; after updating the "react" dependency, run the workspace package
manager (pnpm install) to regenerate pnpm-lock.yaml and verify no peer
dependency warnings for react-dom@19.2.7 referencing react.

"rehype-katex": "^7.0.1",
"rehype-stringify": "^10.0.1",
"remark-frontmatter": "^5.0.0",
Expand Down
18 changes: 9 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading