Skip to content

Commit

Permalink
chore(ui,icons): Add React 19/19-rc to peer dependencies (#10458)
Browse files Browse the repository at this point in the history
Resolves SUP-478
  • Loading branch information
kasperkristensen authored Dec 20, 2024
1 parent 4b5b93a commit f7aaf2c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 12 deletions.
6 changes: 6 additions & 0 deletions .changeset/grumpy-ladybugs-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@medusajs/icons": patch
"@medusajs/ui": patch
---

chore(ui,icons): Add React 19/19-rc to peer dependencies
2 changes: 1 addition & 1 deletion packages/design-system/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"vitest": "^0.32.2"
},
"peerDependencies": {
"react": "^16.x || ^17.x || ^18.x"
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
},
"packageManager": "yarn@3.2.1",
"publishConfig": {
Expand Down
8 changes: 4 additions & 4 deletions packages/design-system/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
"jsdom": "^22.1.0",
"postcss": "^8.4.38",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"resize-observer-polyfill": "^1.5.1",
"rimraf": "^5.0.1",
"storybook": "^8.3.5",
Expand Down Expand Up @@ -108,8 +108,8 @@
"tailwind-merge": "^2.2.1"
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
"react": "^18.0.0 || ^19.0.0 || ^19.0.0-rc",
"react-dom": "^18.0.0 || ^19.0.0 || ^19.0.0-rc"
},
"browserslist": [
"last 3 chrome versions",
Expand Down
14 changes: 7 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5867,7 +5867,7 @@ __metadata:
vite: ^4.3.9
vitest: ^0.32.2
peerDependencies:
react: ^16.x || ^17.x || ^18.x
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -6700,10 +6700,10 @@ __metadata:
prism-react-renderer: ^2.0.6
prismjs: ^1.29.0
prop-types: ^15.8.1
react: ^18.2.0
react: ^18.3.1
react-aria: ^3.33.1
react-currency-input-field: ^3.6.11
react-dom: ^18.2.0
react-dom: ^18.3.1
react-stately: ^3.31.1
resize-observer-polyfill: ^1.5.1
rimraf: ^5.0.1
Expand All @@ -6717,8 +6717,8 @@ __metadata:
vite-plugin-turbosnap: ^1.0.2
vitest: ^0.32.2
peerDependencies:
react: ^18.0.0
react-dom: ^18.0.0
react: ^18.0.0 || ^19.0.0 || ^19.0.0-rc
react-dom: ^18.0.0 || ^19.0.0 || ^19.0.0-rc
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -28086,7 +28086,7 @@ __metadata:
languageName: node
linkType: hard

"react-dom@npm:^16.8.0 || ^17.0.0 || ^18.0.0, react-dom@npm:^18.2.0":
"react-dom@npm:^16.8.0 || ^17.0.0 || ^18.0.0, react-dom@npm:^18.2.0, react-dom@npm:^18.3.1":
version: 18.3.1
resolution: "react-dom@npm:18.3.1"
dependencies:
Expand Down Expand Up @@ -28392,7 +28392,7 @@ __metadata:
languageName: node
linkType: hard

"react@npm:^16.8.0 || ^17.0.0 || ^18.0.0, react@npm:^18.2.0":
"react@npm:^16.8.0 || ^17.0.0 || ^18.0.0, react@npm:^18.2.0, react@npm:^18.3.1":
version: 18.3.1
resolution: "react@npm:18.3.1"
dependencies:
Expand Down

0 comments on commit f7aaf2c

Please sign in to comment.