Skip to content

Commit

Permalink
fix(rules): add Refine
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Nov 7, 2023
1 parent 7535225 commit 38f3968
Show file tree
Hide file tree
Showing 5 changed files with 31 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 @@ -344,6 +344,7 @@ exports[`all > should match everything 1`] = `
"reactemail",
"redis",
"redwoodjs",
"refinedev",
"relativeci",
"render",
"renovate",
Expand Down
1 change: 1 addition & 0 deletions src/rules/framework/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ import './hexojs.js';
import './hugo.js';
import './jekyll.js';
import './payloadcms.js';
import './refinedev.js';
import './shopify.hydrogen.js';
12 changes: 12 additions & 0 deletions src/rules/framework/refinedev.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { register } from '../../register.js';

register({
tech: 'refinedev',
name: 'Refine',
type: 'framework',
dependencies: [
{ type: 'npm', name: '@refinedev/core' },
{ type: 'npm', name: '@refinedev/antd' },
{ type: 'npm', name: '@refinedev/cli' },
],
});
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 @@ -208,6 +208,7 @@ exports[`npm > should match everything 1`] = `
"reactemail",
"redis",
"redwoodjs",
"refinedev",
"relativeci",
"renovate",
"replit",
Expand Down Expand Up @@ -1323,6 +1324,21 @@ exports[`npm > should match everything 2`] = `
"@redwoodjs/web",
"0.0.0",
],
[
"npm",
"@refinedev/antd",
"0.0.0",
],
[
"npm",
"@refinedev/cli",
"0.0.0",
],
[
"npm",
"@refinedev/core",
"0.0.0",
],
[
"npm",
"@relative-ci/agent",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ export type AllowedKeys =
| 'reactemail'
| 'redis'
| 'redwoodjs'
| 'refinedev'
| 'relativeci'
| 'render'
| 'renovate'
Expand Down

0 comments on commit 38f3968

Please sign in to comment.