Skip to content

Commit

Permalink
fix(rules): add Atlassian OpsGenie
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 31, 2023
1 parent d48910a commit 910480e
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 2 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 @@ -32,6 +32,7 @@ exports[`all > should match everything 1`] = `
"astro",
"atlasgo",
"atlassian",
"atlassian.opsgenie",
"auth0",
"aws",
"aws.amplifyhosting",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import { register } from '../../register.js';
register({
tech: 'atlassian',
name: 'Atlassian',
type: 'saas',
type: 'cloud',
});
1 change: 1 addition & 0 deletions src/rules/cloud/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import './adobecommercecloud.js';
import './alibabacloud.js';
import './atlassian.js';
import './aws.js';
import './azure.js';
import './cloudflare.js';
Expand Down
11 changes: 11 additions & 0 deletions src/rules/saas/atlassian.opsgenie.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { register } from '../../register.js';

register({
tech: 'atlassian.opsgenie',
name: 'Atlassian OpsGenie',
type: 'saas',
dependencies: [
{ type: 'npm', name: 'opsgenie-sdk' },
{ type: 'npm', name: '@pulumi/opsgenie' },
],
});
2 changes: 1 addition & 1 deletion src/rules/saas/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import './adobe.js';
import './adyen.js';
import './airtable.js';
import './algolia.js';
import './atlassian.js';
import './auth0.js';
import './atlassian.opsgenie.js';
import './bigcommerce.js';
import './bitbucket.js';
import './box.js';
Expand Down
12 changes: 12 additions & 0 deletions src/rules/spec/nodejs/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ exports[`npm > should match everything 1`] = `
"apiplatform",
"assemble",
"astro",
"atlassian",
"atlassian.opsgenie",
"auth0",
"aws",
"aws.amplifyhosting",
Expand Down Expand Up @@ -1191,6 +1193,11 @@ exports[`npm > should match everything 2`] = `
"@placekit/client-js",
"0.0.0",
],
[
"npm",
"@pulumi/opsgenie",
"0.0.0",
],
[
"npm",
"@railway/cli",
Expand Down Expand Up @@ -2046,6 +2053,11 @@ exports[`npm > should match everything 2`] = `
"opentelemetry-instrumentation-kafkajs",
"0.0.0",
],
[
"npm",
"opsgenie-sdk",
"0.0.0",
],
[
"npm",
"paypal-rest-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 @@ -46,6 +46,7 @@ export type AllowedKeys =
| 'assemble'
| 'astro'
| 'atlasgo'
| 'atlassian.opsgenie'
| 'atlassian'
| 'auth0'
| 'aws.amplifyhosting'
Expand Down

0 comments on commit 910480e

Please sign in to comment.