Skip to content

Commit

Permalink
Merge pull request #830 from supertokens/fix/algolia
Browse files Browse the repository at this point in the history
Use stable version of @docsearch/react
  • Loading branch information
rishabhpoddar authored Aug 12, 2024
2 parents 0db29ef + b4ba6e6 commit e4e2181
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 66 deletions.
81 changes: 41 additions & 40 deletions v2/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"set-up-hooks": "cp ../hooks/pre-commit ../.git/hooks/pre-commit && chmod +x ../.git/hooks/pre-commit"
},
"dependencies": {
"@docsearch/react": "^3.0.0",
"@docusaurus/core": "2.0.0-beta.3",
"@docusaurus/preset-classic": "2.0.0-beta.3",
"@mdx-js/react": "^1.6.21",
Expand Down Expand Up @@ -47,4 +48,4 @@
"@types/react": "^16.14.11",
"typescript": "4.9.3"
}
}
}
1 change: 1 addition & 0 deletions v2/src/theme/SearchBar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import {
useActiveDocContext,
} from '@theme/hooks/useDocs';


let DocSearchModal = null;

function Hit({ hit, children }) {
Expand Down
50 changes: 25 additions & 25 deletions v2/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
# yarn lockfile v1


"@algolia/autocomplete-core@1.2.1":
"integrity" "sha512-/SLS6636Wpl7eFiX7eEy0E3wBo60sUm1qRYybJBDt1fs8reiJ1+OSy+dZgrLBfLL4mSFqRIIUHXbVp25QdZ+iw=="
"resolved" "https://registry.npmjs.org/@algolia/autocomplete-core/-/autocomplete-core-1.2.1.tgz"
"version" "1.2.1"
"@algolia/autocomplete-core@1.5.2":
"integrity" "sha512-DY0bhyczFSS1b/CqJlTE/nQRtnTAHl6IemIkBy0nEWnhDzRDdtdx4p5Uuk3vwAFxwEEgi1WqKwgSSMx6DpNL4A=="
"resolved" "https://registry.npmjs.org/@algolia/autocomplete-core/-/autocomplete-core-1.5.2.tgz"
"version" "1.5.2"
dependencies:
"@algolia/autocomplete-shared" "1.2.1"
"@algolia/autocomplete-shared" "1.5.2"

"@algolia/autocomplete-preset-algolia@1.2.1":
"integrity" "sha512-Lf4PpPVgHNXm1ytrnVdrZYV7hAYSCpAI/TrebF8UC6xflPY6sKb1RL/2OfrO9On7SDjPBtNd+6MArSar5JmK0g=="
"resolved" "https://registry.npmjs.org/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.2.1.tgz"
"version" "1.2.1"
"@algolia/autocomplete-preset-algolia@1.5.2":
"integrity" "sha512-3MRYnYQFJyovANzSX2CToS6/5cfVjbLLqFsZTKcvF3abhQzxbqwwaMBlJtt620uBUOeMzhdfasKhCc40+RHiZw=="
"resolved" "https://registry.npmjs.org/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.5.2.tgz"
"version" "1.5.2"
dependencies:
"@algolia/autocomplete-shared" "1.2.1"
"@algolia/autocomplete-shared" "1.5.2"

"@algolia/autocomplete-shared@1.2.1":
"integrity" "sha512-RHCwcXAYFwDXTlomstjWRFIzOfyxtQ9KmViacPE5P5hxUSSjkmG3dAb77xdydift1PaZNbho5TNTCi5UZe0RpA=="
"resolved" "https://registry.npmjs.org/@algolia/autocomplete-shared/-/autocomplete-shared-1.2.1.tgz"
"version" "1.2.1"
"@algolia/autocomplete-shared@1.5.2":
"integrity" "sha512-ylQAYv5H0YKMfHgVWX0j0NmL8XBcAeeeVQUmppnnMtzDbDnca6CzhKj3Q8eF9cHCgcdTDdb5K+3aKyGWA0obug=="
"resolved" "https://registry.npmjs.org/@algolia/autocomplete-shared/-/autocomplete-shared-1.5.2.tgz"
"version" "1.5.2"

"@algolia/[email protected]":
"integrity" "sha512-TD1N7zg5lb56/PLjjD4bBl2eccEvVHhC7yfgFu2r9k5tf+gvbGxEZ3NhRZVKu2MObUIcEy2VR4LVLxOQu45Hlg=="
Expand Down Expand Up @@ -1145,19 +1145,19 @@
"@babel/helper-validator-identifier" "^7.14.5"
"to-fast-properties" "^2.0.0"

"@docsearch/[email protected]-alpha.37":
"integrity" "sha512-EUr2AhvFw+TYPrkfePjDWh3NqpJgpwM8v6n8Mf0rUnL/ThxXKsdamzfBqWCWAh+N1o+eeGqypvy+p8Fp8dZXhQ=="
"resolved" "https://registry.npmjs.org/@docsearch/css/-/css-3.0.0-alpha.37.tgz"
"version" "3.0.0-alpha.37"
"@docsearch/[email protected]":
"integrity" "sha512-1kkV7tkAsiuEd0shunYRByKJe3xQDG2q7wYg24SOw1nV9/2lwEd4WrUYRJC/ukGTl2/kHeFxsaUvtiOy0y6fFA=="
"resolved" "https://registry.npmjs.org/@docsearch/css/-/css-3.0.0.tgz"
"version" "3.0.0"

"@docsearch/react@^3.0.0-alpha.36":
"integrity" "sha512-W/O3OfL+LLQTlGXrT8/d7ztBYKgZmDWweu9f0O/41zV6Hirzo/qZEWzr25ky8utFUcMwj1pfTHLOp1F9UCtLAQ=="
"resolved" "https://registry.npmjs.org/@docsearch/react/-/react-3.0.0-alpha.37.tgz"
"version" "3.0.0-alpha.37"
"@docsearch/react@^3.0.0", "@docsearch/react@^3.0.0-alpha.36":
"integrity" "sha512-yhMacqS6TVQYoBh/o603zszIb5Bl8MIXuOc6Vy617I74pirisDzzcNh0NEaYQt50fVVR3khUbeEhUEWEWipESg=="
"resolved" "https://registry.npmjs.org/@docsearch/react/-/react-3.0.0.tgz"
"version" "3.0.0"
dependencies:
"@algolia/autocomplete-core" "1.2.1"
"@algolia/autocomplete-preset-algolia" "1.2.1"
"@docsearch/css" "3.0.0-alpha.37"
"@algolia/autocomplete-core" "1.5.2"
"@algolia/autocomplete-preset-algolia" "1.5.2"
"@docsearch/css" "3.0.0"
"algoliasearch" "^4.0.0"

"@docusaurus/[email protected]":
Expand Down

0 comments on commit e4e2181

Please sign in to comment.