Skip to content

Commit

Permalink
fix: namespace Vault to avoid conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Aug 7, 2023
1 parent d816405 commit 4f0ac2e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/common/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export const list: TechItem[] = [
{ key: 'github.actions', name: 'Github Actions', type: 'ci' },
{ key: 'github.pages', name: 'Github Pages', type: 'hosting' },
{ key: 'golang', name: 'Go', type: 'language' },
{ key: 'hashicorp_vault', name: 'Vault', type: 'db' },
{ key: 'helm', name: 'Helm', type: 'tool' },
{ key: 'heroku', name: 'Heroku', type: 'hosting' },
{ key: 'hotjar', name: 'Hotjar', type: 'sass' },
Expand Down Expand Up @@ -134,7 +135,6 @@ export const list: TechItem[] = [
{ key: 'traefik', name: 'Traefik', type: 'tool' },
{ key: 'travisci', name: 'TravisCI', type: 'ci' },
{ key: 'typescript', name: 'Typescript', type: 'language' },
{ key: 'vault', name: 'Vault', type: 'db' },
{ key: 'vercel', name: 'Vercel', type: 'hosting' },
{ key: 'vite', name: 'Vite', type: 'tool' },
{ key: 'vue', name: 'Vue', type: 'language' },
Expand Down
2 changes: 1 addition & 1 deletion src/rules/db/vault.ts → src/rules/db/hashicorp_vault.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { register } from '../../rules.js';

register({
tech: 'vault',
tech: 'hashicorp_vault',
dependencies: [
{ type: 'docker', name: /vault/, example: 'vault:0.0.0' },
{ type: 'terraform', name: 'registry.terraform.io/hashicorp/vault' },
Expand Down
2 changes: 1 addition & 1 deletion src/rules/db/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ import './postgres.js';
import './redis.js';
import './sqlite.js';
import './snowflake.js';
import './vault.js';
import './hashicorp.vault.js';
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ exports[`docker > should match everything 1`] = `
"cypressci",
"docker",
"elasticsearch",
"hashicorp_vault",
"httpd",
"influxdb",
"jenkins",
Expand All @@ -26,7 +27,6 @@ exports[`docker > should match everything 1`] = `
"rabbitmq",
"redis",
"strapi",
"vault",
"zookeeper",
]
`;
2 changes: 1 addition & 1 deletion src/rules/spec/rust/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Set {
"redis",
"sqlite",
"snowflake",
"vault",
"hashicorp_vault",
"fastly",
"rabbitmq",
"gcp.pubsub",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ exports[`terraform (lockfile) > should match everything 1`] = `
"gcp",
"github",
"gitlab",
"hashicorp_vault",
"helm",
"heroku",
"kubernetes",
Expand All @@ -30,7 +31,6 @@ exports[`terraform (lockfile) > should match everything 1`] = `
"snowflake",
"snyk",
"terraform",
"vault",
"vercel",
]
`;
Expand Down
2 changes: 1 addition & 1 deletion src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export type AllowedKeys =
| 'gitlab.ci'
| 'gitlab'
| 'golang'
| 'hashicorp_vault'
| 'helm'
| 'heroku'
| 'hotjar'
Expand Down Expand Up @@ -144,7 +145,6 @@ export type AllowedKeys =
| 'traefik'
| 'travisci'
| 'typescript'
| 'vault'
| 'vercel'
| 'vite'
| 'vue'
Expand Down

0 comments on commit 4f0ac2e

Please sign in to comment.