Skip to content

Commit

Permalink
fix(rules): add Apache CouchDB
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Sep 3, 2023
1 parent a3b838d commit 1ff6a0b
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 @@ -10,6 +10,7 @@ exports[`all > should match everything 1`] = `
"amplitude",
"angular",
"apache_airflow",
"apache_couchdb",
"apache_spark",
"appveyor",
"atlassian",
Expand Down
8 changes: 8 additions & 0 deletions src/rules/db/apache_couchdb.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { register } from '../../register.js';

register({
tech: 'apache_couchdb',
name: 'Apache CouchDB',
type: 'db',
dependencies: [{ type: 'docker', name: 'apache/couchdb' }],
});
1 change: 1 addition & 0 deletions src/rules/db/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import './apache_couchdb.js';
import './apache_spark.js';
import './aws.dynamodb.js';
import './aws.elasticache.js';
Expand Down
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 @@ -4,6 +4,7 @@ exports[`docker > should match everything 1`] = `
[
"airbyte",
"apache_airflow",
"apache_couchdb",
"apache_spark",
"aws",
"aws.dynamodb",
Expand Down Expand Up @@ -73,6 +74,11 @@ exports[`docker > should match everything 2`] = `
"apache/airflow",
"0.0.0",
],
[
"docker",
"apache/couchdb",
"0.0.0",
],
[
"docker",
"apache/spark",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export type AllowedKeys =
| 'amplitude'
| 'angular'
| 'apache_airflow'
| 'apache_couchdb'
| 'apache_spark'
| 'appveyor'
| 'atlassian'
Expand Down

0 comments on commit 1ff6a0b

Please sign in to comment.