Skip to content

Commit

Permalink
fix(rules): add Fastly
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Aug 7, 2023
1 parent e6fb2f0 commit d816405
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/rules/hosting/fastly.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { register } from '../../rules.js';

register({
tech: 'fastly',
dependencies: [{ type: 'rustcargo', name: 'fastly-api' }],
});
1 change: 1 addition & 0 deletions src/rules/hosting/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import './azure.js';
import './elasticstack.js';
import './equinix.js';
import './expodev.js';
import './fastly.js';
import './flyio.js';
import './gcp.cloudrun.js';
import './gcp.gce.js';
Expand Down
6 changes: 6 additions & 0 deletions src/rules/spec/rust/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Set {
"sqlite",
"snowflake",
"vault",
"fastly",
"rabbitmq",
"gcp.pubsub",
"algolia",
Expand Down Expand Up @@ -87,6 +88,11 @@ exports[`rust (component) > should match everything 2`] = `
"elasticsearch",
"1.0.0",
],
[
"rustcargo",
"fastly-api",
"1.0.0",
],
[
"rustcargo",
"gcp-bigquery-client",
Expand Down

0 comments on commit d816405

Please sign in to comment.