Skip to content

Commit 405a600

Browse files
authored
chore: increase react peer dep range (#3728)
1 parent 8c4b624 commit 405a600

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

.changeset/smart-coats-walk.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@latticexyz/stash": patch
3+
"@latticexyz/store-sync": patch
4+
---
5+
6+
Added React 19.x to the peer dependency range.

packages/stash/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@
5858
"viem": "2.30.5"
5959
},
6060
"peerDependencies": {
61-
"react": "18.x",
61+
"react": "18.x || 19.x",
6262
"viem": "2.x"
6363
},
6464
"publishConfig": {
6565
"access": "public"
6666
},
6767
"optionalPeerDependencies": {
68-
"react": "18.x"
68+
"react": "18.x || 19.x"
6969
}
7070
}

packages/store-sync/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
},
116116
"peerDependencies": {
117117
"@tanstack/react-query": "5.x",
118-
"react": "18.x",
118+
"react": "18.x || 19.x",
119119
"viem": "2.x",
120120
"wagmi": "2.x"
121121
},
@@ -132,5 +132,8 @@
132132
},
133133
"publishConfig": {
134134
"access": "public"
135+
},
136+
"optionalPeerDependencies": {
137+
"react": "18.x || 19.x"
135138
}
136139
}

0 commit comments

Comments
 (0)