Skip to content

Commit 67ba261

Browse files
authored
Merge pull request #2950 from modernweb-dev/fix/storybook-utils-react-19
fix(storybook-utils): allow React 19 and test with it
2 parents e47eb86 + 1b53424 commit 67ba261

File tree

3 files changed

+13
-45
lines changed

3 files changed

+13
-45
lines changed

.changeset/hungry-sheep-live.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@web/storybook-utils': patch
3+
---
4+
5+
allow React 19 and test with it

package-lock.json

Lines changed: 6 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/storybook-utils/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040
"utils"
4141
],
4242
"peerDependencies": {
43-
"react": "^18.0.0"
43+
"react": "^18.0.0 || ^19.0.0"
4444
},
4545
"dependencies": {
4646
"@storybook/core-events": "^7.0.0 || ^8.0.0"
4747
},
4848
"devDependencies": {
49-
"react": "^18.0.0"
49+
"react": "^19.0.0"
5050
}
5151
}

0 commit comments

Comments
 (0)