Skip to content

Commit

Permalink
Publish v3.0.1
Browse files Browse the repository at this point in the history
Fix node name
Change prettier react config
  • Loading branch information
benabel committed Mar 15, 2021
1 parent daf91ca commit af9f299
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"eslint:recommended",
"plugin:react/recommended",
"prettier",
"prettier/react"
],"env": {
"es6": true,
"node": true
Expand Down
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": "^2.4.2",
"@gatsby-contrib/gatsby-plugin-elasticlunr-search": "^3.0.0",
"gatsby": "^3.0.0",
"gatsby-source-filesystem": "^3.0.0",
"gatsby-transformer-remark": "^3.0.0",
Expand Down
8 changes: 4 additions & 4 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1023,10 +1023,10 @@
minimatch "^3.0.4"
strip-json-comments "^3.1.1"

"@gatsby-contrib/gatsby-plugin-elasticlunr-search@^2.4.2":
version "2.4.2"
resolved "https://registry.yarnpkg.com/@gatsby-contrib/gatsby-plugin-elasticlunr-search/-/gatsby-plugin-elasticlunr-search-2.4.2.tgz#79a319435cc220655080a6d462d71bb7413e4f99"
integrity sha512-Hz6JOE+cLEaQOubtP+gJNfNr3Ok13SLzRyadP5qotEvZxH351vYqVyMMlnRv1h8TRd3S+e4WlZ5ebjt0QLASCw==
"@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==
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.0",
"version": "3.0.1",
"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(n => touchNode({ node }))
existingNodes.forEach(node => touchNode({ node }))
}

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

0 comments on commit af9f299

Please sign in to comment.