Skip to content

Commit

Permalink
fix(rules): add Tencent Cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Sep 4, 2023
1 parent b3dd1bc commit 9ca03d1
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 @@ -176,6 +176,7 @@ exports[`all > should match everything 1`] = `
"supabase.storage",
"tailwind",
"teamcity",
"tencentcloud",
"terraform",
"terragrunt",
"travisci",
Expand Down
1 change: 1 addition & 0 deletions src/rules/hosting/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ import './render.js';
import './scaleway.js';
import './supabase.functions.js';
import './supabase.js';
import './tencentcloud.js';
import './vercel.js';
13 changes: 13 additions & 0 deletions src/rules/hosting/tencentcloud.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { register } from '../../register.js';

register({
tech: 'tencentcloud',
name: 'Tencent Cloud',
type: 'hosting',
dependencies: [
{
type: 'terraform',
name: 'registry.terraform.io/tencentcloudstack/tencentcloud',
},
],
});
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ exports[`terraform (lockfile) > should match everything 1`] = `
"snowflake",
"snyk",
"splunk",
"tencentcloud",
"terraform",
"vercel",
]
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ export type AllowedKeys =
| 'swift'
| 'tailwind'
| 'teamcity'
| 'tencentcloud'
| 'terraform'
| 'terragrunt'
| 'traefik'
Expand Down

0 comments on commit 9ca03d1

Please sign in to comment.