Skip to content

Commit

Permalink
fix(rules): add Webflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Sep 3, 2023
1 parent 02baeca commit 0373511
Show file tree
Hide file tree
Showing 5 changed files with 17 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 @@ -175,6 +175,7 @@ exports[`all > should match everything 1`] = `
"vercel.postgres",
"vite",
"vue",
"webflow",
"webpack",
"wiz",
"zendesk",
Expand Down
1 change: 1 addition & 0 deletions src/rules/saas/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import './squarespace.js';
import './squareup.js';
import './stripe.js';
import './twilio.js';
import './webflow.js';
import './wiz.js';
import './zendesk.js';
import './zoom.js';
Expand Down
8 changes: 8 additions & 0 deletions src/rules/saas/webflow.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { register } from '../../register.js';

register({
tech: 'webflow',
name: 'Webflow',
type: 'saas',
dependencies: [{ type: 'npm', name: 'webflow-api' }],
});
6 changes: 6 additions & 0 deletions src/rules/spec/nodejs/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ exports[`npm > should match everything 1`] = `
"vercel.postgres",
"vite",
"vue",
"webflow",
"webpack",
]
`;
Expand Down Expand Up @@ -865,6 +866,11 @@ exports[`npm > should match everything 2`] = `
"vue-instantsearch",
"0.0.0",
],
[
"npm",
"webflow-api",
"0.0.0",
],
[
"npm",
"webpack",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ export type AllowedKeys =
| 'vercel'
| 'vite'
| 'vue'
| 'webflow'
| 'webpack'
| 'wiz'
| 'zapier'
Expand Down

0 comments on commit 0373511

Please sign in to comment.