Skip to content

Commit

Permalink
fix(rules): add OpenAI
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Aug 21, 2023
1 parent 8323512 commit f487888
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/saas/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import './logrocket.js';
import './mailjet.js';
import './newrelic.js';
import './okta.js';
import './openai.js';
import './pagerduty.js';
import './prismacloud.js';
import './resend.js';
Expand Down
8 changes: 8 additions & 0 deletions src/rules/saas/openai.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { register } from '../../register.js';

register({
tech: 'openai',
name: 'Openai',
type: 'saas',
dependencies: [{ type: 'npm', name: 'openai' }],
});
1 change: 1 addition & 0 deletions src/rules/spec/nodejs/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ exports[`npm > should match everything 1`] = `
"netlify",
"newrelic",
"okta",
"openai",
"oraclecloud",
"ovh",
"pagerduty",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export type AllowedKeys =
| 'nginx'
| 'nodejs'
| 'okta'
| 'openai'
| 'oraclecloud'
| 'ovh'
| 'pagerduty'
Expand Down

0 comments on commit f487888

Please sign in to comment.