Skip to content

Commit

Permalink
fix(rules): add Mattermost
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 31, 2023
1 parent dcfcf29 commit d48910a
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ exports[`all > should match everything 1`] = `
"mailjet",
"mariadb",
"matomo",
"mattermost",
"meilisearch",
"meilisearchcloud",
"memcached",
Expand Down
1 change: 1 addition & 0 deletions src/rules/saas/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import './logrocket.js';
import './mailchimp.js';
import './mailgun.js';
import './mailjet.js';
import './mattermost.js';
import './notion.js';
import './okta.js';
import './openai.js';
Expand Down
12 changes: 12 additions & 0 deletions src/rules/saas/mattermost.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { register } from '../../register.js';

register({
tech: 'mattermost',
name: 'Mattermost',
type: 'saas',
dependencies: [
{ type: 'npm', name: 'mattermost-client' },
{ type: 'npm', name: '@mattermost/client' },
{ type: 'npm', name: 'hubot-matteruser' },
],
});
16 changes: 16 additions & 0 deletions src/rules/spec/nodejs/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ exports[`npm > should match everything 1`] = `
"mailgun",
"mailjet",
"mariadb",
"mattermost",
"meilisearch",
"memcached",
"meteorjs",
Expand Down Expand Up @@ -1070,6 +1071,11 @@ exports[`npm > should match everything 2`] = `
"@mailchimp/mailchimp_transactional",
"0.0.0",
],
[
"npm",
"@mattermost/client",
"0.0.0",
],
[
"npm",
"@meilisearch/instant-meilisearch",
Expand Down Expand Up @@ -1780,6 +1786,11 @@ exports[`npm > should match everything 2`] = `
"hexo",
"0.0.0",
],
[
"npm",
"hubot-matteruser",
"0.0.0",
],
[
"npm",
"hugo-extended",
Expand Down Expand Up @@ -1890,6 +1901,11 @@ exports[`npm > should match everything 2`] = `
"mariadb",
"0.0.0",
],
[
"npm",
"mattermost-client",
"0.0.0",
],
[
"npm",
"meilisearch",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ export type AllowedKeys =
| 'mailjet'
| 'mariadb'
| 'matomo'
| 'mattermost'
| 'meilisearch'
| 'meilisearchcloud'
| 'memcached'
Expand Down

0 comments on commit d48910a

Please sign in to comment.