Skip to content

Commit

Permalink
Publish v3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
benabel committed Mar 16, 2021
1 parent af9f299 commit 63089d1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "1.0.0",
"author": "Benjamin Abel <[email protected]>",
"dependencies": {
"@gatsby-contrib/gatsby-plugin-elasticlunr-search": "^3.0.0",
"@gatsby-contrib/gatsby-plugin-elasticlunr-search": "../",
"gatsby": "^3.0.0",
"gatsby-source-filesystem": "^3.0.0",
"gatsby-transformer-remark": "^3.0.0",
Expand Down
6 changes: 2 additions & 4 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1023,10 +1023,8 @@
minimatch "^3.0.4"
strip-json-comments "^3.1.1"

"@gatsby-contrib/gatsby-plugin-elasticlunr-search@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@gatsby-contrib/gatsby-plugin-elasticlunr-search/-/gatsby-plugin-elasticlunr-search-3.0.0.tgz#95781767d9a408fba68df7e9251fe61ecba7ef93"
integrity sha512-JxN+HkW1x/++cXlVOpy/khPryIbooSDpRmrh40fTchhTC6QemhlMpmluebRrLeOeO0ltcf+DKJ3mnBDVW68ZMw==
"@gatsby-contrib/gatsby-plugin-elasticlunr-search@../":
version "3.0.1"
dependencies:
elasticlunr "^0.9.5"

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gatsby-contrib/gatsby-plugin-elasticlunr-search",
"version": "3.0.1",
"version": "3.0.2",
"description": "Search for gatsby; implemented via elasticlunr.",
"main": "gatsby-node.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ exports.sourceNodes = async ({ getNodes, actions }) => {
const existingNodes = getNodes().filter(
n => n.internal.owner === `@gatsby-contrib/gatsby-plugin-elasticlunr-search`
)
existingNodes.forEach(node => touchNode({ node }))
existingNodes.forEach(node => touchNode(node))
}

exports.onCreateNode = ({ node, actions, getNode }, { resolvers, filter }) => {
Expand Down

0 comments on commit 63089d1

Please sign in to comment.