diff --git a/.prettierrc b/.prettierrc
index 0231a35..019dc48 100644
--- a/.prettierrc
+++ b/.prettierrc
@@ -1,4 +1,5 @@
{
+
"arrowParens": "always",
"bracketSpacing": true,
"jsxBracketSameLine": false,
@@ -13,3 +14,4 @@
"trailingComma": "es5",
"endOfLine": "auto"
}
+
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 48b2373..98a87f3 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,4 +1,6 @@
{
+
+
// Set the default
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
@@ -6,4 +8,5 @@
"[javascript]": {
"editor.formatOnSave": true
}
-}
\ No newline at end of file
+}
+
diff --git a/commit.cmd b/commit.cmd
new file mode 100644
index 0000000..4a185d3
--- /dev/null
+++ b/commit.cmd
@@ -0,0 +1 @@
+npx cz && exit
diff --git a/package.json b/package.json
index d59b211..ee7bce3 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,6 @@
{
+
"name": "github-automated-repos",
"version": "1.0.10",
"description": "",
@@ -55,6 +56,7 @@
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
+
}
}
diff --git a/src/ProjectIcon.tsx b/src/ProjectIcon.tsx
index 8edb9e2..82ae754 100644
--- a/src/ProjectIcon.tsx
+++ b/src/ProjectIcon.tsx
@@ -8,6 +8,7 @@ type Props = {
};
export function ProjectIcon({ iconItem, className }: Props) {
+
const { iconsProjects } = IconsData();
return (
@@ -18,4 +19,5 @@ export function ProjectIcon({ iconItem, className }: Props) {
)}
);
+
}
diff --git a/src/StackIcon.tsx b/src/StackIcon.tsx
index c411831..a9eb2c8 100644
--- a/src/StackIcon.tsx
+++ b/src/StackIcon.tsx
@@ -7,10 +7,12 @@ type Props = {
className?: string;
};
export function StackIcon({ iconItem, className }: Props) {
+
const { iconStacks, iconsProjects } = IconsData();
return iconItem === 'deploy' || iconsProjects[iconItem as never] ? (
<> >
) : (
);
+
}
diff --git a/src/hooks/useGithubAutomatedRepos.ts b/src/hooks/useGithubAutomatedRepos.ts
index c0c6547..07f2f91 100644
--- a/src/hooks/useGithubAutomatedRepos.ts
+++ b/src/hooks/useGithubAutomatedRepos.ts
@@ -10,7 +10,11 @@
// https://www.svgrepo.com/svg/429278/cart-essential-shopping?edit=true
// https://www.svgrepo.com/svg/144539/artist-color-palette?edit=true
// https://www.svgrepo.com/svg/424981/online?edit=true
-
+// https://www.svgrepo.com/svg/384295/weather-forecast-sunny-snow-cloud-day?edit=true
+// https://www.svgrepo.com/svg/456864/diagram
+// https://www.svgrepo.com/svg/455166/map-navigation?edit=true
+// https://www.svgrepo.com/svg/343466/news-feed?edit=true
+// https://www.svgrepo.com/svg/458454/database-1?edit=true
export interface IGithubRepos {
name: string;
topics: [];
@@ -23,6 +27,7 @@ export interface IGithubRepos {
export function useGithubAutomatedRepos() {
function dataReposGithub(data: [], keyWordDeploy: string) {
let dataFilter = [];
+
dataFilter = data.filter((item: IGithubRepos) =>
item.topics.includes(keyWordDeploy as never),
);
@@ -114,6 +119,7 @@ export function IconsData() {
};
+
return {
iconStacks,
iconsProjects,