Skip to content

Commit

Permalink
fix(rules): add Atlassian Trello
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 31, 2023
1 parent 9b44546 commit 5233bad
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 1 deletion.
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 @@ -35,6 +35,7 @@ exports[`all > should match everything 1`] = `
"atlassian.confluence",
"atlassian.jira",
"atlassian.opsgenie",
"atlassian.trello",
"auth0",
"aws",
"aws.amplifyhosting",
Expand Down
15 changes: 15 additions & 0 deletions src/rules/saas/atlassian.trello.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { register } from '../../register.js';

register({
tech: 'atlassian.trello',
name: 'Atlassian Trello',
type: 'saas',
dependencies: [
{ type: 'npm', name: 'trello' },
{ type: 'npm', name: 'react-trello' },
{ type: 'npm', name: 'node-trello' },
{ type: 'ruby', name: 'ruby-trello' },
{ type: 'php', name: 'cdaguerre/php-trello-api' },
{ type: 'githubAction', name: 'jessicazu/trello-github-actions' },
],
});
3 changes: 2 additions & 1 deletion src/rules/saas/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import './airtable.js';
import './algolia.js';
import './auth0.js';
import './atlassian.confluence.js';
import './atlassian.jira.js';
import './atlassian.opsgenie.js';
import './atlassian.trello.js';
import './bigcommerce.js';
import './bitbucket.js';
import './box.js';
Expand All @@ -31,7 +33,6 @@ import './hypertune.js';
import './iftt.js';
import './intercom.js';
import './intuit.js';
import './atlassian.jira.js';
import './klarna.js';
import './klaviyo.js';
import './launchdarkly.js';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ exports[`docker > should match all dependencies 1`] = `
"atlassian",
"atlassian.confluence",
"atlassian.jira",
"atlassian.trello",
"aws",
"aws.cloudformation",
"aws.cloudfront",
Expand Down Expand Up @@ -519,6 +520,11 @@ exports[`docker > should match all dependencies 2`] = `
"jeffreytse/jekyll-deploy-action",
"1",
],
[
"githubAction",
"jessicazu/trello-github-actions",
"1",
],
[
"githubAction",
"jonelantha/gatsby-s3-action",
Expand Down
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 @@ -17,6 +17,7 @@ exports[`npm > should match everything 1`] = `
"atlassian.confluence",
"atlassian.jira",
"atlassian.opsgenie",
"atlassian.trello",
"auth0",
"aws",
"aws.amplifyhosting",
Expand Down Expand Up @@ -2024,6 +2025,11 @@ exports[`npm > should match everything 2`] = `
"node-telegram-bot-api",
"0.0.0",
],
[
"npm",
"node-trello",
"0.0.0",
],
[
"npm",
"node-zendesk",
Expand Down Expand Up @@ -2194,6 +2200,11 @@ exports[`npm > should match everything 2`] = `
"react-instantsearch",
"0.0.0",
],
[
"npm",
"react-trello",
"0.0.0",
],
[
"npm",
"react-use-intercom",
Expand Down Expand Up @@ -2324,6 +2335,11 @@ exports[`npm > should match everything 2`] = `
"thrift",
"0.0.0",
],
[
"npm",
"trello",
"0.0.0",
],
[
"npm",
"twilio",
Expand Down
6 changes: 6 additions & 0 deletions src/rules/spec/php/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ exports[`php > should match everything 1`] = `
"apiplatform",
"atlassian",
"atlassian.jira",
"atlassian.trello",
"auth0",
"aws",
"aws.cloudfront",
Expand Down Expand Up @@ -284,6 +285,11 @@ exports[`php > should match everything 2`] = `
"cartalyst/stripe",
"0.0.0",
],
[
"php",
"cdaguerre/php-trello-api",
"0.0.0",
],
[
"php",
"cloudflare/sdk",
Expand Down
6 changes: 6 additions & 0 deletions src/rules/spec/ruby/__snapshots__/lockfile.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ exports[`ruby (component) > should match everything 1`] = `
"apache_kafka",
"atlassian",
"atlassian.jira",
"atlassian.trello",
"auth0",
"aws",
"aws.apigateway",
Expand Down Expand Up @@ -956,6 +957,11 @@ exports[`ruby (component) > should match everything 2`] = `
"ruby-mysql",
"1.0.0",
],
[
"ruby",
"ruby-trello",
"1.0.0",
],
[
"ruby",
"scout_apm",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export type AllowedKeys =
| 'atlassian.confluence'
| 'atlassian.jira'
| 'atlassian.opsgenie'
| 'atlassian.trello'
| 'atlassian'
| 'auth0'
| 'aws.amplifyhosting'
Expand Down

0 comments on commit 5233bad

Please sign in to comment.