Skip to content

LEAN-5935 - Unify react-router-dom on 7.15.0 - #1222

Open
mnatsheh wants to merge 8 commits into
masterfrom
LEAN-5935-router-v7
Open

mnatsheh wants to merge 8 commits into
masterfrom
LEAN-5935-router-v7

Conversation

@mnatsheh

Copy link
Copy Markdown
Contributor

Summary

  • react-router-dom versions are fragmented across the ecosystem: this repo and dashboard were on 6.30.0, style-guide was on 5.3.4, body-editor drifted to 7.15.0 in an unrelated dependency-bump PR (LEAN-5586).
  • Rather than downgrade body-editor back to v6, we're unifying everyone forward on 7.15.0. react-router v7 (library mode) kept v6's API surface, and this repo's only usages — useSearchParams, useLocation, useNavigate (passed through as props into @manuscripts/body-editor) — are unaffected.
  • Companion PRs: manuscripts-style-guide#370, and a dashboard bump in progress.

Test plan

  • pnpm typecheck passes
  • pnpm test — 13/13 pass
  • pnpm lint passes
  • pnpm build succeeds

🤖 Generated with Claude Code

Bumps react-router-dom from 6.30.0 to 7.15.0 to match body-editor,
which drifted to v7 in an unrelated dependency-bump commit
(LEAN-5586). Rather than downgrade body-editor back to v6, we're
moving the rest of the ecosystem forward — react-router v7 kept v6's
API surface, and this repo's only usages (useSearchParams, useLocation,
useNavigate passed through as props) are unaffected.

Companion PRs bump leanworkflow-dashboard and manuscripts-style-guide
to the same version.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 10, 2026 18:54

Copilot AI left a comment

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.

Pull request overview

This PR updates the application’s direct react-router-dom dependency to align with the ecosystem goal of standardizing on React Router v7, primarily by moving from 6.30.0 to 7.15.0 and updating the lockfile accordingly.

Changes:

  • Bump react-router-dom from 6.30.0 to 7.15.0 in package.json.
  • Regenerate pnpm-lock.yaml to remove the v6 router packages and reflect the v7 dependency graph.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
package.json Updates the direct react-router-dom dependency to 7.15.0.
pnpm-lock.yaml Updates the resolved router packages to v7 and removes v6-related entries.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread package.json
"react-is": "18.3.1",
"react-popper": "2.3.0",
"react-router-dom": "6.30.0",
"react-router-dom": "7.15.0",
@zax-assistant

zax-assistant Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Published version 4.17.2-LEAN-5935-router-v7.0

@zax-assistant

zax-assistant Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Published version 4.17.3-LEAN-5935-router-v7.0

@zax-assistant

zax-assistant Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Published version 4.17.3-LEAN-5935-router-v7.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants