Skip to content

Commit

Permalink
Add React Email
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Jun 28, 2023
1 parent 8be13a6 commit cbe9157
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/common/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export const list: TechItem[] = [
{ key: 'python', name: 'Python', type: 'language' },
{ key: 'rabbitmq', name: 'RabbitMQ', type: 'messaging' },
{ key: 'react', name: 'React', type: 'language' },
{ key: 'reactemail', name: 'React Email', type: 'tool' },
{ key: 'redis', name: 'Redis', type: 'db' },
{ key: 'relativeci', name: 'RelativeCI', type: 'ci' },
{ key: 'render', name: 'Render', type: 'hosting' },
Expand Down
1 change: 1 addition & 0 deletions src/rules/js/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import './koa.js';
import './prettier.js';
import './prisma.js';
import './react.js';
import './reactEmail.js';
import './rollup.js';
import './sentry.js';
import './sequelize.js';
Expand Down
6 changes: 6 additions & 0 deletions src/rules/js/reactEmail.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { register } from '../../rules.js';

register({
tech: 'reactemail',
dependencies: [{ type: 'npm', name: 'react-email' }],
});
1 change: 1 addition & 0 deletions src/rules/spec/nodejs/dependencies.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ describe('npm', () => {
'prisma',
'rabbitmq',
'react',
'reactemail',
'redis',
'relativeci',
'renovate',
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 =
| 'python'
| 'rabbitmq'
| 'react'
| 'reactemail'
| 'redis'
| 'relativeci'
| 'render'
Expand Down

0 comments on commit cbe9157

Please sign in to comment.