Skip to content

Commit

Permalink
fix(rules): add Adobe
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Sep 2, 2023
1 parent 9e3cfeb commit 4cea447
Show file tree
Hide file tree
Showing 5 changed files with 119 additions and 109 deletions.
217 changes: 109 additions & 108 deletions src/rules/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,157 +2,158 @@

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

describe('all', () => {
it('should match everything', async () => {
expect(Array.from(registeredTech.values())).toMatchSnapshot();
expect(Array.from(registeredTech.values()).sort()).toMatchSnapshot();
});
});
7 changes: 7 additions & 0 deletions src/rules/saas/adobe.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { register } from '../../register.js';

register({
tech: 'adobe',
name: 'Adobe',
type: 'saas',
});
1 change: 1 addition & 0 deletions src/rules/saas/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import './adobe.js';
import './algolia.js';
import './atlassian.js';
import './auth0.js';
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export type TechType =
| 'tool';

export type AllowedKeys =
| 'adobe'
| 'algolia'
| 'alibabacloud'
| 'angular'
Expand Down

0 comments on commit 4cea447

Please sign in to comment.