Skip to content

Commit

Permalink
Merge pull request #367 from vscheuber/main
Browse files Browse the repository at this point in the history
update to frodo-lib 2.0.0-71 and leverage new node classifications
  • Loading branch information
vscheuber committed Feb 7, 2024
2 parents f6ec045 + 3407b6d commit b9d2a67
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
]
},
"dependencies": {
"@rockcarver/frodo-lib": "2.0.0-70",
"@rockcarver/frodo-lib": "2.0.0-71",
"chokidar": "^3.5.3",
"cli-progress": "^3.11.2",
"cli-table3": "^0.6.3",
Expand Down
12 changes: 12 additions & 0 deletions src/ops/NodeOps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,14 @@ export function getNodeClassification(nodeType: string): string[] {
case 'custom':
return it.toString()['brightRed'];

case 'excluded':
return it.toString()['brightRed'];

case 'premium':
return it.toString()['brightYellow'];

case 'deprecated':
return it.toString()['brightYellow'];
}
});
}
Expand All @@ -47,8 +53,14 @@ export function getNodeClassificationMd(nodeType: string): string[] {
case 'custom':
return `:red_circle: \`${it.toString()}\``;

case 'excluded':
return `:red_circle: \`${it.toString()}\``;

case 'premium':
return `:yellow_circle: \`${it.toString()}\``;

case 'deprecated':
return `:yellow_circle: \`${it.toString()}\``;
}
});
}
Expand Down

0 comments on commit b9d2a67

Please sign in to comment.