Skip to content

build(deps): consolidate bumps from #2, #4, #5, #7, #15 against realigned main#26

Closed
adm01-debug wants to merge 1 commit into
mainfrom
claude/deps-bump-vs-new-main
Closed

build(deps): consolidate bumps from #2, #4, #5, #7, #15 against realigned main#26
adm01-debug wants to merge 1 commit into
mainfrom
claude/deps-bump-vs-new-main

Conversation

@adm01-debug
Copy link
Copy Markdown
Owner

Summary

Consolidates all 5 open dependabot bumps into a single commit, applied against the recently-realigned main branch.

PR Bump
#2 react-helmet-async 2.0.5 → 3.0.0
#4 date-fns 2.30.0 → 4.1.0
#5 framer-motion 11.0.0 → 12.34.5
#7 vitest 3.2.4 → 4.1.0
#15 postcss 8.5.10 → 8.5.12

Plus:

  • @vitest/coverage-v8 3.2.4 → 4.1.0 (peer dep of vitest@4)
  • .npmrc with legacy-peer-deps=true so npm ci accepts the date-fns@^4 / react-day-picker@8.10 peer mismatch (peer declared as ^2 || ^3 but the API surface used by react-day-picker@8.10 is backward-compatible with v4 in practice; alternative would be a react-day-picker v9 major bump with breaking API changes)

Validation

  • npm ci --ignore-scripts ✅ exit 0
  • npx tsc --noEmit ✅ exit 0

Context (why this PR exists instead of merging dependabot PRs directly)

The dependabot PRs (#2, #4, #5, #7, #15) all targeted main but had unrelated git histories with main, because main had diverged from the active development line on 2026-04-23. That divergence has now been resolved — main was force-pushed to the latest lovable-sync-* HEAD (f3e6de1c). With main realigned, applying the dep bumps is a straightforward 3-file change (this PR).

After merge, dependabot PRs #2, #4, #5, #7, #15 can be closed — comments added on each pointing here.

https://claude.ai/code/session_01KWeDG


Generated by Claude Code

Applies all 5 dependabot bumps in a single commit against current main:
- react-helmet-async: 2.0.5 -> 3.0.0 (#2)
- date-fns:           2.30.0 -> 4.1.0 (#4)
- framer-motion:      11.0.0 -> 12.34.5 (#5)
- vitest:             3.2.4 -> 4.1.0 (#7)
- postcss:            8.5.10 -> 8.5.12 (#15)

Also bumps @vitest/coverage-v8 to ^4.1.0 to satisfy vitest@4 peer dep.

Adds .npmrc with legacy-peer-deps=true so 'npm ci' accepts the
date-fns@^4 / react-day-picker@8.10 peer mismatch (react-day-picker@8.10
declares date-fns@'^2 || ^3' as peer; date-fns@4's API surface used by
react-day-picker@8.10 is backward-compatible enough that this works in
practice without bumping react-day-picker to v9 which has breaking
changes).
Copilot AI review requested due to automatic review settings April 27, 2026 14:18
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 27, 2026

Warning

Rate limit exceeded

@adm01-debug has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 12 minutes and 14 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ee045ee1-bf67-4bcb-8519-da4e52975fbe

📥 Commits

Reviewing files that changed from the base of the PR and between f3e6de1 and 93b58de.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (2)
  • .npmrc
  • package.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/deps-bump-vs-new-main

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

Copilot AI left a comment

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 consolidates multiple Dependabot dependency bumps into a single update against the realigned main, updating the app’s frontend/runtime/test tooling dependencies and regenerating the npm lockfile accordingly.

Changes:

  • Bump key dependencies: react-helmet-async, date-fns, framer-motion, vitest (+ @vitest/coverage-v8), and postcss.
  • Regenerate package-lock.json to reflect the new resolved dependency graph.
  • Add .npmrc setting legacy-peer-deps=true to allow installs despite a peer-range mismatch.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
package.json Updates dependency version ranges for the consolidated bumps.
package-lock.json Updates the resolved dependency tree for the new versions (including vitest/vite/tooling changes).
.npmrc Adds legacy-peer-deps=true to bypass peer dependency conflicts during install.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
"tailwind-merge": "^2.2.0",
"vaul": "^0.9.0",
"vitest": "^3.2.4",
"vitest": "^4.1.0",
Copy link

Copilot AI Apr 27, 2026

Choose a reason for hiding this comment

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

Upgrading to vitest@^4.1.0 brings in vitest 4.x which requires Node >=20 (and pulls in a nested vite@8.x per the lockfile, which requires Node >=20.19). If this repo is expected to work on earlier Node versions, consider either (a) pinning the repo’s supported Node version explicitly (e.g., package.json "engines" / .nvmrc and CI using a >=20.19.x runtime) or (b) staying on vitest 3.x until Vite/Node can be upgraded together.

Suggested change
"vitest": "^4.1.0",
"vitest": "^3.2.4",

Copilot uses AI. Check for mistakes.
Comment thread .npmrc
@@ -0,0 +1 @@
legacy-peer-deps=true
Copy link

Copilot AI Apr 27, 2026

Choose a reason for hiding this comment

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

Setting legacy-peer-deps=true at the repo level disables peer dependency enforcement for all npm installs, which can mask unrelated peer incompatibilities and make dependency issues harder to detect. If this is only needed to bypass the react-day-picker/date-fns peer-range conflict, consider scoping it more narrowly (e.g., using npm ci --legacy-peer-deps in CI only, or resolving the mismatch by upgrading/reacting to the peer requirement) so future peer problems still surface during install.

Suggested change
legacy-peer-deps=true

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 93b58dea52

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package.json
"tailwind-merge": "^2.2.0",
"vaul": "^0.9.0",
"vitest": "^3.2.4",
"vitest": "^4.1.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Align Vite major with Vitest 4 requirement

package.json upgrades vitest to ^4.1.0 but keeps top-level vite at ^5.4.19; the updated lockfile shows vitest@4.1.5 requiring vite: ^6 || ^7 || ^8 as a non-optional peer (package-lock.json lines 14174 and 14198). This leaves the dependency graph peer-incompatible and only installable because peer checks are relaxed, so environments that enforce peers (or resolve differently) can fail or run tests against a divergent toolchain.

Useful? React with 👍 / 👎.

Comment thread .npmrc
@@ -0,0 +1 @@
legacy-peer-deps=true
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Avoid disabling peer dependency checks globally

Adding .npmrc with legacy-peer-deps=true suppresses peer-dependency validation for all installs, which masks real incompatibilities introduced here (for example, react-day-picker@8.10.1 peers on date-fns ^2 || ^3 while package.json now pins date-fns ^4.1.0, visible in package-lock.json line 11992). Keeping this override repo-wide shifts dependency breakage from install-time into harder-to-debug runtime/test behavior.

Useful? React with 👍 / 👎.

@adm01-debug adm01-debug deleted the claude/deps-bump-vs-new-main branch May 9, 2026 21:03
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.

3 participants