Skip to content

Commit

Permalink
fix(rules): add DuckDB
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 31, 2023
1 parent 8d74b59 commit 1b9fdec
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 @@ -146,6 +146,7 @@ exports[`all > should match everything 1`] = `
"droneci",
"dropbox",
"drupal",
"duckdb",
"dynatrace",
"elasticcloud",
"elasticsearch",
Expand Down
8 changes: 8 additions & 0 deletions src/rules/db/duckdb.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { register } from '../../register.js';

register({
tech: 'duckdb',
name: 'DuckDB',
type: 'db',
dependencies: [{ type: 'npm', name: 'duckdb' }],
});
1 change: 1 addition & 0 deletions src/rules/db/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import './gcp.secretmanager.js';
import './gcp.sql.js';
import './gcp.spanner.js';
import './hashicorp_vault.js';
import './duckdb.js';
import './influxdb.js';
import './mariadb.js';
import './meilisearch.js';
Expand Down
6 changes: 6 additions & 0 deletions src/rules/spec/nodejs/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ exports[`npm > should match everything 1`] = `
"discord",
"docusaurus",
"docusign",
"duckdb",
"dynatrace",
"elasticsearch",
"electron",
Expand Down Expand Up @@ -1691,6 +1692,11 @@ exports[`npm > should match everything 2`] = `
"docusign-esign",
"0.0.0",
],
[
"npm",
"duckdb",
"0.0.0",
],
[
"npm",
"electron",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ export type AllowedKeys =
| 'droneci'
| 'dropbox'
| 'drupal'
| 'duckdb'
| 'dynatrace'
| 'elasticcloud'
| 'elasticsearch'
Expand Down

0 comments on commit 1b9fdec

Please sign in to comment.