Skip to content

Commit

Permalink
fix(rules): add Telegraf
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 23, 2023
1 parent ca6bb32 commit 3045a83
Show file tree
Hide file tree
Showing 5 changed files with 17 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 @@ -363,6 +363,7 @@ exports[`all > should match everything 1`] = `
"symfony",
"tailwind",
"teamcity",
"telegraf",
"telegram",
"tencentcloud",
"tensorflow",
Expand Down
1 change: 1 addition & 0 deletions src/rules/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ import './haproxy.js';
import './kibana.js';
import './kong.js';
import './nginx.js';
import './telegraf.js';
import './traefik.js';
import './zookeeper.js';
8 changes: 8 additions & 0 deletions src/rules/app/telegraf.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { register } from '../../register.js';

register({
tech: 'telegraf',
name: 'Telegraf',
type: 'app',
dependencies: [{ type: 'docker', name: 'telegraf' }],
});
6 changes: 6 additions & 0 deletions src/rules/spec/docker/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ exports[`docker > should match everything 1`] = `
"supabase.postgres",
"supabase.realtime",
"supabase.storage",
"telegraf",
"telegram",
"tensorflow",
"traefik",
Expand Down Expand Up @@ -570,6 +571,11 @@ exports[`docker > should match everything 2`] = `
"supabase/storage-api",
"0.0.0",
],
[
"docker",
"telegraf",
"0.0.0",
],
[
"docker",
"tensorflow/tensorflow",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ export type AllowedKeys =
| 'tailscale'
| 'tailwind'
| 'teamcity'
| 'telegraf'
| 'telegram'
| 'tencentcloud'
| 'tensorflow'
Expand Down

0 comments on commit 3045a83

Please sign in to comment.