Skip to content

Commit

Permalink
feat: add versioning to plugins.json (#3035)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky authored Jul 29, 2021
1 parent cafd228 commit 6a8a480
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/init/plugins.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const pluginsList = require('@netlify/plugins-list')
const fetch = require('node-fetch')

const PLUGINS_LIST_URL = 'https://netlify-plugins.netlify.app/plugins.json'
const PLUGINS_LIST_VERSION = 'v1'
const PLUGINS_LIST_URL = `https://${PLUGINS_LIST_VERSION}--netlify-plugins.netlify.app/plugins.json`
// 1 minute
const PLUGINS_LIST_TIMEOUT = 6e4

Expand Down

1 comment on commit 6a8a480

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

Package size: 331 MB

Please sign in to comment.