Skip to content

Commit

Permalink
fix(rules): add some cloud version
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 13, 2023
1 parent 9363f32 commit 7c69754
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rules/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ exports[`all > should match everything 1`] = `
"mariadb",
"matomo",
"meilisearch",
"meilisearchcloud",
"memcached",
"meteorjs",
"mithriljs",
Expand Down Expand Up @@ -337,6 +338,7 @@ exports[`all > should match everything 1`] = `
"twitter",
"typescript",
"typesense",
"typesensecloud",
"upstash",
"upstash.kafka",
"upstash.qstash",
Expand Down
2 changes: 2 additions & 0 deletions src/rules/db/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import './hashicorp_vault.js';
import './influxdb.js';
import './mariadb.js';
import './meilisearch.js';
import './meilisearchcloud.js';
import './memcached.js';
import './mongodb.js';
import './mysql.js';
Expand All @@ -51,6 +52,7 @@ import './snowflake.js';
import './sqlite.js';
import './supabase.postgres.js';
import './typesense.js';
import './typesensecloud.js';
import './upstash.redis.js';
import './vercel.blob.js';
import './vercel.kv.js';
Expand Down
7 changes: 7 additions & 0 deletions src/rules/db/meilisearchcloud.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { register } from '../../register.js';

register({
tech: 'meilisearchcloud',
name: 'Meilisearch Cloud',
type: 'db',
});
7 changes: 7 additions & 0 deletions src/rules/db/typesensecloud.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { register } from '../../register.js';

register({
tech: 'typesensecloud',
name: 'Typesense Cloud',
type: 'db',
});
2 changes: 2 additions & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export type AllowedKeys =
| 'mariadb'
| 'matomo'
| 'meilisearch'
| 'meilisearchcloud'
| 'memcached'
| 'meteorjs'
| 'mithriljs'
Expand Down Expand Up @@ -359,6 +360,7 @@ export type AllowedKeys =
| 'twitter'
| 'typescript'
| 'typesense'
| 'typesensecloud'
| 'upstash.kafka'
| 'upstash.qstash'
| 'upstash.redis'
Expand Down

0 comments on commit 7c69754

Please sign in to comment.