Skip to content

Commit

Permalink
fix(rules): add HuggingFace
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Aug 21, 2023
1 parent 7344c2c commit e37651f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/rules/saas/huggingface.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { register } from '../../register.js';

register({
tech: 'huggingface',
name: 'Hugging Face',
type: 'saas',
dependencies: [
{ type: 'npm', name: /^@huggingface\//, example: '@huggingface/inference' },
],
});
1 change: 1 addition & 0 deletions src/rules/saas/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import './auth0.js';
import './datadog.js';
import './deferrun.js';
import './github.js';
import './huggingface.js';
import './logrocket.js';
import './mailjet.js';
import './newrelic.js';
Expand Down
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 @@ -43,6 +43,7 @@ exports[`npm > should match everything 1`] = `
"gcp.vision",
"github",
"hotjar",
"huggingface",
"influxdb",
"javascript",
"koa",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export type AllowedKeys =
| 'hotjar'
| 'html'
| 'httpd'
| 'huggingface'
| 'influxdb'
| 'java'
| 'javascript'
Expand Down

0 comments on commit e37651f

Please sign in to comment.