github-automated-repos
Advanced tools
Comparing version 1.0.13 to 1.0.14
@@ -9,16 +9,21 @@ export interface IGithubRepos { | ||
} | ||
export declare function useGithubAutomatedRepos(data: [], keyWordDeploy: string): { | ||
id: number; | ||
name: string; | ||
html_url: string; | ||
description: string; | ||
topics: []; | ||
homepage: string; | ||
}[]; | ||
export declare function useGithubAutomatedRepos(): { | ||
dataReposGithub: (data: [], keyWordDeploy: string) => { | ||
id: number; | ||
name: string; | ||
html_url: string; | ||
description: string; | ||
topics: []; | ||
homepage: string; | ||
}[]; | ||
}; | ||
export declare function IconsData(): { | ||
iconStacks: { | ||
android: string; | ||
androidstudio: string; | ||
angular: string; | ||
arduino: string; | ||
aws: string; | ||
bootstrap: string; | ||
c: string; | ||
clion: string; | ||
cpp: string; | ||
@@ -30,2 +35,3 @@ csharp: string; | ||
docker: string; | ||
eclipse: string; | ||
eslint: string; | ||
@@ -38,9 +44,13 @@ expo: string; | ||
gatsby: string; | ||
git: string; | ||
go: string; | ||
html5: string; | ||
husky: string; | ||
java: string; | ||
javascript: string; | ||
jest: string; | ||
kotlin: string; | ||
laravel: string; | ||
linux: string; | ||
lua: string; | ||
mongodb: string; | ||
@@ -53,2 +63,3 @@ mysql: string; | ||
objectc: string; | ||
pearl: string; | ||
php: string; | ||
@@ -74,5 +85,9 @@ postgresql: string; | ||
typescript: string; | ||
visualstudio: string; | ||
visualstudiocode: string; | ||
vitejs: string; | ||
vue: string; | ||
}; | ||
iconsProjects: { | ||
api: string; | ||
art: string; | ||
@@ -82,2 +97,3 @@ artificialintelligence: string; | ||
education: string; | ||
eletronic: string; | ||
game: string; | ||
@@ -89,3 +105,4 @@ landingpage: string; | ||
store: string; | ||
weather: string; | ||
}; | ||
}; |
@@ -1,24 +0,17 @@ | ||
// Project Icon Font: | ||
// https://www.svgrepo.com/svg/384245/controller-joystick-games-video-console?edit=true | ||
// https://www.svgrepo.com/svg/383702/landing-page-web-design?edit=true | ||
// https://www.svgrepo.com/svg/459107/robot?edit=true | ||
// https://www.svgrepo.com/svg/471159/check-square-broken?edit=true | ||
// https://www.svgrepo.com/svg/383754/security-protection-lock-padlock-square-locked?edit=true | ||
// https://www.svgrepo.com/svg/339111/dashboard?edit=true | ||
// https://www.svgrepo.com/svg/257454/profile?edit=true | ||
// https://www.svgrepo.com/svg/298828/store?edit=true | ||
// 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 | ||
export function useGithubAutomatedRepos(data, keyWordDeploy) { | ||
let dataFilter = []; | ||
dataFilter = data.filter((item) => item.topics.includes(keyWordDeploy)); | ||
return dataFilter.map((item) => ({ | ||
id: item.id, | ||
name: item.name, | ||
html_url: item.html_url, | ||
description: item.description, | ||
topics: item.topics, | ||
homepage: item.homepage, | ||
})); | ||
export function useGithubAutomatedRepos() { | ||
function dataReposGithub(data, keyWordDeploy) { | ||
let dataFilter = []; | ||
dataFilter = data.filter((item) => item.topics.includes(keyWordDeploy)); | ||
return dataFilter.map((item) => ({ | ||
id: item.id, | ||
name: item.name, | ||
html_url: item.html_url, | ||
description: item.description, | ||
topics: item.topics, | ||
homepage: item.homepage, | ||
})); | ||
} | ||
return { | ||
dataReposGithub, | ||
}; | ||
} | ||
@@ -28,6 +21,9 @@ export function IconsData() { | ||
const iconStacks = { | ||
android: 'https://user-images.githubusercontent.com/59892368/215260539-ffaa9b19-07a8-420d-82c7-1b1e0e79139b.svg', | ||
androidstudio: 'https://user-images.githubusercontent.com/59892368/216783644-f664d47c-f686-496d-8073-2e83b2b469ab.svg', | ||
angular: 'https://user-images.githubusercontent.com/59892368/215260538-a2bc2db2-23dd-4600-9a53-be6b3c7fc103.svg', | ||
arduino: 'https://user-images.githubusercontent.com/59892368/216785825-af6a605c-6ca3-4bb5-9889-31ad818fb20b.svg', | ||
aws: 'https://user-images.githubusercontent.com/59892368/215260536-748d14f8-5242-4d5a-9faf-6d62ed38a87a.svg', | ||
bootstrap: 'https://user-images.githubusercontent.com/59892368/218274368-89a94705-c5b1-42a6-813d-4aaa2a1334e3.svg', | ||
c: 'https://user-images.githubusercontent.com/59892368/215260535-be3713a8-d075-4c85-88ca-4b3703f9e7b3.svg', | ||
clion: 'https://user-images.githubusercontent.com/59892368/216813068-bc05f852-f006-4ff6-85e2-d8988f6afbf9.svg', | ||
cpp: 'https://user-images.githubusercontent.com/59892368/215260533-1ede6b38-7c51-4c89-ac2c-a1195c2b912b.svg', | ||
@@ -39,2 +35,3 @@ csharp: 'https://user-images.githubusercontent.com/59892368/215260532-33106206-6ca4-4d11-bdc3-9171491979a5.svg', | ||
docker: 'https://user-images.githubusercontent.com/59892368/215260528-b50b803d-a037-4572-812b-95801f48c2bd.svg', | ||
eclipse: 'https://user-images.githubusercontent.com/59892368/216813192-3088dc66-c68e-4e06-b7d0-c7443e3230ed.svg', | ||
eslint: 'https://user-images.githubusercontent.com/59892368/215260527-373e10c7-04d3-45c5-98b4-74bf586de7f6.svg', | ||
@@ -47,11 +44,15 @@ expo: 'https://user-images.githubusercontent.com/59892368/210762516-b48ee0ef-9d7b-4d86-951b-b80515c39783.svg', | ||
gatsby: 'https://user-images.githubusercontent.com/59892368/215260520-8e935c1a-46b2-451b-a87c-e9f4e7c081c4.svg', | ||
git: 'https://user-images.githubusercontent.com/59892368/218274559-3cb134c3-4086-4c49-9f82-fe98f2469bbb.svg', | ||
go: 'https://user-images.githubusercontent.com/59892368/215260519-e619fbd8-c518-477b-9327-a3afa23f988e.svg', | ||
html5: 'https://user-images.githubusercontent.com/59892368/210755124-715c0580-95cc-46a7-bf17-5854e0450f4d.svg', | ||
husky: 'https://user-images.githubusercontent.com/59892368/218274511-2650c740-a811-4b66-8d81-bf3d855d41f7.svg', | ||
java: 'https://user-images.githubusercontent.com/59892368/215260518-171e0fb1-1cd7-4097-bcba-05089c6adf46.svg', | ||
javascript: 'https://user-images.githubusercontent.com/59892368/210762520-8226f647-a814-4723-8e6d-ed0334550838.svg', | ||
jest: 'https://user-images.githubusercontent.com/59892368/218274370-1e098c22-99fd-4514-b91f-0c4b38f5f888.svg', | ||
kotlin: 'https://user-images.githubusercontent.com/59892368/215260517-8904a569-d2ec-48c4-8adc-660e929db93e.svg', | ||
laravel: 'https://user-images.githubusercontent.com/59892368/215260515-4f3075d5-ce25-4824-87ff-736ccaf42311.svg', | ||
linux: 'https://user-images.githubusercontent.com/59892368/215260512-04a0d227-c913-4946-9ff4-b3fb691df5ff.svg', | ||
lua: 'https://user-images.githubusercontent.com/59892368/218274371-a122ac00-d0a7-4d1b-b161-abae8e7069ee.svg', | ||
mongodb: 'https://user-images.githubusercontent.com/59892368/215260514-a4f02cca-c530-4de2-88ee-5250b24a1456.svg', | ||
mysql: 'https://user-images.githubusercontent.com/59892368/215260511-5299678e-c337-4b75-bbb3-b1b4e5ae28a5.svg', | ||
mysql: 'https://user-images.githubusercontent.com/59892368/218274731-13fe41e3-ebf9-4bbb-a7d7-c8d43bf46c53.svg', | ||
netcore: 'https://user-images.githubusercontent.com/59892368/215260510-b72be359-f22b-4751-a8ab-41cd4f51c9c9.svg', | ||
@@ -62,2 +63,3 @@ nextjs: 'https://user-images.githubusercontent.com/59892368/210762514-59814e6d-5cc8-4981-aa11-904b83a51d40.svg', | ||
objectc: 'https://user-images.githubusercontent.com/59892368/215260537-d56e6052-6182-4edb-a770-842de3b8c24f.svg', | ||
pearl: 'https://user-images.githubusercontent.com/59892368/218274369-fd7185b0-d50c-46fd-8ee1-c6bf36f1ccc6.svg', | ||
php: 'https://user-images.githubusercontent.com/59892368/215260508-ab7231f0-bfd4-48ee-8f7b-49ed06bdacb2.svg', | ||
@@ -83,2 +85,5 @@ postgresql: 'https://user-images.githubusercontent.com/59892368/215260507-a1ab30ad-16c5-48b6-8442-4258d3fc828f.svg', | ||
typescript: 'https://user-images.githubusercontent.com/59892368/210762527-ae3afe1f-fe36-46a9-98ad-35dbae4d1adf.svg', | ||
visualstudio: 'https://user-images.githubusercontent.com/59892368/216786259-d508335d-169c-4d37-8bfc-152f1665dca3.svg', | ||
visualstudiocode: 'https://user-images.githubusercontent.com/59892368/216786258-69130dda-076f-4811-8ce9-e9d9bb37e603.svg', | ||
vitejs: 'https://user-images.githubusercontent.com/59892368/218274365-3eae86f7-7953-4209-b5e7-466c8335caa2.svg', | ||
vue: 'https://user-images.githubusercontent.com/59892368/215260542-defd6142-e8a8-44f5-8c8a-c6dfaf3d114a.svg', | ||
@@ -88,2 +93,3 @@ }; | ||
const iconsProjects = { | ||
api: 'https://user-images.githubusercontent.com/59892368/216762048-3a16633a-e59c-4d19-b478-471f29c50489.svg', | ||
art: 'https://user-images.githubusercontent.com/59892368/212994060-8d1644c7-96d7-4f3b-8e94-65ff76db0c92.svg', | ||
@@ -93,2 +99,3 @@ artificialintelligence: 'https://user-images.githubusercontent.com/59892368/212984565-a424b06e-db5e-464a-a5df-ddf7c9bab6ad.svg', | ||
education: 'https://user-images.githubusercontent.com/59892368/212284904-0b4f29fa-4141-4212-b516-d4e4fcdb8519.svg', | ||
eletronic: 'https://user-images.githubusercontent.com/59892368/216783259-8f6f7b85-8ebe-4ec8-8567-49e4334fd0c9.svg', | ||
game: 'https://user-images.githubusercontent.com/59892368/212984732-79dd44aa-23a5-4b83-ae28-7a2ddd443032.svg', | ||
@@ -100,2 +107,3 @@ landingpage: 'https://user-images.githubusercontent.com/59892368/212984364-88a0808b-a8d1-440c-b74e-f82bc3e28748.svg', | ||
store: 'https://user-images.githubusercontent.com/59892368/213137554-83aa6798-9487-4d1b-a260-fd2035adaaad.svg', | ||
weather: 'https://user-images.githubusercontent.com/59892368/216784682-80a23d1a-e3ed-42db-8c1c-bdb961748c2f.svg', | ||
}; | ||
@@ -102,0 +110,0 @@ return { |
export { ProjectIcon } from './ProjectIcon'; | ||
export { StackIcon } from './StackIcon'; | ||
export { IGithubRepos, useGithubAutomatedRepos, IconsData, } from './hooks/useGithubAutomatedRepos'; | ||
export { IGithubRepos, useGithubAutomatedRepos, IconsData } from './hooks/useGithubAutomatedRepos'; |
export { ProjectIcon } from './ProjectIcon'; | ||
export { StackIcon } from './StackIcon'; | ||
export { useGithubAutomatedRepos, IconsData, } from './hooks/useGithubAutomatedRepos'; | ||
export { useGithubAutomatedRepos, IconsData } from './hooks/useGithubAutomatedRepos'; |
{ | ||
"name": "github-automated-repos", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"description": "", | ||
"main": "index.ts", | ||
"scripts": { | ||
"commit":"git-cz", | ||
"commit": "git-cz", | ||
"clean": "rm -rf dist", | ||
@@ -13,3 +13,2 @@ "build": "npm run clean && tsc && cp package.json README.md ./dist", | ||
"lint:fix": "eslint --fix .", | ||
"prepare": "husky install", | ||
"lint-staged": "lint-staged" | ||
@@ -16,0 +15,0 @@ }, |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
24946
239
0