Skip to content

Commit 72eb272

Browse files
committed
peerDependencies react ^18 || ^19
1 parent 271bd40 commit 72eb272

File tree

2 files changed

+92
-103
lines changed

2 files changed

+92
-103
lines changed

package.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"@tanstack/react-query": "^5.83.0",
6868
"@testing-library/react": "^14.0.0",
6969
"@types/jest": "^29.5.4",
70-
"@types/node": "^20.5.9",
70+
"@types/node": "^20.19.1",
7171
"@types/react": "^19.1.8",
7272
"@types/react-dom": "^19.1.6",
7373
"@typescript-eslint/eslint-plugin": "^6.6.0",
@@ -86,18 +86,26 @@
8686
"jotai": "^2.4.2",
8787
"npm-run-all": "^4.1.5",
8888
"prettier": "^3.0.3",
89-
"react": "^18.2.0",
90-
"react-dom": "^18.2.0",
89+
"react": "^19.0.0",
90+
"react-dom": "^19.0.0",
9191
"react-error-boundary": "^4.0.11",
9292
"ts-jest": "^29.1.1",
9393
"typescript": "^5.2.2"
9494
},
9595
"peerDependencies": {
96+
"react": "^18 || ^19",
97+
"react-dom": "^18 || ^19",
9698
"@tanstack/query-core": "*",
9799
"@tanstack/react-query": "*",
98100
"jotai": ">=2.0.0"
99101
},
100102
"peerDependenciesMeta": {
103+
"react": {
104+
"optional": true
105+
},
106+
"react-dom": {
107+
"optional": true
108+
},
101109
"@tanstack/react-query": {
102110
"optional": true
103111
}

0 commit comments

Comments
 (0)