Skip to content

Commit

Permalink
fix(rules): add Tinybirdco
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Sep 5, 2023
1 parent 1d94ad6 commit 21a6b66
Show file tree
Hide file tree
Showing 5 changed files with 34 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 @@ -206,6 +206,7 @@ exports[`all > should match everything 1`] = `
"tencentcloud",
"terraform",
"terragrunt",
"tinybird",
"travisci",
"twilio",
"twitter",
Expand Down
1 change: 1 addition & 0 deletions src/rules/analytics/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ import './googleanalytics.js';
import './logsnag.js';
import './mixpanel.js';
import './plausible.js';
import './tinybird.js';
import './vercel.analytics.js';
14 changes: 14 additions & 0 deletions src/rules/analytics/tinybird.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { register } from '../../register.js';

register({
tech: 'tinybird',
name: 'Tinybird',
type: 'analytics',
dependencies: [
{
type: 'npm',
name: /^@tinybirdco\//,
example: '@tinybirdco/next-tinybird',
},
],
});
17 changes: 17 additions & 0 deletions src/rules/spec/nodejs/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ exports[`npm > should match everything 1`] = `
"angular",
"auth0",
"aws",
"aws.amplify_hosting",
"aws.dynamodb",
"aws.ec2",
"aws.ecs",
Expand Down Expand Up @@ -128,6 +129,7 @@ exports[`npm > should match everything 1`] = `
"supabase.storage",
"sveltejs",
"tailwind",
"tinybird",
"twilio",
"typescript",
"vercel",
Expand Down Expand Up @@ -165,6 +167,11 @@ exports[`npm > should match everything 2`] = `
"@auth0/auth0-react",
"0.0.0",
],
[
"npm",
"@aws-amplify/ui-react",
"0.0.0",
],
[
"npm",
"@aws-sdk/client-dynamodb-streams",
Expand Down Expand Up @@ -545,6 +552,11 @@ exports[`npm > should match everything 2`] = `
"@sveltejs/vite-plugin-svelte",
"0.0.0",
],
[
"npm",
"@tinybirdco/next-tinybird",
"0.0.0",
],
[
"npm",
"@twilio/cli-core",
Expand Down Expand Up @@ -610,6 +622,11 @@ exports[`npm > should match everything 2`] = `
"auth0",
"0.0.0",
],
[
"npm",
"aws-amplify",
"0.0.0",
],
[
"npm",
"aws-sdk",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ export type AllowedKeys =
| 'tencentcloud'
| 'terraform'
| 'terragrunt'
| 'tinybird'
| 'traefik'
| 'travisci'
| 'twilio'
Expand Down

0 comments on commit 21a6b66

Please sign in to comment.