typesense / docusaurus-theme-search-typesense

A fork of the awesome @docusaurus/theme-search-algolia library customized to work with Typesense
https://typesense.org/docs/guide/docsearch.html
MIT License
67 stars 15 forks source link

Add support for @docusaurus/core 3.0.0 #38

Closed renovate-changelog-viewer closed 1 year ago

renovate-changelog-viewer commented 1 year ago

Description

This library throws an error when updating to @docusaurus/core version 3.0.0.

Steps to reproduce

Upgrade to @docusaurus/core@3.0.0 in any repository that uses docusaurus-theme-search-typesense.

Expected Behavior

No errors on package installation

Actual Behavior

error thrown

npm install

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: mypackage@0.0.0
npm ERR! Found: @docusaurus/core@3.0.0
npm ERR! node_modules/@docusaurus/core
npm ERR!   @docusaurus/core@"3.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @docusaurus/core@"2.4.3" from docusaurus-theme-search-typesense@0.13.1
npm ERR! node_modules/docusaurus-theme-search-typesense
npm ERR!   dev docusaurus-theme-search-typesense@"^0.13.1" from the root project

Metadata

Typesense Version: 1.5.3

OS: mac (intel)

jasonbosco commented 1 year ago

Just published 0.14.0-0 which adds support for docusuaurus@3. Could you give it a shot now?

neoakris commented 1 year ago

Thanks @jasonbosco
The pre-release works great, proof:
https://guidescape.com/updates#20231109

Side notes:

jasonbosco commented 1 year ago

Thank you for confirming @neoakris. I just published 0.14.0.