From 57b98941260c64753f050af78d87d5091a50c063 Mon Sep 17 00:00:00 2001 From: Osmond van Hemert Date: Mon, 6 Aug 2018 14:46:55 +0200 Subject: [PATCH 1/5] plugin checker initial commit --- scripts/gatsby-plugin-checker/index.js | 99 +++++++++++++++++++ scripts/gatsby-plugin-checker/package.json | 15 +++ scripts/gatsby-plugin-checker/plugins.json | 106 +++++++++++++++++++++ 3 files changed, 220 insertions(+) create mode 100644 scripts/gatsby-plugin-checker/index.js create mode 100644 scripts/gatsby-plugin-checker/package.json create mode 100644 scripts/gatsby-plugin-checker/plugins.json diff --git a/scripts/gatsby-plugin-checker/index.js b/scripts/gatsby-plugin-checker/index.js new file mode 100644 index 0000000000000..972b57dcf702c --- /dev/null +++ b/scripts/gatsby-plugin-checker/index.js @@ -0,0 +1,99 @@ +'use strict' + +const fs = require('fs') +const got = require('got') +const path = require('path') + +const keywords = ['gatsby-plugin', 'gatsby-source', 'gatsby-transformer'] +const pluginsFile = path.join(__dirname, 'plugins.json') + +const loadPlugins = async () => { + try { + return require(pluginsFile) + } catch (err) { + throw err + } +} + +const savePlugins = (plugins) => { + return new Promise((resolve, reject) => { + let output = '[\n\t' + output += plugins + .sort((a, b) => { + if (a.name < b.name) { return -1 } + if (a.name > b.name) { return 1 } + return 0 + }) + .map(p => JSON.stringify(p)) + .join(',\n\t') + output += '\n]\n' + fs.writeFile(pluginsFile, output, (err) => { + if (err) { return reject(err) } + resolve() + }) + }) +} + +const searchNPM = () => { + const promises = keywords.map(keyword => { + const url = `https://api.npms.io/v2/search?q=${keyword}+keywords:-gatsby-plugin+not:deprecated&size=250` + return got(url).then(response => JSON.parse(response.body)) + }) + return Promise.all(promises) +} + +const transformResults = (results) => { + const merged = results.reduce((t, r) => t.concat(r.results), []) + const deduped = merged.reduce((t, r) => { + t[r.package.name] = t[r.package.name] || r.package + return t + }, {}) + return Object.keys(deduped).map(d => deduped[d]) +} + +const filterNotBlacklisted = (packages, plugins) => { + const blacklisted = plugins.filter(p => p.blacklist).map(p => p.name) + return packages.filter(pkg => (blacklisted.indexOf(pkg.name) < 0)) +} + +const filterNotNotified = (packages, plugins) => { + const notified = plugins.filter(p => p.notified).map(p => p.name) + return packages.filter(pkg => (notified.indexOf(pkg.name) < 0)) +} + +const updatePlugins = (updates, plugins) => { + let res = plugins.map(p => Object.assign({}, p)) + updates.forEach(u => { + const idx = res.findIndex(r => r.name === u.name) + if (idx >= 0) { + res[idx] = Object.assign({}, res[idx], u) + } else { + res.push(u) + } + }) + return updates +} + +const main = () => { + loadPlugins().then(plugins => { + return searchNPM() + .then(transformResults) + .then(packages => filterNotBlacklisted(packages, plugins)) + .then(packages => filterNotNotified(packages, plugins)) + .then(packages => { + return packages.map(p => { + // TODO: notify / comment on github + console.info(`Notify package "${p.name}"`) + // return update status + return { name: p.name, blacklist: false, notified: false } + }) + }) + .then(updates => updatePlugins(updates, plugins)) + .then(savePlugins) + }) + .catch(err => { + console.error(err) + }) +} + +main() diff --git a/scripts/gatsby-plugin-checker/package.json b/scripts/gatsby-plugin-checker/package.json new file mode 100644 index 0000000000000..8a8a83cdac1cd --- /dev/null +++ b/scripts/gatsby-plugin-checker/package.json @@ -0,0 +1,15 @@ +{ + "name": "gatsby-plugin-checker", + "version": "1.0.0", + "description": "Checks for Gatsby plugins on NPM without the gatsby-plugin keyword.", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "start": "node index" + }, + "author": "Osmond van Hemert ", + "license": "MIT", + "dependencies": { + "got": "^9.0.0" + } +} diff --git a/scripts/gatsby-plugin-checker/plugins.json b/scripts/gatsby-plugin-checker/plugins.json new file mode 100644 index 0000000000000..98843c3bd9c28 --- /dev/null +++ b/scripts/gatsby-plugin-checker/plugins.json @@ -0,0 +1,106 @@ +[ + {"name":"@alxandr/gatsby-plugin-feed","blacklist":false,"notified":false}, + {"name":"@alxandr/gatsby-plugin-google-analytics","blacklist":false,"notified":false}, + {"name":"@alxandr/gatsby-transformer-blog-post","blacklist":false,"notified":false}, + {"name":"@alxandr/gatsby-transformer-unified","blacklist":false,"notified":false}, + {"name":"@dylanvann/gatsby-cloudinary","blacklist":false,"notified":false}, + {"name":"@jacobmischka/gatsby-plugin-copy-files","blacklist":false,"notified":false}, + {"name":"@jacobmischka/gatsby-plugin-react-svg","blacklist":false,"notified":false}, + {"name":"@jacobmischka/gatsby-plugin-styled-jsx","blacklist":false,"notified":false}, + {"name":"@ptb/gatsby-1-config-css-modules","blacklist":false,"notified":false}, + {"name":"@ptb/gatsby-plugin-pug","blacklist":false,"notified":false}, + {"name":"@ptb/gatsby-plugin-react-helmet","blacklist":false,"notified":false}, + {"name":"@theplayerstribune/gatsby-source-wordpress-plus","blacklist":false,"notified":false}, + {"name":"@uptimeventures/gatsby-source-rss","blacklist":false,"notified":false}, + {"name":"@wapps/gatsby-plugin-material-ui","blacklist":false,"notified":false}, + {"name":"@wyze/preact-testing-library","blacklist":false,"notified":false}, + {"name":"development-dashboards-docs","blacklist":false,"notified":false}, + {"name":"gatsby-1-config-css-modules","blacklist":false,"notified":false}, + {"name":"gatsby-1-config-extract-plugin","blacklist":false,"notified":false}, + {"name":"gatsby-directus","blacklist":false,"notified":false}, + {"name":"gatsby-matsuri","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-adroll","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-canner-schema","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-channel","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-compression","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-copy-files","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-core-js","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-default-layout","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-drip","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-escalade-stock","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-facebook","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-facebook-sdk","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-favicon-mperkh","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-favicons","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-github-pages","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-google-fonts","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-graphql","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-html-attributes","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-iamport","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-landr","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-linkedin","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-markdown-pages","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-module-local-ident-name","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-mparticle","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-netlify-cms-paths","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-netlify-identity-widget","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-netlify-lambda","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-ngrok-tunneling","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-page-tree","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-polyfill-io","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-product-markdown-pages","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-protoculture","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-purify-css","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-react-webfont-loader","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-recaptcha","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-remove-serviceworker","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-sass-bulk-import","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-size-analyzer","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-snowplow","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-source-john-deere","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-svg-sprite","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-typescript-css-modules","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-typescript-scss-modules","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-typescript-scss-modules-cjs","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-web-font-loader","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-well-known","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-zygote","blacklist":false,"notified":false}, + {"name":"gatsby-remark-frontmatter-defaults","blacklist":false,"notified":false}, + {"name":"gatsby-remark-github","blacklist":false,"notified":false}, + {"name":"gatsby-remark-jsx","blacklist":false,"notified":false}, + {"name":"gatsby-remark-visualdocs","blacklist":false,"notified":false}, + {"name":"gatsby-source-aem","blacklist":false,"notified":false}, + {"name":"gatsby-source-anilist","blacklist":false,"notified":false}, + {"name":"gatsby-source-datocms-graphql-example","blacklist":false,"notified":false}, + {"name":"gatsby-source-docgen-requirements","blacklist":false,"notified":false}, + {"name":"gatsby-source-feliks","blacklist":false,"notified":false}, + {"name":"gatsby-source-gcloud-object","blacklist":false,"notified":false}, + {"name":"gatsby-source-gdrive-tree","blacklist":false,"notified":false}, + {"name":"gatsby-source-git","blacklist":false,"notified":false}, + {"name":"gatsby-source-github-api","blacklist":false,"notified":false}, + {"name":"gatsby-source-github-gql","blacklist":false,"notified":false}, + {"name":"gatsby-source-github-projects","blacklist":false,"notified":false}, + {"name":"gatsby-source-google-drive","blacklist":false,"notified":false}, + {"name":"gatsby-source-google-sheet","blacklist":false,"notified":false}, + {"name":"gatsby-source-jira","blacklist":false,"notified":false}, + {"name":"gatsby-source-mongo","blacklist":false,"notified":false}, + {"name":"gatsby-source-nba","blacklist":false,"notified":false}, + {"name":"gatsby-source-newsapi","blacklist":false,"notified":false}, + {"name":"gatsby-source-pinboard","blacklist":false,"notified":false}, + {"name":"gatsby-source-product-markdown","blacklist":false,"notified":false}, + {"name":"gatsby-source-soundcloud","blacklist":false,"notified":false}, + {"name":"gatsby-source-steam","blacklist":false,"notified":false}, + {"name":"gatsby-source-steem","blacklist":false,"notified":false}, + {"name":"gatsby-source-twitch","blacklist":false,"notified":false}, + {"name":"gatsby-source-utopian","blacklist":false,"notified":false}, + {"name":"gatsby-source-wordpress-bcgdv","blacklist":false,"notified":false}, + {"name":"gatsby-source-wordpress-plus","blacklist":false,"notified":false}, + {"name":"gatsby-transformer-blog-post","blacklist":false,"notified":false}, + {"name":"gatsby-transformer-ipynb","blacklist":false,"notified":false}, + {"name":"gatsby-transformer-nimbl","blacklist":false,"notified":false}, + {"name":"gatsby-transformer-whoa","blacklist":false,"notified":false}, + {"name":"js-gatsby-plugin-react-next","blacklist":false,"notified":false}, + {"name":"mericsson-gatsby-source-contentful","blacklist":false,"notified":false}, + {"name":"react-snipcart","blacklist":false,"notified":false}, + {"name":"syncano-gatsby","blacklist":false,"notified":false} +] From 45b9c47b5cb43169b3be5f6f42ca1d9c93796556 Mon Sep 17 00:00:00 2001 From: Mike Allanson Date: Fri, 7 Dec 2018 17:00:29 +0000 Subject: [PATCH 2/5] Lint --- scripts/gatsby-plugin-checker/index.js | 82 ++++++++++++++------------ 1 file changed, 44 insertions(+), 38 deletions(-) diff --git a/scripts/gatsby-plugin-checker/index.js b/scripts/gatsby-plugin-checker/index.js index 972b57dcf702c..9549aec2b6b47 100644 --- a/scripts/gatsby-plugin-checker/index.js +++ b/scripts/gatsby-plugin-checker/index.js @@ -1,11 +1,11 @@ -'use strict' +"use strict" -const fs = require('fs') -const got = require('got') -const path = require('path') +const fs = require(`fs`) +const got = require(`got`) +const path = require(`path`) -const keywords = ['gatsby-plugin', 'gatsby-source', 'gatsby-transformer'] -const pluginsFile = path.join(__dirname, 'plugins.json') +const keywords = [`gatsby-plugin`, `gatsby-source`, `gatsby-transformer`] +const pluginsFile = path.join(__dirname, `plugins.json`) const loadPlugins = async () => { try { @@ -15,24 +15,29 @@ const loadPlugins = async () => { } } -const savePlugins = (plugins) => { - return new Promise((resolve, reject) => { - let output = '[\n\t' +const savePlugins = plugins => + new Promise((resolve, reject) => { + let output = `[\n\t` output += plugins .sort((a, b) => { - if (a.name < b.name) { return -1 } - if (a.name > b.name) { return 1 } + if (a.name < b.name) { + return -1 + } + if (a.name > b.name) { + return 1 + } return 0 }) .map(p => JSON.stringify(p)) - .join(',\n\t') - output += '\n]\n' - fs.writeFile(pluginsFile, output, (err) => { - if (err) { return reject(err) } + .join(`,\n\t`) + output += `\n]\n` + fs.writeFile(pluginsFile, output, err => { + if (err) { + return reject(err) + } resolve() }) }) -} const searchNPM = () => { const promises = keywords.map(keyword => { @@ -42,7 +47,7 @@ const searchNPM = () => { return Promise.all(promises) } -const transformResults = (results) => { +const transformResults = results => { const merged = results.reduce((t, r) => t.concat(r.results), []) const deduped = merged.reduce((t, r) => { t[r.package.name] = t[r.package.name] || r.package @@ -53,12 +58,12 @@ const transformResults = (results) => { const filterNotBlacklisted = (packages, plugins) => { const blacklisted = plugins.filter(p => p.blacklist).map(p => p.name) - return packages.filter(pkg => (blacklisted.indexOf(pkg.name) < 0)) + return packages.filter(pkg => blacklisted.indexOf(pkg.name) < 0) } const filterNotNotified = (packages, plugins) => { const notified = plugins.filter(p => p.notified).map(p => p.name) - return packages.filter(pkg => (notified.indexOf(pkg.name) < 0)) + return packages.filter(pkg => notified.indexOf(pkg.name) < 0) } const updatePlugins = (updates, plugins) => { @@ -75,25 +80,26 @@ const updatePlugins = (updates, plugins) => { } const main = () => { - loadPlugins().then(plugins => { - return searchNPM() - .then(transformResults) - .then(packages => filterNotBlacklisted(packages, plugins)) - .then(packages => filterNotNotified(packages, plugins)) - .then(packages => { - return packages.map(p => { - // TODO: notify / comment on github - console.info(`Notify package "${p.name}"`) - // return update status - return { name: p.name, blacklist: false, notified: false } - }) - }) - .then(updates => updatePlugins(updates, plugins)) - .then(savePlugins) - }) - .catch(err => { - console.error(err) - }) + loadPlugins() + .then(plugins => + searchNPM() + .then(transformResults) + .then(packages => filterNotBlacklisted(packages, plugins)) + .then(packages => filterNotNotified(packages, plugins)) + .then(packages => + packages.map(p => { + // TODO: notify / comment on github + console.info(`Notify package "${p.name}"`) + // return update status + return { name: p.name, blacklist: false, notified: false } + }) + ) + .then(updates => updatePlugins(updates, plugins)) + .then(savePlugins) + ) + .catch(err => { + console.error(err) + }) } main() From 1f926f87e7d9b96ce6f50af711eb56eed03823eb Mon Sep 17 00:00:00 2001 From: Mike Allanson Date: Fri, 7 Dec 2018 17:05:04 +0000 Subject: [PATCH 3/5] Lint - consistent return --- scripts/gatsby-plugin-checker/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/gatsby-plugin-checker/index.js b/scripts/gatsby-plugin-checker/index.js index 9549aec2b6b47..c8bd5ba5767b7 100644 --- a/scripts/gatsby-plugin-checker/index.js +++ b/scripts/gatsby-plugin-checker/index.js @@ -32,9 +32,7 @@ const savePlugins = plugins => .join(`,\n\t`) output += `\n]\n` fs.writeFile(pluginsFile, output, err => { - if (err) { - return reject(err) - } + if (err) reject(err) resolve() }) }) From eefb91fa809168df7c8e47091411acf19ae04083 Mon Sep 17 00:00:00 2001 From: Mike Allanson Date: Fri, 7 Dec 2018 17:10:38 +0000 Subject: [PATCH 4/5] Run script --- scripts/gatsby-plugin-checker/plugins.json | 39 ++++++++++++++++------ 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/scripts/gatsby-plugin-checker/plugins.json b/scripts/gatsby-plugin-checker/plugins.json index 98843c3bd9c28..ed186e367eb06 100644 --- a/scripts/gatsby-plugin-checker/plugins.json +++ b/scripts/gatsby-plugin-checker/plugins.json @@ -4,15 +4,22 @@ {"name":"@alxandr/gatsby-transformer-blog-post","blacklist":false,"notified":false}, {"name":"@alxandr/gatsby-transformer-unified","blacklist":false,"notified":false}, {"name":"@dylanvann/gatsby-cloudinary","blacklist":false,"notified":false}, + {"name":"@entr/gatsby-source-google-analytics-reporting-api","blacklist":false,"notified":false}, {"name":"@jacobmischka/gatsby-plugin-copy-files","blacklist":false,"notified":false}, {"name":"@jacobmischka/gatsby-plugin-react-svg","blacklist":false,"notified":false}, {"name":"@jacobmischka/gatsby-plugin-styled-jsx","blacklist":false,"notified":false}, + {"name":"@oliverturner/gatsby-source-trello","blacklist":false,"notified":false}, + {"name":"@porch/gatsby-source-gitlab-files","blacklist":false,"notified":false}, + {"name":"@porch/gatsby-source-gitlab-projects","blacklist":false,"notified":false}, + {"name":"@porch/gatsby-source-newrelic-apps","blacklist":false,"notified":false}, {"name":"@ptb/gatsby-1-config-css-modules","blacklist":false,"notified":false}, {"name":"@ptb/gatsby-plugin-pug","blacklist":false,"notified":false}, {"name":"@ptb/gatsby-plugin-react-helmet","blacklist":false,"notified":false}, + {"name":"@sb-konzept/gatsby-source-storyblok","blacklist":false,"notified":false}, + {"name":"@scion-scxml/sciblog","blacklist":false,"notified":false}, + {"name":"@spraoi/gatsby-plugin","blacklist":false,"notified":false}, {"name":"@theplayerstribune/gatsby-source-wordpress-plus","blacklist":false,"notified":false}, {"name":"@uptimeventures/gatsby-source-rss","blacklist":false,"notified":false}, - {"name":"@wapps/gatsby-plugin-material-ui","blacklist":false,"notified":false}, {"name":"@wyze/preact-testing-library","blacklist":false,"notified":false}, {"name":"development-dashboards-docs","blacklist":false,"notified":false}, {"name":"gatsby-1-config-css-modules","blacklist":false,"notified":false}, @@ -23,8 +30,10 @@ {"name":"gatsby-plugin-canner-schema","blacklist":false,"notified":false}, {"name":"gatsby-plugin-channel","blacklist":false,"notified":false}, {"name":"gatsby-plugin-compression","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-compression-v2","blacklist":false,"notified":false}, {"name":"gatsby-plugin-copy-files","blacklist":false,"notified":false}, {"name":"gatsby-plugin-core-js","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-countly","blacklist":false,"notified":false}, {"name":"gatsby-plugin-default-layout","blacklist":false,"notified":false}, {"name":"gatsby-plugin-drip","blacklist":false,"notified":false}, {"name":"gatsby-plugin-escalade-stock","blacklist":false,"notified":false}, @@ -35,41 +44,42 @@ {"name":"gatsby-plugin-github-pages","blacklist":false,"notified":false}, {"name":"gatsby-plugin-google-fonts","blacklist":false,"notified":false}, {"name":"gatsby-plugin-graphql","blacklist":false,"notified":false}, - {"name":"gatsby-plugin-html-attributes","blacklist":false,"notified":false}, {"name":"gatsby-plugin-iamport","blacklist":false,"notified":false}, {"name":"gatsby-plugin-landr","blacklist":false,"notified":false}, {"name":"gatsby-plugin-linkedin","blacklist":false,"notified":false}, - {"name":"gatsby-plugin-markdown-pages","blacklist":false,"notified":false}, {"name":"gatsby-plugin-module-local-ident-name","blacklist":false,"notified":false}, {"name":"gatsby-plugin-mparticle","blacklist":false,"notified":false}, - {"name":"gatsby-plugin-netlify-cms-paths","blacklist":false,"notified":false}, - {"name":"gatsby-plugin-netlify-identity-widget","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-mui","blacklist":false,"notified":false}, {"name":"gatsby-plugin-netlify-lambda","blacklist":false,"notified":false}, {"name":"gatsby-plugin-ngrok-tunneling","blacklist":false,"notified":false}, {"name":"gatsby-plugin-page-tree","blacklist":false,"notified":false}, - {"name":"gatsby-plugin-polyfill-io","blacklist":false,"notified":false}, {"name":"gatsby-plugin-product-markdown-pages","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-production","blacklist":false,"notified":false}, {"name":"gatsby-plugin-protoculture","blacklist":false,"notified":false}, {"name":"gatsby-plugin-purify-css","blacklist":false,"notified":false}, {"name":"gatsby-plugin-react-webfont-loader","blacklist":false,"notified":false}, - {"name":"gatsby-plugin-recaptcha","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-remote-images","blacklist":false,"notified":false}, {"name":"gatsby-plugin-remove-serviceworker","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-retabulate","blacklist":false,"notified":false}, {"name":"gatsby-plugin-sass-bulk-import","blacklist":false,"notified":false}, {"name":"gatsby-plugin-size-analyzer","blacklist":false,"notified":false}, {"name":"gatsby-plugin-snowplow","blacklist":false,"notified":false}, {"name":"gatsby-plugin-source-john-deere","blacklist":false,"notified":false}, - {"name":"gatsby-plugin-svg-sprite","blacklist":false,"notified":false}, + {"name":"gatsby-plugin-styled-jsx-webpack-loader","blacklist":false,"notified":false}, {"name":"gatsby-plugin-typescript-css-modules","blacklist":false,"notified":false}, {"name":"gatsby-plugin-typescript-scss-modules","blacklist":false,"notified":false}, {"name":"gatsby-plugin-typescript-scss-modules-cjs","blacklist":false,"notified":false}, - {"name":"gatsby-plugin-web-font-loader","blacklist":false,"notified":false}, {"name":"gatsby-plugin-well-known","blacklist":false,"notified":false}, {"name":"gatsby-plugin-zygote","blacklist":false,"notified":false}, + {"name":"gatsby-remark-curlie","blacklist":false,"notified":false}, {"name":"gatsby-remark-frontmatter-defaults","blacklist":false,"notified":false}, {"name":"gatsby-remark-github","blacklist":false,"notified":false}, + {"name":"gatsby-remark-grid-tables","blacklist":false,"notified":false}, {"name":"gatsby-remark-jsx","blacklist":false,"notified":false}, + {"name":"gatsby-remark-prettypaper","blacklist":false,"notified":false}, {"name":"gatsby-remark-visualdocs","blacklist":false,"notified":false}, {"name":"gatsby-source-aem","blacklist":false,"notified":false}, + {"name":"gatsby-source-airtable-linked","blacklist":false,"notified":false}, {"name":"gatsby-source-anilist","blacklist":false,"notified":false}, {"name":"gatsby-source-datocms-graphql-example","blacklist":false,"notified":false}, {"name":"gatsby-source-docgen-requirements","blacklist":false,"notified":false}, @@ -83,24 +93,33 @@ {"name":"gatsby-source-google-drive","blacklist":false,"notified":false}, {"name":"gatsby-source-google-sheet","blacklist":false,"notified":false}, {"name":"gatsby-source-jira","blacklist":false,"notified":false}, + {"name":"gatsby-source-kerckhoff","blacklist":false,"notified":false}, {"name":"gatsby-source-mongo","blacklist":false,"notified":false}, {"name":"gatsby-source-nba","blacklist":false,"notified":false}, {"name":"gatsby-source-newsapi","blacklist":false,"notified":false}, - {"name":"gatsby-source-pinboard","blacklist":false,"notified":false}, + {"name":"gatsby-source-pexels","blacklist":false,"notified":false}, {"name":"gatsby-source-product-markdown","blacklist":false,"notified":false}, + {"name":"gatsby-source-published-google-sheets","blacklist":false,"notified":false}, + {"name":"gatsby-source-remote","blacklist":false,"notified":false}, + {"name":"gatsby-source-sapcc","blacklist":false,"notified":false}, + {"name":"gatsby-source-slack","blacklist":false,"notified":false}, {"name":"gatsby-source-soundcloud","blacklist":false,"notified":false}, {"name":"gatsby-source-steam","blacklist":false,"notified":false}, {"name":"gatsby-source-steem","blacklist":false,"notified":false}, {"name":"gatsby-source-twitch","blacklist":false,"notified":false}, {"name":"gatsby-source-utopian","blacklist":false,"notified":false}, + {"name":"gatsby-source-woocommerce","blacklist":false,"notified":false}, {"name":"gatsby-source-wordpress-bcgdv","blacklist":false,"notified":false}, {"name":"gatsby-source-wordpress-plus","blacklist":false,"notified":false}, + {"name":"gatsby-teamtailor-users","blacklist":false,"notified":false}, {"name":"gatsby-transformer-blog-post","blacklist":false,"notified":false}, {"name":"gatsby-transformer-ipynb","blacklist":false,"notified":false}, {"name":"gatsby-transformer-nimbl","blacklist":false,"notified":false}, {"name":"gatsby-transformer-whoa","blacklist":false,"notified":false}, + {"name":"happo-plugin-gatsby","blacklist":false,"notified":false}, {"name":"js-gatsby-plugin-react-next","blacklist":false,"notified":false}, {"name":"mericsson-gatsby-source-contentful","blacklist":false,"notified":false}, {"name":"react-snipcart","blacklist":false,"notified":false}, + {"name":"smooth-doc","blacklist":false,"notified":false}, {"name":"syncano-gatsby","blacklist":false,"notified":false} ] From 43261e82b7996f1c93031e53487a9d7a04568aec Mon Sep 17 00:00:00 2001 From: Mike Allanson Date: Fri, 7 Dec 2018 17:20:51 +0000 Subject: [PATCH 5/5] Blacklist old internal plugins --- scripts/gatsby-plugin-checker/plugins.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/gatsby-plugin-checker/plugins.json b/scripts/gatsby-plugin-checker/plugins.json index ed186e367eb06..1723ae1ae06e2 100644 --- a/scripts/gatsby-plugin-checker/plugins.json +++ b/scripts/gatsby-plugin-checker/plugins.json @@ -22,8 +22,8 @@ {"name":"@uptimeventures/gatsby-source-rss","blacklist":false,"notified":false}, {"name":"@wyze/preact-testing-library","blacklist":false,"notified":false}, {"name":"development-dashboards-docs","blacklist":false,"notified":false}, - {"name":"gatsby-1-config-css-modules","blacklist":false,"notified":false}, - {"name":"gatsby-1-config-extract-plugin","blacklist":false,"notified":false}, + {"name":"gatsby-1-config-css-modules","blacklist":true,"notified":false}, + {"name":"gatsby-1-config-extract-plugin","blacklist":true,"notified":false}, {"name":"gatsby-directus","blacklist":false,"notified":false}, {"name":"gatsby-matsuri","blacklist":false,"notified":false}, {"name":"gatsby-plugin-adroll","blacklist":false,"notified":false},