Skip to content

Commit

Permalink
fix(rules): add Pingdom
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Sep 2, 2023
1 parent 34bb5f6 commit 9e3cfeb
Show file tree
Hide file tree
Showing 4 changed files with 177 additions and 0 deletions.
158 changes: 158 additions & 0 deletions src/rules/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`all > should match everything 1`] = `
[
"gcp.aiplatform",
"gcp.language",
"gcp.maps",
"gcp.speech",
"gcp.translate",
"gcp.vision",
"caddy",
"httpd",
"kibana",
"nginx",
"zookeeper",
"appveyor",
"azure.ci",
"browserstack",
"circleci",
"cirrusci",
"codesandboxci",
"cypressci",
"dependabot",
"github.actions",
"gitlab.ci",
"jenkins",
"relativeci",
"renovate",
"styleci",
"teamcity",
"travisci",
"aws.dynamodb",
"aws.elasticache",
"aws.rds",
"cassandra",
"cockroachdb",
"couchbase",
"elasticsearch",
"gcp.bigquery",
"gcp.bigtable",
"gcp.datastore",
"gcp.secretmanager",
"gcp.sql",
"hashicorp_vault",
"influxdb",
"mariadb",
"memcached",
"mongodb",
"mysql",
"neo4j",
"percona",
"postgresql",
"redis",
"snowflake",
"sqlite",
"supabase.postgres",
"gcp.dataproc",
"alibabacloud",
"aws.ec2",
"aws",
"aws.lambda",
"azure",
"elasticstack",
"equinix",
"expodev",
"fastly",
"firebase",
"flyio",
"gcp.cloudrun",
"gcp.functions",
"gcp.gce",
"gcp.gke",
"gcp",
"github.pages",
"heroku",
"kubernetes",
"mongodbatlas",
"netlify",
"oraclecloud",
"ovh",
"platformsh",
"render",
"scaleway",
"supabase.functions",
"supabase",
"vercel",
"angular",
"bootstrap",
"esbuild",
"eslint",
"express",
"fastify",
"hotjar",
"koa",
"prettier",
"prisma",
"puppeteer",
"react",
"reactemail",
"rollup",
"sequelize",
"socketio",
"storybook",
"strapi",
"stylelint",
"tailwind",
"typescript",
"vite",
"vue",
"webpack",
"aws.sns",
"aws.sqs",
"gcp.pubsub",
"rabbitmq",
"gcp.dns",
"algolia",
"atlassian",
"auth0",
"datadog",
"deferrun",
"discord",
"github",
"hubspot",
"huggingface",
"logrocket",
"mailjet",
"newrelic",
"okta",
"openai",
"pagerduty",
"pingdom",
"placekit",
"prismacloud",
"resend",
"salesforce",
"sentry",
"shopify",
"slack",
"snyk",
"sqreen",
"zendesk",
"deno",
"docker",
"golang",
"nodejs",
"ruby",
"rust",
"terraform",
"aws.glacier",
"aws.s3",
"gcp.gcs",
"supabase.storage",
"gcp.cloudbuild",
"gitlab",
"helm",
"terragrunt",
]
`;
11 changes: 11 additions & 0 deletions src/rules/index.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { describe, expect, it } from 'vitest';

import { registeredTech } from '../register.js';

import '../autoload.js';

describe('all', () => {
it('should match everything', async () => {
expect(Array.from(registeredTech.values())).toMatchSnapshot();
});
});
1 change: 1 addition & 0 deletions src/rules/saas/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import './newrelic.js';
import './okta.js';
import './openai.js';
import './pagerduty.js';
import './pingdom.js';
import './placekit.js';
import './prismacloud.js';
import './resend.js';
Expand Down
7 changes: 7 additions & 0 deletions src/rules/saas/pingdom.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { register } from '../../register.js';

register({
tech: 'pingdom',
name: 'Pingdom',
type: 'saas',
});

0 comments on commit 9e3cfeb

Please sign in to comment.