Skip to content

Commit ffc1c1b

Browse files
quisidojoshuaellis
andauthored
chore: add react peer dependencies (#1938)
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
1 parent 8ad016b commit ffc1c1b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

packages/react-spring/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,9 @@
3333
"@react-spring/three": "~9.5.2",
3434
"@react-spring/web": "~9.5.2",
3535
"@react-spring/zdog": "~9.5.2"
36+
},
37+
"peerDependencies": {
38+
"react": "^16.8.0 || >=17.0.0 || >=18.0.0",
39+
"react-dom": "^16.8.0 || >=17.0.0 || >=18.0.0"
3640
}
3741
}

yarn.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12892,6 +12892,9 @@ __metadata:
1289212892
"@react-spring/three": ~9.5.2
1289312893
"@react-spring/web": ~9.5.2
1289412894
"@react-spring/zdog": ~9.5.2
12895+
peerDependencies:
12896+
react: ^16.8.0 || >=17.0.0 || >=18.0.0
12897+
react-dom: ^16.8.0 || >=17.0.0 || >=18.0.0
1289512898
languageName: unknown
1289612899
linkType: soft
1289712900

0 commit comments

Comments
 (0)