Skip to content

Commit

Permalink
fix(rules): add Adyen
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 12, 2023
1 parent ea48763 commit 8dc48f6
Show file tree
Hide file tree
Showing 7 changed files with 69 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 @@ -4,6 +4,7 @@ exports[`all > should match everything 1`] = `
[
"adobe",
"adobecommercecloud",
"adyen",
"airbyte",
"airtable",
"algolia",
Expand Down
18 changes: 18 additions & 0 deletions src/rules/saas/adyen.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { register } from '../../register.js';

register({
tech: 'adyen',
name: 'Adyen',
type: 'saas',
dependencies: [
{ type: 'npm', name: '@adyen/adyen-web' },
{ type: 'npm', name: '@adyen/api-library' },
{ type: 'npm', name: '@adyen/react-native' },
{ type: 'php', name: 'adyen/php-api-library' },
{ type: 'php', name: 'adyen/module-payment' },
{ type: 'php', name: 'adyen/php-webhook-module' },
{ type: 'ruby', name: 'adyen' },
{ type: 'ruby', name: 'adyen-ruby-api-library' },
{ type: 'ruby', name: 'adyen-cse-ruby' },
],
});
1 change: 1 addition & 0 deletions src/rules/saas/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import './adobe.js';
import './adyen.js';
import './airtable.js';
import './algolia.js';
import './atlassian.js';
Expand Down
16 changes: 16 additions & 0 deletions src/rules/spec/nodejs/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

exports[`npm > should match everything 1`] = `
[
"adyen",
"airtable",
"algolia",
"alpinejs",
Expand Down Expand Up @@ -233,6 +234,21 @@ exports[`npm > should match everything 2`] = `
"@adobe/magento-storefront-events-sdk",
"0.0.0",
],
[
"npm",
"@adyen/adyen-web",
"0.0.0",
],
[
"npm",
"@adyen/api-library",
"0.0.0",
],
[
"npm",
"@adyen/react-native",
"0.0.0",
],
[
"npm",
"@algolia/client",
Expand Down
16 changes: 16 additions & 0 deletions src/rules/spec/php/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

exports[`php > should match everything 1`] = `
[
"adyen",
"airtable",
"algolia",
"alibabacloud",
Expand Down Expand Up @@ -129,6 +130,21 @@ exports[`php > should match everything 2`] = `
"adilbaig/pagerduty",
"0.0.0",
],
[
"php",
"adyen/module-payment",
"0.0.0",
],
[
"php",
"adyen/php-api-library",
"0.0.0",
],
[
"php",
"adyen/php-webhook-module",
"0.0.0",
],
[
"php",
"alek13/slack",
Expand Down
16 changes: 16 additions & 0 deletions src/rules/spec/ruby/__snapshots__/lockfile.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

exports[`ruby (component) > should match everything 1`] = `
[
"adyen",
"algolia",
"auth0",
"aws",
Expand Down Expand Up @@ -148,6 +149,21 @@ exports[`ruby (component) > should match everything 2`] = `
"MailchimpTransactional",
"1.0.0",
],
[
"ruby",
"adyen",
"1.0.0",
],
[
"ruby",
"adyen-cse-ruby",
"1.0.0",
],
[
"ruby",
"adyen-ruby-api-library",
"1.0.0",
],
[
"ruby",
"algolia",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export type TechType =
export type AllowedKeys =
| 'adobe'
| 'adobecommercecloud'
| 'adyen'
| 'airbyte'
| 'airtable'
| 'algolia'
Expand Down

0 comments on commit 8dc48f6

Please sign in to comment.