Skip to content

Commit

Permalink
fix(deps): make react an optional peer dependency in @docsearch/react (
Browse files Browse the repository at this point in the history
…#1273)

Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
  • Loading branch information
brc-dd and shortcuts committed Aug 15, 2022
1 parent 3200927 commit eb44d0c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/docsearch-react/package.json
Expand Up @@ -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
}
}
}

0 comments on commit eb44d0c

Please sign in to comment.