Skip to content

Commit

Permalink
fix(rules): add Planetscale
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Sep 5, 2023
1 parent 144f5f8 commit 78c85bd
Show file tree
Hide file tree
Showing 4 changed files with 10 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 @@ -155,6 +155,7 @@ exports[`all > should match everything 1`] = `
"percona",
"pingdom",
"placekit",
"planetscale",
"platformsh",
"plausible",
"postgresql",
Expand Down
1 change: 1 addition & 0 deletions src/rules/db/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import './mongodb.js';
import './mysql.js';
import './neo4j.js';
import './percona.js';
import './planetscale.js';
import './postgres.js';
import './redis.js';
import './snowflake.js';
Expand Down
7 changes: 7 additions & 0 deletions src/rules/db/planetscale.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { register } from '../../register.js';

register({
tech: 'planetscale',
name: 'PlanetScale',
type: 'db',
});
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ export type AllowedKeys =
| 'php'
| 'pingdom'
| 'placekit'
| 'planetscale'
| 'platformsh'
| 'plausible'
| 'postgresql'
Expand Down

0 comments on commit 78c85bd

Please sign in to comment.