Skip to content

Commit

Permalink
fix(rules): add RemixRun
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Nov 7, 2023
1 parent 38f3968 commit 443e88d
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 @@ -346,6 +346,7 @@ exports[`all > should match everything 1`] = `
"redwoodjs",
"refinedev",
"relativeci",
"remixrun",
"render",
"renovate",
"replit",
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 @@ -13,4 +13,5 @@ import './hugo.js';
import './jekyll.js';
import './payloadcms.js';
import './refinedev.js';
import './remixrun.js';
import './shopify.hydrogen.js';
12 changes: 12 additions & 0 deletions src/rules/framework/remixrun.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { register } from '../../register.js';

register({
tech: 'remixrun',
name: 'Remix',
type: 'framework',
dependencies: [
{ type: 'npm', name: '@remix-run/node' },
{ type: 'npm', name: '@remix-run/react' },
{ type: 'npm', name: '@remix-run/serve' },
],
});
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 @@ -210,6 +210,7 @@ exports[`npm > should match everything 1`] = `
"redwoodjs",
"refinedev",
"relativeci",
"remixrun",
"renovate",
"replit",
"replit.database",
Expand Down Expand Up @@ -1344,6 +1345,21 @@ exports[`npm > should match everything 2`] = `
"@relative-ci/agent",
"0.0.0",
],
[
"npm",
"@remix-run/node",
"0.0.0",
],
[
"npm",
"@remix-run/react",
"0.0.0",
],
[
"npm",
"@remix-run/serve",
"0.0.0",
],
[
"npm",
"@replit/database",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ export type AllowedKeys =
| 'redwoodjs'
| 'refinedev'
| 'relativeci'
| 'remixrun'
| 'render'
| 'renovate'
| 'replit.database'
Expand Down

0 comments on commit 443e88d

Please sign in to comment.