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:
parent
320092756c
commit
eb44d0c2b7
1 changed files with 11 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue