Skip to content

Commit

Permalink
fix(rules): add Teamspeak
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 23, 2023
1 parent 6910816 commit 252f273
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 @@ -382,6 +382,7 @@ exports[`all > should match everything 1`] = `
"symfony",
"tailwind",
"teamcity",
"teamspeak",
"telegraf",
"telegram",
"tencentcloud",
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,6 +7,7 @@ import './haproxy.js';
import './kibana.js';
import './kong.js';
import './nginx.js';
import './teamspeak.js';
import './telegraf.js';
import './traefik.js';
import './zookeeper.js';
8 changes: 8 additions & 0 deletions src/rules/app/teamspeak.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { register } from '../../register.js';

register({
tech: 'teamspeak',
name: 'Teamspeak',
type: 'app',
dependencies: [{ type: 'docker', name: 'teamspeak' }],
});
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 @@ -86,6 +86,7 @@ exports[`docker > should match everything 1`] = `
"supabase.postgres",
"supabase.realtime",
"supabase.storage",
"teamspeak",
"telegraf",
"telegram",
"tensorflow",
Expand Down Expand Up @@ -680,6 +681,11 @@ exports[`docker > should match everything 2`] = `
"supabase/storage-api",
"0.0.0",
],
[
"docker",
"teamspeak",
"0.0.0",
],
[
"docker",
"telegraf",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ export type AllowedKeys =
| 'tailscale'
| 'tailwind'
| 'teamcity'
| 'teamspeak'
| 'telegraf'
| 'telegram'
| 'tencentcloud'
Expand Down

0 comments on commit 252f273

Please sign in to comment.