Skip to content

Commit f5385b1

Browse files
chore(deps): Temporarily allow for React 19 peer dependency (#4582)
Extensions which import PatternFly seem to have problems pulling in React 19 due to the docs framework - trying this to see if it helps.
1 parent 31ea115 commit f5385b1

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/documentation-framework/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"@patternfly/react-code-editor": "^6.2.2",
7777
"@patternfly/react-core": "^6.2.2",
7878
"@patternfly/react-table": "^6.2.2",
79-
"react": "^17.0.0 || ^18.0.0",
80-
"react-dom": "^17.0.0 || ^18.0.0"
79+
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
80+
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
8181
}
8282
}

yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2611,8 +2611,8 @@ __metadata:
26112611
"@patternfly/react-code-editor": ^6.2.2
26122612
"@patternfly/react-core": ^6.2.2
26132613
"@patternfly/react-table": ^6.2.2
2614-
react: ^17.0.0 || ^18.0.0
2615-
react-dom: ^17.0.0 || ^18.0.0
2614+
react: ^17.0.0 || ^18.0.0 || ^19.0.0
2615+
react-dom: ^17.0.0 || ^18.0.0 || ^19.0.0
26162616
bin:
26172617
pf-docs-framework: scripts/cli/cli.js
26182618
languageName: unknown

0 commit comments

Comments
 (0)