Skip to content

Commit

Permalink
fix(rules): add Dynatrace
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Sep 4, 2023
1 parent 736f516 commit 5395ba3
Show file tree
Hide file tree
Showing 5 changed files with 23 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 @@ -60,6 +60,7 @@ exports[`all > should match everything 1`] = `
"docker",
"docusign",
"dropbox",
"dynatrace",
"elasticsearch",
"elasticstack",
"equinix",
Expand Down
14 changes: 14 additions & 0 deletions src/rules/saas/dynatrace.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { register } from '../../register.js';

register({
tech: 'dynatrace',
name: 'Dynatrace',
type: 'saas',
dependencies: [
{
type: 'npm',
name: /^@dynatrace\//,
example: '@dynatrace/opentelemetry-core',
},
],
});
1 change: 1 addition & 0 deletions src/rules/saas/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import './deferrun.js';
import './discord.js';
import './docusign.js';
import './dropbox.js';
import './dynatrace.js';
import './fabric.js';
import './figma.js';
import './gitbook.js';
Expand Down
6 changes: 6 additions & 0 deletions src/rules/spec/nodejs/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ exports[`npm > should match everything 1`] = `
"deferrun",
"discord",
"docusign",
"dynatrace",
"elasticsearch",
"esbuild",
"eslint",
Expand Down Expand Up @@ -231,6 +232,11 @@ exports[`npm > should match everything 2`] = `
"@docsearch/react",
"0.0.0",
],
[
"npm",
"@dynatrace/opentelemetry-core",
"0.0.0",
],
[
"npm",
"@elastic/elasticsearch",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export type AllowedKeys =
| 'docker'
| 'docusign'
| 'dropbox'
| 'dynatrace'
| 'elasticloud'
| 'elasticsearch'
| 'elasticstack'
Expand Down

0 comments on commit 5395ba3

Please sign in to comment.