From 07d663bf3d54131a80e38e9ebff986946448f75d Mon Sep 17 00:00:00 2001 From: Josh Black Date: Mon, 6 Jan 2025 10:42:08 -0600 Subject: [PATCH 1/2] feat(react): update range to include support for 19.x --- package-lock.json | 8 ++++---- packages/react/package.json | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9473b6b7744..a5cfe9c87e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30578,11 +30578,11 @@ "npm": ">=7" }, "peerDependencies": { - "@types/react": "^18.0.0", - "@types/react-dom": "^18.0.0", + "@types/react": "18.x || 19.x", + "@types/react-dom": "18.x || 19.x", "@types/styled-components": "^5.1.11", - "react": "^18.0.0", - "react-dom": "^18.0.0", + "react": "18.x || 19.x", + "react-dom": "18.x || 19.x", "styled-components": "5.x" }, "peerDependenciesMeta": { diff --git a/packages/react/package.json b/packages/react/package.json index de44eb2a6df..c31cdef7cea 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -209,11 +209,11 @@ "yaml": "2.3.4" }, "peerDependencies": { - "@types/react": "^18.0.0", - "@types/react-dom": "^18.0.0", + "@types/react": "18.x || 19.x", + "@types/react-dom": "18.x || 19.x", "@types/styled-components": "^5.1.11", - "react": "^18.0.0", - "react-dom": "^18.0.0", + "react": "18.x || 19.x", + "react-dom": "18.x || 19.x", "styled-components": "5.x" }, "peerDependenciesMeta": { From 59aa122907b500f307ad7cce36579bcc7ce0287a Mon Sep 17 00:00:00 2001 From: Josh Black Date: Mon, 6 Jan 2025 10:42:36 -0600 Subject: [PATCH 2/2] chore: add changeset --- .changeset/great-boxes-clap.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/great-boxes-clap.md diff --git a/.changeset/great-boxes-clap.md b/.changeset/great-boxes-clap.md new file mode 100644 index 00000000000..f7fa2815216 --- /dev/null +++ b/.changeset/great-boxes-clap.md @@ -0,0 +1,5 @@ +--- +"@primer/react": minor +--- + +Update dependency range for React dependencies to include 19.x