diff --git a/src/rules/hosting/index.ts b/src/rules/hosting/index.ts index 953c8eb7..011739e2 100644 --- a/src/rules/hosting/index.ts +++ b/src/rules/hosting/index.ts @@ -27,4 +27,5 @@ import './ovh.js'; import './platformsh.js'; import './render.js'; import './scaleway.js'; +import './supabase.js'; import './vercel.js'; diff --git a/src/rules/hosting/supabase.ts b/src/rules/hosting/supabase.ts new file mode 100644 index 00000000..8a5595f4 --- /dev/null +++ b/src/rules/hosting/supabase.ts @@ -0,0 +1,10 @@ +import { register } from '../../register.js'; + +register({ + tech: 'supabase', + name: 'Supabase', + type: 'hosting', + dependencies: [ + { type: 'npm', name: /^@scaleway\//, example: '@supabase/supabase.js' }, + ], +}); diff --git a/src/rules/spec/nodejs/__snapshots__/component.test.ts.snap b/src/rules/spec/nodejs/__snapshots__/component.test.ts.snap index 00eb11b1..bc37edde 100644 --- a/src/rules/spec/nodejs/__snapshots__/component.test.ts.snap +++ b/src/rules/spec/nodejs/__snapshots__/component.test.ts.snap @@ -95,6 +95,7 @@ exports[`npm > should match everything 1`] = ` "sqreen", "storybook", "strapi", + "supabase", "tailwind", "typescript", "vercel", @@ -401,6 +402,11 @@ exports[`npm > should match everything 2`] = ` "@strapi/strapi", "0.0.0", ], + [ + "npm", + "@supabase/supabase.js", + "0.0.0", + ], [ "npm", "algoliasearch", diff --git a/src/types/techs.ts b/src/types/techs.ts index 9c3eb3ef..1b57008c 100644 --- a/src/types/techs.ts +++ b/src/types/techs.ts @@ -171,6 +171,7 @@ export type AllowedKeys = | 'strapi' | 'styleci' | 'stylelint' + | 'supabase' | 'swift' | 'tailwind' | 'teamcity'