From 96b8686bf2272accc4d681500c2f372fcf633f7d Mon Sep 17 00:00:00 2001 From: Rebecca Alpert Date: Thu, 24 Apr 2025 11:19:59 -0400 Subject: [PATCH] chore(deps): Temporarily allow for React 19 peer dependency Extensions which import PatternFly seem to have problems pulling in React 19 due to the docs framework - trying this to see if it helps. --- packages/documentation-framework/package.json | 4 ++-- yarn.lock | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/documentation-framework/package.json b/packages/documentation-framework/package.json index f82007b5dc..5e86ad5247 100644 --- a/packages/documentation-framework/package.json +++ b/packages/documentation-framework/package.json @@ -76,7 +76,7 @@ "@patternfly/react-code-editor": "^6.2.2", "@patternfly/react-core": "^6.2.2", "@patternfly/react-table": "^6.2.2", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" } } diff --git a/yarn.lock b/yarn.lock index 03190e0746..751b122bac 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2611,8 +2611,8 @@ __metadata: "@patternfly/react-code-editor": ^6.2.2 "@patternfly/react-core": ^6.2.2 "@patternfly/react-table": ^6.2.2 - react: ^17.0.0 || ^18.0.0 - react-dom: ^17.0.0 || ^18.0.0 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 + react-dom: ^17.0.0 || ^18.0.0 || ^19.0.0 bin: pf-docs-framework: scripts/cli/cli.js languageName: unknown