Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to gatsby v2 #14

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

ghost
Copy link

@ghost ghost commented Jun 29, 2018

Some api changes made in gatsby v2 are implemented here.

Thanks for that plugin 😃

@ghost ghost force-pushed the gatsby-v2 branch from 7deb485 to ae946c3 Compare July 1, 2018 20:04
@chasemccoy
Copy link

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

@chasemccoy
Copy link

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

@ghost
Copy link
Author

ghost commented Aug 10, 2018

@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.

@krismorf
Copy link

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

@eLod
Copy link

eLod commented Sep 10, 2018

@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.

@ghost
Copy link
Author

ghost commented Sep 11, 2018

@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.

@krismorf
Copy link

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

@aarondack
Copy link

Any update on this getting merged in?

@ghost
Copy link
Author

ghost commented Oct 19, 2018

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 ?

@chasemccoy
Copy link

I'm good, thanks!

@ghost
Copy link
Author

ghost commented Oct 19, 2018

I've just published the package to npm.

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

@ghost
Copy link
Author

ghost commented Oct 22, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants