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 diff --git a/package-lock.json b/package-lock.json index 94260dca6d6..d8888a18cef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29807,11 +29807,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 c63e2f8d411..271e3940cb0 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": {