Skip to content

Commit

Permalink
fix(rules): clean some incorrect rules
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Jul 4, 2023
1 parent 95aef23 commit 3c862f6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
6 changes: 2 additions & 4 deletions src/common/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const list: TechItem[] = [
{ key: 'dependabot', name: 'Dependabot', type: 'ci' },
{ key: 'digitalocean', name: 'Digital Ocean', type: 'hosting' },
{ key: 'docker', name: 'Docker', type: 'tool' },
{ key: 'dynamodb', name: 'DynamoDB', type: 'db' },
{ key: 'aws.dynamodb', name: 'DynamoDB', type: 'db' },
{ key: 'elasticloud', name: 'Elastic Cloud', type: 'sass' },
{ key: 'elasticsearch', name: 'Elasticsearch', type: 'db' },
{ key: 'elasticstack', name: 'ElasticStack', type: 'hosting' },
Expand All @@ -40,7 +40,6 @@ export const list: TechItem[] = [
{ key: 'fastify', name: 'Fastify', type: 'tool' },
{ key: 'firebase', name: 'Firebase', type: 'hosting' },
{ key: 'flyio', name: 'Fly.io', type: 'hosting' },
{ key: 'gce', name: 'GCE', type: 'hosting' },
{ key: 'gcp', name: 'GCP', type: 'hosting' },
{ key: 'gcp.bigquery', name: 'Big Query', type: 'db' },
{ key: 'gcp.cloudrun', name: 'Cloud Run', type: 'hosting' },
Expand Down Expand Up @@ -75,7 +74,7 @@ export const list: TechItem[] = [
{ key: 'mariadb', name: 'MariaDB', type: 'db' },
{ key: 'memcached', name: 'Memcached', type: 'db' },
{ key: 'mongodb', name: 'MongoDB', type: 'db' },
{ key: 'mongodbatlas', name: 'MongoDB Atlas', type: 'hosting' },
{ key: 'mongodbatlas', name: 'MongoDB Atlas', type: 'db' },
{ key: 'mysql', name: 'Mysql', type: 'db' },
{ key: 'neo4j', name: 'Neo4J', type: 'tool' },
{ key: 'netlify', name: 'Netlify', type: 'hosting' },
Expand All @@ -92,7 +91,6 @@ export const list: TechItem[] = [
{ key: 'powershell', name: 'Powershell', type: 'language' },
{ key: 'prettier', name: 'Prettier', type: 'tool' },
{ key: 'prisma', name: 'Prisma', type: 'tool' },
{ key: 'pubsub', name: 'PubSub', type: 'messaging' },
{ key: 'python', name: 'Python', type: 'language' },
{ key: 'rabbitmq', name: 'RabbitMQ', type: 'messaging' },
{ key: 'react', name: 'React', type: 'language' },
Expand Down
2 changes: 1 addition & 1 deletion src/rules/db/dynamodb.ts → src/rules/db/aws.dynamodb.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { register } from '../../rules.js';

register({
tech: 'dynamodb',
tech: 'aws.dynamodb',
dependencies: [
{ type: 'npm', name: '@aws-sdk/client-dynamodb' },
{
Expand Down
2 changes: 1 addition & 1 deletion src/rules/db/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import './cassandra.js';
import './couchbase.js';
import './dynamodb.js';
import './aws.dynamodb.js';
import './elasticsearch.js';
import './influxdb.js';
import './mariadb.js';
Expand Down
4 changes: 1 addition & 3 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export type AllowedKeys =
| 'angular'
| 'appveyor'
| 'auth0'
| 'aws.dynamodb'
| 'aws'
| 'azure.ci'
| 'azure'
Expand All @@ -37,7 +38,6 @@ export type AllowedKeys =
| 'dependabot'
| 'digitalocean'
| 'docker'
| 'dynamodb'
| 'elasticloud'
| 'elasticsearch'
| 'elasticstack'
Expand All @@ -49,7 +49,6 @@ export type AllowedKeys =
| 'fastify'
| 'firebase'
| 'flyio'
| 'gce'
| 'gcp.bigquery'
| 'gcp.cloudrun'
| 'gcp.gce'
Expand Down Expand Up @@ -101,7 +100,6 @@ export type AllowedKeys =
| 'powershell'
| 'prettier'
| 'prisma'
| 'pubsub'
| 'python'
| 'rabbitmq'
| 'react'
Expand Down

0 comments on commit 3c862f6

Please sign in to comment.