Skip to content

Commit

Permalink
feat(build): add tracking for netlify maintained extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
YujohnNattrass committed Nov 21, 2024
1 parent ef92c48 commit 8077e5b
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion packages/build/src/plugins/internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,29 @@ const NETLIFY_MAINTAINED_PLUGINS = new Set([
'netlify_plugin_gatsby',
])

const NETLIFY_MAINTAINED_EXTENSIONS = new Set([
'content-security-policy-buildhooks',
'contentful-buildhooks',
'planetscale-buildhooks',
'okta-buildhooks',
'wordpress-content-buildhooks',
'agility-content-buildhooks',
'shopify-content-buildhooks',
'aem-content-buildhooks',
'drupal-content-buildhooks',
'supabase-buildhooks',
'contentstack-content-buildhooks',
'async-workloads-buildhooks',
'turso-buildhooks',
'lambda-test-buildhooks',
'bluesky-custom-domain-buildhooks',
'launchdarkly-buildhooks',
'sfcc-content-buildhooks',
'commercetools-content-buildhooks',
'optimizely-edge-delivery-buildhooks',
// TODO REMOVE THIS
'a9jefvgl-fail-build-extension-buildhooks',
])

export const isNetlifyMaintainedPlugin = (pluginPackage: string): boolean =>
NETLIFY_MAINTAINED_PLUGINS.has(pluginPackage)
NETLIFY_MAINTAINED_PLUGINS.has(pluginPackage) || NETLIFY_MAINTAINED_EXTENSIONS.has(pluginPackage)

0 comments on commit 8077e5b

Please sign in to comment.