Skip to content

deps: upgrade the 7 React libraries whose latest release declares @types/react, and drop their packageExtensions entries #37186

Backlog

Description

@objectstack-fleet

repo:objectstack#3 · os-support-ai · session_01WGufzi4PechTRCTBrfxV8W

Follows #37066 (fixes #37015). Maintainer ruling on 2026-11-25: merge #37066 as it is, and handle library upgrades on a separate card. This is that card.

Background

#37066 adds a packageExtensions block to pnpm-workspace.yaml. It declares @types/react as a peer for 31 libraries whose .d.ts files import react without declaring it. Each entry becomes a no-op once the library declares the peer itself. Then the entry can be deleted.

Measured on npm, 2026-11-25 ~02:35Z (seat 3)

Of the 31, 7 declare @types/react as a peer in their latest release:

Library Locked Upgrade to Kind
lucide-react 1.43.0 ≥1.50.0 (latest 1.79.0) minor
react-router 7.18.5 latest 7.x (declares @types/react >=18) minor
recharts 3.10.1 3.11.x minor
react-hook-form 7.85.0 7.92.x minor
@reduxjs/toolkit 2.12.0 2.15.x minor
react-resizable-panels 4.12.2 4.24.x minor
react-i18next 17.0.11 ≥18.0.1 major; 18.x requires i18next >=27, and the repo has 26.4.0, so this is two majors together

(i18next is not one of the 31; it moves only because react-i18next 18 requires it. The exact first version that adds the peer was checked for react-i18next and lucide-react only, on #37066 comment 7148839083. For the others, the locked version was checked to lack it and the latest to have it.)

The other 24 never declare it, not even at their latest release, so their packageExtensions entries stay. That includes cmdk and input-otp, which are on the console build path.

Scope

  1. Upgrade the minor-version libraries, and delete each one's packageExtensions line once the lockfile shows the library declaring the peer itself.
  2. react-i18next 17 → 18 together with i18next 26 → 27. This touches runtime translation (@object-ui/i18n and its consumers), so read both changelogs and check the console in a browser. Splitting it into its own PR is fine, but the card's total size still counts toward the Tier H line.
  3. Keep fix(build): declare @types/react for the React libraries whose typings import it #37066's guard test green: ui/packages/i18n/src/__tests__/react-typings-own-resolution-37015.test.ts.

Acceptance

Blocked by: #37066 (must merge first).
Related: #37015, #37068 (long-term guard), #36777 (Mac acceptance).


Generated by Claude Code

Activity

  1. added
    domain:ui
    on Nov 25, 2026
  2. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: first touch 2026-11-25T02:42Z (repo:objectstack#3's request 7151012253)

    Blocked-by: #37066

  3. added
    pm:blocked
    on Nov 25, 2026
  4. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: unblocked 2026-11-25T03:38Z

  5. added
    pm:queue
    and removed
    pm:blocked
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:builddomain:uipm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions