chore(renovate): group i18next and react-i18next #333

Merged
ullrich merged 1 commit from renovate-group-i18next into main 2026-11-15 22:01:34 +00:00
Owner

What

Adds an i18next group to renovate.json5 so i18next and react-i18next arrive in one PR, majors included. The rule sits after the majors → groupName: null rule, like the react-router and vitest groups.

Why

react-i18next@18 declares peerDependencies: { i18next: ">= 27.0.1" }. Renovate opened the two majors separately:

  • #332 (react-i18next v18) was green while unsupported — it ran against i18next ^26.3.6, an unmet peer that CI does not check.
  • #331 (i18next v27) fails CI / Checks for a real reason: i18next 27 tightened TFunction, so it no longer assigns to the hand-written (key, opts?) => string parameter of summary() in apps/journal/app/routes/notifications.tsx (TS2345).

Expected effect

On its next run Renovate closes #331 and #332 and opens one combined PR. That PR will still fail Checks until the summary() parameter type is fixed — this change makes the PR honest, it does not make the major pass.

Testing

Config-only change. renovate.json5 parses as JSON5; the local typecheck/lint/test/e2e suite was not run because no code is touched.

🤖 Generated with Claude Code

## What Adds an `i18next` group to `renovate.json5` so `i18next` and `react-i18next` arrive in one PR, majors included. The rule sits after the majors → `groupName: null` rule, like the `react-router` and `vitest` groups. ## Why `react-i18next@18` declares `peerDependencies: { i18next: ">= 27.0.1" }`. Renovate opened the two majors separately: - #332 (react-i18next v18) was **green while unsupported** — it ran against i18next `^26.3.6`, an unmet peer that CI does not check. - #331 (i18next v27) fails `CI / Checks` for a real reason: i18next 27 tightened `TFunction`, so it no longer assigns to the hand-written `(key, opts?) => string` parameter of `summary()` in `apps/journal/app/routes/notifications.tsx` (TS2345). ## Expected effect On its next run Renovate closes #331 and #332 and opens one combined PR. That PR will still fail `Checks` until the `summary()` parameter type is fixed — this change makes the PR honest, it does not make the major pass. ## Testing Config-only change. `renovate.json5` parses as JSON5; the local typecheck/lint/test/e2e suite was not run because no code is touched. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chore(renovate): group i18next and react-i18next
Some checks failed
CI / Dockerfile Package Check (pull_request) Successful in 7s
CI / Security Scan (pull_request) Successful in 9s
CI / Visual Tests (pull_request) Successful in 34s
CI / Journal Image Smoke Test (pull_request) Successful in 48s
CI / Checks (pull_request) Successful in 1m15s
CI / E2E Tests (pull_request) Has been cancelled
Cancel superseded CI / Cancel in-flight CI (pull_request) Successful in 2s
741015171d
react-i18next@18 peers on i18next >= 27.0.1, so the two majors must move
together. Ungrouped, #332 went green against an unsupported i18next 26 and
#331 arrived separately.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ullrich scheduled this pull request to auto merge when all checks succeed 2026-11-15 22:00:25 +00:00
ullrich deleted branch renovate-group-i18next 2026-11-15 22:01:34 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
trails-cool/trails!333
No description provided.