1
0
Fork 0

fix(deps): make react an optional peer dependency in @docsearch/react (#1273)

Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
This commit is contained in:
Divyansh Singh 2022-08-16 03:37:04 +05:30 committed by GitHub
parent 320092756c
commit eb44d0c2b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,5 +42,16 @@
"@types/react": ">= 16.8.0 < 19.0.0",
"react": ">= 16.8.0 < 19.0.0",
"react-dom": ">= 16.8.0 < 19.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
}
}