gatsby-plugin-elasticlunr-search icon indicating copy to clipboard operation
gatsby-plugin-elasticlunr-search copied to clipboard

Upgrade to gatsby v2

Open ghost opened this issue 7 years ago • 13 comments

Some api changes made in gatsby v2 are implemented here.

Thanks for that plugin :smiley:

ghost avatar Jun 29 '18 13:06 ghost

@andrew-codes it would be really great to get this merged in!

chasemccoy avatar Aug 02 '18 15:08 chasemccoy

@benjaminabel is this working for you on the latest Gatsby beta version? The plugin doesn't seem to be generating any nodes in GraphQL

chasemccoy avatar Aug 10 '18 16:08 chasemccoy

@chasemccoy I didn't test it on latest beta but I know they made some breaking change since. Sorry but I haven't any computer to check it now.

ghost avatar Aug 10 '18 19:08 ghost

@benjaminabel It's working with gatsby 2.0.0-beta.98

krismorf avatar Aug 13 '18 11:08 krismorf

@benjaminabel could you make your version accessible somehow? i can't npm install it from github, as it doesn't prepare the files with babel, so it ends up with the noop index. you haven't published manually your fork, or i couldn't find it.

eLod avatar Sep 10 '18 11:09 eLod

@eLod you can install it locally cloning my repo and then install it locally with npm i ./local path to repo. I don't want to publish it to npm, I think @andrew-codes will upgrade his package when v2 will be released.

ghost avatar Sep 11 '18 17:09 ghost

@andrew-codes Can you please merge this to master?

krismorf avatar Sep 24 '18 07:09 krismorf

Any update on this getting merged in?

aarondack avatar Oct 12 '18 00:10 aarondack

It seems that @andrew-codes can't work on this repository at the moment, I'm going to fork the repo into an organisation @gatsby-contrib. Would you like to join the organisation @chasemccoy ?

ghost avatar Oct 19 '18 19:10 ghost

I'm good, thanks!

chasemccoy avatar Oct 19 '18 19:10 chasemccoy

I've just published the package to npm.

npm install --save @gatsby-contrib/gatsby-plugin-elasticlunr-search

ghost avatar Oct 19 '18 20:10 ghost

Also updated the README file and created an example site to use new StaticQuery from gatsby-v2 to grab the siteSearchIndex.

ghost avatar Oct 22 '18 14:10 ghost