From 092b7542d27d5e0b41964db0ff64399d0882b613 Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Tue, 11 Aug 2026 13:28:02 +0200 Subject: [PATCH 1/2] fix: align react peerDependencies across react-components packages All v9 packages depend on `@fluentui/react-jsx-runtime`, which imports `react/jsx-runtime` directly. That entry point was only backported to the 16.x line in react@16.14.0 (react@16.13.1 ships no jsx-runtime files), so `react >=16.14.0` is a hard floor. 12 packages advertised a `>=16.8.0` lower bound on some subset of react/react-dom/@types/react/@types/react-dom, which is unsatisfiable in practice. The skew originated in #31937, which reverted a bad release that wrote `"react": "^8.119.0"` into peerDependencies but only restored the `react` key, leaving the other three behind. #35145 then swept `<19.0.0` -> `<20.0.0` while preserving the existing lower bounds, freezing the skew in place. All publishable `packages/react-components/**` packages now use: "@types/react": ">=16.14.0 <20.0.0" "@types/react-dom": ">=16.9.0 <20.0.0" "react": ">=16.14.0 <20.0.0" "react-dom": ">=16.14.0 <20.0.0" `@types/react-dom` stays at `>=16.9.0` because no 16.14.x was ever published for it (16.x ends at 16.9.25) - see #30259. Also updates the `react-library` generator template, which still emitted `<19.0.0` because #35145 did not touch `tools/`, so every newly scaffolded package started life with a stale upper bound. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- ...endar-compat-25031152-3f2f-498b-87b1-6be678cf09b7.json | 7 +++++++ ...icker-compat-4210bc32-eb8c-4fee-a455-9e9d11c6e3ac.json | 7 +++++++ ...icons-compat-99ab4ccd-a0a4-491e-9a10-2ca1d53293bd.json | 7 +++++++ ...ct-infolabel-f02577ac-913f-4ed1-aac8-5f307f228cd1.json | 7 +++++++ ...i-react-list-6eb5d551-5f64-4f24-bb6d-b10489732089.json | 7 +++++++ ...-message-bar-54930096-3ea9-4baa-8b33-679925651403.json | 7 +++++++ ...ration-v8-v9-cf2ba3fb-7d37-4d0a-8105-9940c72ccc19.json | 7 +++++++ ...react-motion-7f7c3881-f1a9-4fe3-bbda-a9ecb0df4076.json | 7 +++++++ ...react-rating-6b5a0004-4b31-41da-bc93-16cf12c97dd5.json | 7 +++++++ ...watch-picker-ff10de4e-2836-4f56-8cf2-a5e8bef29b4d.json | 7 +++++++ ...hing-popover-95c14e7f-f226-48a2-94e6-27c2e7cb89a8.json | 7 +++++++ ...icker-compat-f96b242c-6379-4d5b-908e-e30185ee30a2.json | 7 +++++++ .../react-calendar-compat/library/package.json | 8 ++++---- .../react-datepicker-compat/library/package.json | 2 +- .../react-icons-compat/library/package.json | 8 ++++---- .../react-components/react-infolabel/library/package.json | 6 +++--- packages/react-components/react-list/library/package.json | 6 +++--- .../react-message-bar/library/package.json | 6 +++--- .../react-migration-v8-v9/library/package.json | 2 +- .../react-components/react-motion/library/package.json | 6 +++--- .../react-components/react-rating/library/package.json | 6 +++--- .../react-swatch-picker/library/package.json | 6 +++--- .../react-teaching-popover/library/package.json | 6 +++--- .../react-timepicker-compat/library/package.json | 8 ++++---- .../generators/react-library/files/package.json__tmpl__ | 8 ++++---- 25 files changed, 123 insertions(+), 39 deletions(-) create mode 100644 change/@fluentui-react-calendar-compat-25031152-3f2f-498b-87b1-6be678cf09b7.json create mode 100644 change/@fluentui-react-datepicker-compat-4210bc32-eb8c-4fee-a455-9e9d11c6e3ac.json create mode 100644 change/@fluentui-react-icons-compat-99ab4ccd-a0a4-491e-9a10-2ca1d53293bd.json create mode 100644 change/@fluentui-react-infolabel-f02577ac-913f-4ed1-aac8-5f307f228cd1.json create mode 100644 change/@fluentui-react-list-6eb5d551-5f64-4f24-bb6d-b10489732089.json create mode 100644 change/@fluentui-react-message-bar-54930096-3ea9-4baa-8b33-679925651403.json create mode 100644 change/@fluentui-react-migration-v8-v9-cf2ba3fb-7d37-4d0a-8105-9940c72ccc19.json create mode 100644 change/@fluentui-react-motion-7f7c3881-f1a9-4fe3-bbda-a9ecb0df4076.json create mode 100644 change/@fluentui-react-rating-6b5a0004-4b31-41da-bc93-16cf12c97dd5.json create mode 100644 change/@fluentui-react-swatch-picker-ff10de4e-2836-4f56-8cf2-a5e8bef29b4d.json create mode 100644 change/@fluentui-react-teaching-popover-95c14e7f-f226-48a2-94e6-27c2e7cb89a8.json create mode 100644 change/@fluentui-react-timepicker-compat-f96b242c-6379-4d5b-908e-e30185ee30a2.json diff --git a/change/@fluentui-react-calendar-compat-25031152-3f2f-498b-87b1-6be678cf09b7.json b/change/@fluentui-react-calendar-compat-25031152-3f2f-498b-87b1-6be678cf09b7.json new file mode 100644 index 00000000000000..16fd1c40efe37d --- /dev/null +++ b/change/@fluentui-react-calendar-compat-25031152-3f2f-498b-87b1-6be678cf09b7.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix: align react/react-dom/@types peerDependencies with the react/jsx-runtime 16.14.0 floor", + "packageName": "@fluentui/react-calendar-compat", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-datepicker-compat-4210bc32-eb8c-4fee-a455-9e9d11c6e3ac.json b/change/@fluentui-react-datepicker-compat-4210bc32-eb8c-4fee-a455-9e9d11c6e3ac.json new file mode 100644 index 00000000000000..e9b162876ef5c0 --- /dev/null +++ b/change/@fluentui-react-datepicker-compat-4210bc32-eb8c-4fee-a455-9e9d11c6e3ac.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix: align react/react-dom/@types peerDependencies with the react/jsx-runtime 16.14.0 floor", + "packageName": "@fluentui/react-datepicker-compat", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-icons-compat-99ab4ccd-a0a4-491e-9a10-2ca1d53293bd.json b/change/@fluentui-react-icons-compat-99ab4ccd-a0a4-491e-9a10-2ca1d53293bd.json new file mode 100644 index 00000000000000..20fd2e1a63ad5b --- /dev/null +++ b/change/@fluentui-react-icons-compat-99ab4ccd-a0a4-491e-9a10-2ca1d53293bd.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix: align react/react-dom/@types peerDependencies with the react/jsx-runtime 16.14.0 floor", + "packageName": "@fluentui/react-icons-compat", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-infolabel-f02577ac-913f-4ed1-aac8-5f307f228cd1.json b/change/@fluentui-react-infolabel-f02577ac-913f-4ed1-aac8-5f307f228cd1.json new file mode 100644 index 00000000000000..01cf6f8406484e --- /dev/null +++ b/change/@fluentui-react-infolabel-f02577ac-913f-4ed1-aac8-5f307f228cd1.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix: align react/react-dom/@types peerDependencies with the react/jsx-runtime 16.14.0 floor", + "packageName": "@fluentui/react-infolabel", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-list-6eb5d551-5f64-4f24-bb6d-b10489732089.json b/change/@fluentui-react-list-6eb5d551-5f64-4f24-bb6d-b10489732089.json new file mode 100644 index 00000000000000..037be4c6e374b8 --- /dev/null +++ b/change/@fluentui-react-list-6eb5d551-5f64-4f24-bb6d-b10489732089.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix: align react/react-dom/@types peerDependencies with the react/jsx-runtime 16.14.0 floor", + "packageName": "@fluentui/react-list", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-message-bar-54930096-3ea9-4baa-8b33-679925651403.json b/change/@fluentui-react-message-bar-54930096-3ea9-4baa-8b33-679925651403.json new file mode 100644 index 00000000000000..4831f0d1e3ec71 --- /dev/null +++ b/change/@fluentui-react-message-bar-54930096-3ea9-4baa-8b33-679925651403.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix: align react/react-dom/@types peerDependencies with the react/jsx-runtime 16.14.0 floor", + "packageName": "@fluentui/react-message-bar", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-migration-v8-v9-cf2ba3fb-7d37-4d0a-8105-9940c72ccc19.json b/change/@fluentui-react-migration-v8-v9-cf2ba3fb-7d37-4d0a-8105-9940c72ccc19.json new file mode 100644 index 00000000000000..39c3d1d6a22380 --- /dev/null +++ b/change/@fluentui-react-migration-v8-v9-cf2ba3fb-7d37-4d0a-8105-9940c72ccc19.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix: align react/react-dom/@types peerDependencies with the react/jsx-runtime 16.14.0 floor", + "packageName": "@fluentui/react-migration-v8-v9", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-motion-7f7c3881-f1a9-4fe3-bbda-a9ecb0df4076.json b/change/@fluentui-react-motion-7f7c3881-f1a9-4fe3-bbda-a9ecb0df4076.json new file mode 100644 index 00000000000000..43ba1fd5da94e6 --- /dev/null +++ b/change/@fluentui-react-motion-7f7c3881-f1a9-4fe3-bbda-a9ecb0df4076.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix: align react/react-dom/@types peerDependencies with the react/jsx-runtime 16.14.0 floor", + "packageName": "@fluentui/react-motion", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-rating-6b5a0004-4b31-41da-bc93-16cf12c97dd5.json b/change/@fluentui-react-rating-6b5a0004-4b31-41da-bc93-16cf12c97dd5.json new file mode 100644 index 00000000000000..ee9c1b6c51b483 --- /dev/null +++ b/change/@fluentui-react-rating-6b5a0004-4b31-41da-bc93-16cf12c97dd5.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix: align react/react-dom/@types peerDependencies with the react/jsx-runtime 16.14.0 floor", + "packageName": "@fluentui/react-rating", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-swatch-picker-ff10de4e-2836-4f56-8cf2-a5e8bef29b4d.json b/change/@fluentui-react-swatch-picker-ff10de4e-2836-4f56-8cf2-a5e8bef29b4d.json new file mode 100644 index 00000000000000..f7c9296b9037d3 --- /dev/null +++ b/change/@fluentui-react-swatch-picker-ff10de4e-2836-4f56-8cf2-a5e8bef29b4d.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix: align react/react-dom/@types peerDependencies with the react/jsx-runtime 16.14.0 floor", + "packageName": "@fluentui/react-swatch-picker", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-teaching-popover-95c14e7f-f226-48a2-94e6-27c2e7cb89a8.json b/change/@fluentui-react-teaching-popover-95c14e7f-f226-48a2-94e6-27c2e7cb89a8.json new file mode 100644 index 00000000000000..df3ecf95c7370d --- /dev/null +++ b/change/@fluentui-react-teaching-popover-95c14e7f-f226-48a2-94e6-27c2e7cb89a8.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix: align react/react-dom/@types peerDependencies with the react/jsx-runtime 16.14.0 floor", + "packageName": "@fluentui/react-teaching-popover", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-timepicker-compat-f96b242c-6379-4d5b-908e-e30185ee30a2.json b/change/@fluentui-react-timepicker-compat-f96b242c-6379-4d5b-908e-e30185ee30a2.json new file mode 100644 index 00000000000000..3af65ab5bfe9f8 --- /dev/null +++ b/change/@fluentui-react-timepicker-compat-f96b242c-6379-4d5b-908e-e30185ee30a2.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix: align react/react-dom/@types peerDependencies with the react/jsx-runtime 16.14.0 floor", + "packageName": "@fluentui/react-timepicker-compat", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/packages/react-components/react-calendar-compat/library/package.json b/packages/react-components/react-calendar-compat/library/package.json index 3c7f976644ae11..1ae46654bc49cc 100644 --- a/packages/react-components/react-calendar-compat/library/package.json +++ b/packages/react-components/react-calendar-compat/library/package.json @@ -25,10 +25,10 @@ "@swc/helpers": "^0.5.1" }, "peerDependencies": { - "@types/react": ">=16.8.0 <20.0.0", - "@types/react-dom": ">=16.8.0 <20.0.0", - "react": ">=16.8.0 <20.0.0", - "react-dom": ">=16.8.0 <20.0.0" + "@types/react": ">=16.14.0 <20.0.0", + "@types/react-dom": ">=16.9.0 <20.0.0", + "react": ">=16.14.0 <20.0.0", + "react-dom": ">=16.14.0 <20.0.0" }, "exports": { ".": { diff --git a/packages/react-components/react-datepicker-compat/library/package.json b/packages/react-components/react-datepicker-compat/library/package.json index b9e6e7b44eb768..fee7f59cff88eb 100644 --- a/packages/react-components/react-datepicker-compat/library/package.json +++ b/packages/react-components/react-datepicker-compat/library/package.json @@ -31,7 +31,7 @@ "peerDependencies": { "@types/react": ">=16.14.0 <20.0.0", "@types/react-dom": ">=16.9.0 <20.0.0", - "react": ">=16.8.0 <20.0.0", + "react": ">=16.14.0 <20.0.0", "react-dom": ">=16.14.0 <20.0.0" }, "beachball": { diff --git a/packages/react-components/react-icons-compat/library/package.json b/packages/react-components/react-icons-compat/library/package.json index 8f938ddf25cc8f..113a4b5ab23626 100644 --- a/packages/react-components/react-icons-compat/library/package.json +++ b/packages/react-components/react-icons-compat/library/package.json @@ -26,10 +26,10 @@ "@swc/helpers": "^0.5.1" }, "peerDependencies": { - "@types/react": ">=16.8.0 <20.0.0", - "@types/react-dom": ">=16.8.0 <20.0.0", - "react": ">=16.8.0 <20.0.0", - "react-dom": ">=16.8.0 <20.0.0" + "@types/react": ">=16.14.0 <20.0.0", + "@types/react-dom": ">=16.9.0 <20.0.0", + "react": ">=16.14.0 <20.0.0", + "react-dom": ">=16.14.0 <20.0.0" }, "exports": { ".": { diff --git a/packages/react-components/react-infolabel/library/package.json b/packages/react-components/react-infolabel/library/package.json index 919b4649c8b437..b743e3347bf420 100644 --- a/packages/react-components/react-infolabel/library/package.json +++ b/packages/react-components/react-infolabel/library/package.json @@ -24,10 +24,10 @@ "@swc/helpers": "^0.5.1" }, "peerDependencies": { - "@types/react": ">=16.8.0 <20.0.0", - "@types/react-dom": ">=16.8.0 <20.0.0", + "@types/react": ">=16.14.0 <20.0.0", + "@types/react-dom": ">=16.9.0 <20.0.0", "react": ">=16.14.0 <20.0.0", - "react-dom": ">=16.8.0 <20.0.0" + "react-dom": ">=16.14.0 <20.0.0" }, "exports": { ".": { diff --git a/packages/react-components/react-list/library/package.json b/packages/react-components/react-list/library/package.json index bec83450cd9d45..12187c6b130d76 100644 --- a/packages/react-components/react-list/library/package.json +++ b/packages/react-components/react-list/library/package.json @@ -30,10 +30,10 @@ "@swc/helpers": "^0.5.1" }, "peerDependencies": { - "@types/react": ">=16.8.0 <20.0.0", - "@types/react-dom": ">=16.8.0 <20.0.0", + "@types/react": ">=16.14.0 <20.0.0", + "@types/react-dom": ">=16.9.0 <20.0.0", "react": ">=16.14.0 <20.0.0", - "react-dom": ">=16.8.0 <20.0.0" + "react-dom": ">=16.14.0 <20.0.0" }, "exports": { ".": { diff --git a/packages/react-components/react-message-bar/library/package.json b/packages/react-components/react-message-bar/library/package.json index 570b6a05b0ee21..c5f645e8cc5cd2 100644 --- a/packages/react-components/react-message-bar/library/package.json +++ b/packages/react-components/react-message-bar/library/package.json @@ -25,10 +25,10 @@ "@swc/helpers": "^0.5.1" }, "peerDependencies": { - "@types/react": ">=16.8.0 <20.0.0", - "@types/react-dom": ">=16.8.0 <20.0.0", + "@types/react": ">=16.14.0 <20.0.0", + "@types/react-dom": ">=16.9.0 <20.0.0", "react": ">=16.14.0 <20.0.0", - "react-dom": ">=16.8.0 <20.0.0" + "react-dom": ">=16.14.0 <20.0.0" }, "exports": { ".": { diff --git a/packages/react-components/react-migration-v8-v9/library/package.json b/packages/react-components/react-migration-v8-v9/library/package.json index dd54ac2bca286a..263adcd87bc96f 100644 --- a/packages/react-components/react-migration-v8-v9/library/package.json +++ b/packages/react-components/react-migration-v8-v9/library/package.json @@ -24,7 +24,7 @@ "peerDependencies": { "@types/react": ">=16.14.0 <20.0.0", "@types/react-dom": ">=16.9.0 <20.0.0", - "react": ">=16.8.0 <20.0.0", + "react": ">=16.14.0 <20.0.0", "react-dom": ">=16.14.0 <20.0.0" }, "beachball": { diff --git a/packages/react-components/react-motion/library/package.json b/packages/react-components/react-motion/library/package.json index 5eaafab59d2362..56c7bd0b2ebf0b 100644 --- a/packages/react-components/react-motion/library/package.json +++ b/packages/react-components/react-motion/library/package.json @@ -23,10 +23,10 @@ "@swc/helpers": "^0.5.1" }, "peerDependencies": { - "@types/react": ">=16.8.0 <20.0.0", - "@types/react-dom": ">=16.8.0 <20.0.0", + "@types/react": ">=16.14.0 <20.0.0", + "@types/react-dom": ">=16.9.0 <20.0.0", "react": ">=16.14.0 <20.0.0", - "react-dom": ">=16.8.0 <20.0.0" + "react-dom": ">=16.14.0 <20.0.0" }, "exports": { ".": { diff --git a/packages/react-components/react-rating/library/package.json b/packages/react-components/react-rating/library/package.json index f3c507154d78da..f77e6002faa16b 100644 --- a/packages/react-components/react-rating/library/package.json +++ b/packages/react-components/react-rating/library/package.json @@ -22,10 +22,10 @@ "@swc/helpers": "^0.5.1" }, "peerDependencies": { - "@types/react": ">=16.8.0 <20.0.0", - "@types/react-dom": ">=16.8.0 <20.0.0", + "@types/react": ">=16.14.0 <20.0.0", + "@types/react-dom": ">=16.9.0 <20.0.0", "react": ">=16.14.0 <20.0.0", - "react-dom": ">=16.8.0 <20.0.0" + "react-dom": ">=16.14.0 <20.0.0" }, "exports": { ".": { diff --git a/packages/react-components/react-swatch-picker/library/package.json b/packages/react-components/react-swatch-picker/library/package.json index 56ff4a06819a43..f400c2ab27798b 100644 --- a/packages/react-components/react-swatch-picker/library/package.json +++ b/packages/react-components/react-swatch-picker/library/package.json @@ -24,10 +24,10 @@ "@swc/helpers": "^0.5.1" }, "peerDependencies": { - "@types/react": ">=16.8.0 <20.0.0", - "@types/react-dom": ">=16.8.0 <20.0.0", + "@types/react": ">=16.14.0 <20.0.0", + "@types/react-dom": ">=16.9.0 <20.0.0", "react": ">=16.14.0 <20.0.0", - "react-dom": ">=16.8.0 <20.0.0" + "react-dom": ">=16.14.0 <20.0.0" }, "exports": { ".": { diff --git a/packages/react-components/react-teaching-popover/library/package.json b/packages/react-components/react-teaching-popover/library/package.json index 9bdee394d1ab33..62cc56ba7b76d3 100644 --- a/packages/react-components/react-teaching-popover/library/package.json +++ b/packages/react-components/react-teaching-popover/library/package.json @@ -33,10 +33,10 @@ "use-sync-external-store": "^1.2.0" }, "peerDependencies": { - "@types/react": ">=16.8.0 <20.0.0", - "@types/react-dom": ">=16.8.0 <20.0.0", + "@types/react": ">=16.14.0 <20.0.0", + "@types/react-dom": ">=16.9.0 <20.0.0", "react": ">=16.14.0 <20.0.0", - "react-dom": ">=16.8.0 <20.0.0" + "react-dom": ">=16.14.0 <20.0.0" }, "exports": { ".": { diff --git a/packages/react-components/react-timepicker-compat/library/package.json b/packages/react-components/react-timepicker-compat/library/package.json index a492a0b7c0e355..f8d499c61bebfa 100644 --- a/packages/react-components/react-timepicker-compat/library/package.json +++ b/packages/react-components/react-timepicker-compat/library/package.json @@ -29,10 +29,10 @@ "@swc/helpers": "^0.5.1" }, "peerDependencies": { - "@types/react": ">=16.8.0 <20.0.0", - "@types/react-dom": ">=16.8.0 <20.0.0", - "react": ">=16.8.0 <20.0.0", - "react-dom": ">=16.8.0 <20.0.0" + "@types/react": ">=16.14.0 <20.0.0", + "@types/react-dom": ">=16.9.0 <20.0.0", + "react": ">=16.14.0 <20.0.0", + "react-dom": ">=16.14.0 <20.0.0" }, "exports": { ".": { diff --git a/tools/workspace-plugin/src/generators/react-library/files/package.json__tmpl__ b/tools/workspace-plugin/src/generators/react-library/files/package.json__tmpl__ index d0ea3466ca829f..44c8c9e75db5ad 100644 --- a/tools/workspace-plugin/src/generators/react-library/files/package.json__tmpl__ +++ b/tools/workspace-plugin/src/generators/react-library/files/package.json__tmpl__ @@ -27,10 +27,10 @@ "@swc/helpers": "" }, "peerDependencies": { - "@types/react": ">=16.14.0 <19.0.0", - "@types/react-dom": ">=16.9.0 <19.0.0", - "react": ">=16.14.0 <19.0.0", - "react-dom": ">=16.14.0 <19.0.0" + "@types/react": ">=16.14.0 <20.0.0", + "@types/react-dom": ">=16.9.0 <20.0.0", + "react": ">=16.14.0 <20.0.0", + "react-dom": ">=16.14.0 <20.0.0" }, "exports": { ".": { From c68179e4a005cc26a21e1af9d764ff82db114010 Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Tue, 11 Aug 2026 14:00:53 +0200 Subject: [PATCH 2/2] fix: update yarn.lock for realigned react peerDependencies Yarn records workspace peerDependencies in the lockfile, so changing them in package.json makes yarn.lock stale and `yarn install --immutable` fails with YN0028 in CI. Regenerated via `yarn install --mode=update-lockfile`. The diff is 35 lines, all of them react/react-dom/@types peer ranges on the 12 realigned workspace entries - no resolution, version or checksum changes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- yarn.lock | 70 +++++++++++++++++++++++++++---------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/yarn.lock b/yarn.lock index 3dd37ebeb344f8..d7ab1638f91d7e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3559,10 +3559,10 @@ __metadata: "@griffel/react": "npm:^1.5.32" "@swc/helpers": "npm:^0.5.1" peerDependencies: - "@types/react": ">=16.8.0 <20.0.0" - "@types/react-dom": ">=16.8.0 <20.0.0" - react: ">=16.8.0 <20.0.0" - react-dom: ">=16.8.0 <20.0.0" + "@types/react": ">=16.14.0 <20.0.0" + "@types/react-dom": ">=16.9.0 <20.0.0" + react: ">=16.14.0 <20.0.0" + react-dom: ">=16.14.0 <20.0.0" languageName: unknown linkType: soft @@ -4064,7 +4064,7 @@ __metadata: peerDependencies: "@types/react": ">=16.14.0 <20.0.0" "@types/react-dom": ">=16.9.0 <20.0.0" - react: ">=16.8.0 <20.0.0" + react: ">=16.14.0 <20.0.0" react-dom: ">=16.14.0 <20.0.0" languageName: unknown linkType: soft @@ -4425,10 +4425,10 @@ __metadata: "@griffel/react": "npm:^1.5.32" "@swc/helpers": "npm:^0.5.1" peerDependencies: - "@types/react": ">=16.8.0 <20.0.0" - "@types/react-dom": ">=16.8.0 <20.0.0" - react: ">=16.8.0 <20.0.0" - react-dom: ">=16.8.0 <20.0.0" + "@types/react": ">=16.14.0 <20.0.0" + "@types/react-dom": ">=16.9.0 <20.0.0" + react: ">=16.14.0 <20.0.0" + react-dom: ">=16.14.0 <20.0.0" languageName: unknown linkType: soft @@ -4555,10 +4555,10 @@ __metadata: "@griffel/react": "npm:^1.5.32" "@swc/helpers": "npm:^0.5.1" peerDependencies: - "@types/react": ">=16.8.0 <20.0.0" - "@types/react-dom": ">=16.8.0 <20.0.0" + "@types/react": ">=16.14.0 <20.0.0" + "@types/react-dom": ">=16.9.0 <20.0.0" react: ">=16.14.0 <20.0.0" - react-dom: ">=16.8.0 <20.0.0" + react-dom: ">=16.14.0 <20.0.0" languageName: unknown linkType: soft @@ -4682,10 +4682,10 @@ __metadata: "@griffel/react": "npm:^1.5.32" "@swc/helpers": "npm:^0.5.1" peerDependencies: - "@types/react": ">=16.8.0 <20.0.0" - "@types/react-dom": ">=16.8.0 <20.0.0" + "@types/react": ">=16.14.0 <20.0.0" + "@types/react-dom": ">=16.9.0 <20.0.0" react: ">=16.14.0 <20.0.0" - react-dom: ">=16.8.0 <20.0.0" + react-dom: ">=16.14.0 <20.0.0" languageName: unknown linkType: soft @@ -4773,10 +4773,10 @@ __metadata: "@griffel/react": "npm:^1.5.32" "@swc/helpers": "npm:^0.5.1" peerDependencies: - "@types/react": ">=16.8.0 <20.0.0" - "@types/react-dom": ">=16.8.0 <20.0.0" + "@types/react": ">=16.14.0 <20.0.0" + "@types/react-dom": ">=16.9.0 <20.0.0" react: ">=16.14.0 <20.0.0" - react-dom: ">=16.8.0 <20.0.0" + react-dom: ">=16.14.0 <20.0.0" languageName: unknown linkType: soft @@ -4831,7 +4831,7 @@ __metadata: peerDependencies: "@types/react": ">=16.14.0 <20.0.0" "@types/react-dom": ">=16.9.0 <20.0.0" - react: ">=16.8.0 <20.0.0" + react: ">=16.14.0 <20.0.0" react-dom: ">=16.14.0 <20.0.0" languageName: unknown linkType: soft @@ -4900,10 +4900,10 @@ __metadata: "@fluentui/react-utilities": "npm:^9.26.5" "@swc/helpers": "npm:^0.5.1" peerDependencies: - "@types/react": ">=16.8.0 <20.0.0" - "@types/react-dom": ">=16.8.0 <20.0.0" + "@types/react": ">=16.14.0 <20.0.0" + "@types/react-dom": ">=16.9.0 <20.0.0" react: ">=16.14.0 <20.0.0" - react-dom: ">=16.8.0 <20.0.0" + react-dom: ">=16.14.0 <20.0.0" languageName: unknown linkType: soft @@ -5278,10 +5278,10 @@ __metadata: "@griffel/react": "npm:^1.5.32" "@swc/helpers": "npm:^0.5.1" peerDependencies: - "@types/react": ">=16.8.0 <20.0.0" - "@types/react-dom": ">=16.8.0 <20.0.0" + "@types/react": ">=16.14.0 <20.0.0" + "@types/react-dom": ">=16.9.0 <20.0.0" react: ">=16.14.0 <20.0.0" - react-dom: ">=16.8.0 <20.0.0" + react-dom: ">=16.14.0 <20.0.0" languageName: unknown linkType: soft @@ -5525,10 +5525,10 @@ __metadata: "@griffel/react": "npm:^1.5.32" "@swc/helpers": "npm:^0.5.1" peerDependencies: - "@types/react": ">=16.8.0 <20.0.0" - "@types/react-dom": ">=16.8.0 <20.0.0" + "@types/react": ">=16.14.0 <20.0.0" + "@types/react-dom": ">=16.9.0 <20.0.0" react: ">=16.14.0 <20.0.0" - react-dom: ">=16.8.0 <20.0.0" + react-dom: ">=16.14.0 <20.0.0" languageName: unknown linkType: soft @@ -5725,10 +5725,10 @@ __metadata: "@swc/helpers": "npm:^0.5.1" use-sync-external-store: "npm:^1.2.0" peerDependencies: - "@types/react": ">=16.8.0 <20.0.0" - "@types/react-dom": ">=16.8.0 <20.0.0" + "@types/react": ">=16.14.0 <20.0.0" + "@types/react-dom": ">=16.9.0 <20.0.0" react: ">=16.14.0 <20.0.0" - react-dom: ">=16.8.0 <20.0.0" + react-dom: ">=16.14.0 <20.0.0" languageName: unknown linkType: soft @@ -5824,10 +5824,10 @@ __metadata: "@griffel/react": "npm:^1.5.32" "@swc/helpers": "npm:^0.5.1" peerDependencies: - "@types/react": ">=16.8.0 <20.0.0" - "@types/react-dom": ">=16.8.0 <20.0.0" - react: ">=16.8.0 <20.0.0" - react-dom: ">=16.8.0 <20.0.0" + "@types/react": ">=16.14.0 <20.0.0" + "@types/react-dom": ">=16.9.0 <20.0.0" + react: ">=16.14.0 <20.0.0" + react-dom: ">=16.14.0 <20.0.0" languageName: unknown linkType: soft