diff --git a/.github/workflows/generate-theme-doc.yml b/.github/workflows/generate-theme-doc.yml index 00c4e6c9..11d7377e 100644 --- a/.github/workflows/generate-theme-doc.yml +++ b/.github/workflows/generate-theme-doc.yml @@ -4,7 +4,7 @@ on: branches: - master paths: - - "themes/index.js" + - "../../.vercel/output/functions/api.func/core-app/themes/index.js" permissions: actions: read diff --git a/.github/workflows/preview-theme.yml b/.github/workflows/preview-theme.yml index e7b84cc1..4bbc0c55 100644 --- a/.github/workflows/preview-theme.yml +++ b/.github/workflows/preview-theme.yml @@ -5,7 +5,7 @@ on: branches: - master paths: - - "themes/index.js" + - "../../.vercel/output/functions/api.func/core-app/themes/index.js" permissions: actions: read diff --git a/.prettierignore b/.prettierignore index c97d464f..7a7c15fe 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,4 +2,3 @@ node_modules *.json *.md coverage -.vercel diff --git a/api/gist.js b/.vercel/output/functions/api.func/core-app/api/gist.js similarity index 100% rename from api/gist.js rename to .vercel/output/functions/api.func/core-app/api/gist.js diff --git a/api/index.js b/.vercel/output/functions/api.func/core-app/api/index.js similarity index 100% rename from api/index.js rename to .vercel/output/functions/api.func/core-app/api/index.js diff --git a/api/pin.js b/.vercel/output/functions/api.func/core-app/api/pin.js similarity index 100% rename from api/pin.js rename to .vercel/output/functions/api.func/core-app/api/pin.js diff --git a/api/repeat-recent.js b/.vercel/output/functions/api.func/core-app/api/repeat-recent.js similarity index 100% rename from api/repeat-recent.js rename to .vercel/output/functions/api.func/core-app/api/repeat-recent.js diff --git a/api/status/pat-info.js b/.vercel/output/functions/api.func/core-app/api/status/pat-info.js similarity index 100% rename from api/status/pat-info.js rename to .vercel/output/functions/api.func/core-app/api/status/pat-info.js diff --git a/api/status/up.js b/.vercel/output/functions/api.func/core-app/api/status/up.js similarity index 100% rename from api/status/up.js rename to .vercel/output/functions/api.func/core-app/api/status/up.js diff --git a/api/top-langs.js b/.vercel/output/functions/api.func/core-app/api/top-langs.js similarity index 100% rename from api/top-langs.js rename to .vercel/output/functions/api.func/core-app/api/top-langs.js diff --git a/api/wakatime.js b/.vercel/output/functions/api.func/core-app/api/wakatime.js similarity index 100% rename from api/wakatime.js rename to .vercel/output/functions/api.func/core-app/api/wakatime.js diff --git a/src/calculateRank.js b/.vercel/output/functions/api.func/core-app/src/calculateRank.js similarity index 100% rename from src/calculateRank.js rename to .vercel/output/functions/api.func/core-app/src/calculateRank.js diff --git a/src/cards/gist-card.js b/.vercel/output/functions/api.func/core-app/src/cards/gist-card.js similarity index 100% rename from src/cards/gist-card.js rename to .vercel/output/functions/api.func/core-app/src/cards/gist-card.js diff --git a/src/cards/index.js b/.vercel/output/functions/api.func/core-app/src/cards/index.js similarity index 100% rename from src/cards/index.js rename to .vercel/output/functions/api.func/core-app/src/cards/index.js diff --git a/src/cards/repo-card.js b/.vercel/output/functions/api.func/core-app/src/cards/repo-card.js similarity index 100% rename from src/cards/repo-card.js rename to .vercel/output/functions/api.func/core-app/src/cards/repo-card.js diff --git a/src/cards/stats-card.js b/.vercel/output/functions/api.func/core-app/src/cards/stats-card.js similarity index 100% rename from src/cards/stats-card.js rename to .vercel/output/functions/api.func/core-app/src/cards/stats-card.js diff --git a/src/cards/top-languages-card.js b/.vercel/output/functions/api.func/core-app/src/cards/top-languages-card.js similarity index 100% rename from src/cards/top-languages-card.js rename to .vercel/output/functions/api.func/core-app/src/cards/top-languages-card.js diff --git a/src/cards/types.d.ts b/.vercel/output/functions/api.func/core-app/src/cards/types.d.ts similarity index 100% rename from src/cards/types.d.ts rename to .vercel/output/functions/api.func/core-app/src/cards/types.d.ts diff --git a/src/cards/wakatime-card.js b/.vercel/output/functions/api.func/core-app/src/cards/wakatime-card.js similarity index 100% rename from src/cards/wakatime-card.js rename to .vercel/output/functions/api.func/core-app/src/cards/wakatime-card.js diff --git a/src/common/Card.js b/.vercel/output/functions/api.func/core-app/src/common/Card.js similarity index 100% rename from src/common/Card.js rename to .vercel/output/functions/api.func/core-app/src/common/Card.js diff --git a/src/common/I18n.js b/.vercel/output/functions/api.func/core-app/src/common/I18n.js similarity index 100% rename from src/common/I18n.js rename to .vercel/output/functions/api.func/core-app/src/common/I18n.js diff --git a/src/common/blacklist.js b/.vercel/output/functions/api.func/core-app/src/common/blacklist.js similarity index 100% rename from src/common/blacklist.js rename to .vercel/output/functions/api.func/core-app/src/common/blacklist.js diff --git a/src/common/createProgressNode.js b/.vercel/output/functions/api.func/core-app/src/common/createProgressNode.js similarity index 100% rename from src/common/createProgressNode.js rename to .vercel/output/functions/api.func/core-app/src/common/createProgressNode.js diff --git a/src/common/database.js b/.vercel/output/functions/api.func/core-app/src/common/database.js similarity index 100% rename from src/common/database.js rename to .vercel/output/functions/api.func/core-app/src/common/database.js diff --git a/src/common/icons.js b/.vercel/output/functions/api.func/core-app/src/common/icons.js similarity index 100% rename from src/common/icons.js rename to .vercel/output/functions/api.func/core-app/src/common/icons.js diff --git a/src/common/index.js b/.vercel/output/functions/api.func/core-app/src/common/index.js similarity index 100% rename from src/common/index.js rename to .vercel/output/functions/api.func/core-app/src/common/index.js diff --git a/src/common/languageColors.json b/.vercel/output/functions/api.func/core-app/src/common/languageColors.json similarity index 100% rename from src/common/languageColors.json rename to .vercel/output/functions/api.func/core-app/src/common/languageColors.json diff --git a/src/common/retryer.js b/.vercel/output/functions/api.func/core-app/src/common/retryer.js similarity index 100% rename from src/common/retryer.js rename to .vercel/output/functions/api.func/core-app/src/common/retryer.js diff --git a/src/common/utils.js b/.vercel/output/functions/api.func/core-app/src/common/utils.js similarity index 100% rename from src/common/utils.js rename to .vercel/output/functions/api.func/core-app/src/common/utils.js diff --git a/src/fetchers/gist-fetcher.js b/.vercel/output/functions/api.func/core-app/src/fetchers/gist-fetcher.js similarity index 100% rename from src/fetchers/gist-fetcher.js rename to .vercel/output/functions/api.func/core-app/src/fetchers/gist-fetcher.js diff --git a/src/fetchers/repo-fetcher.js b/.vercel/output/functions/api.func/core-app/src/fetchers/repo-fetcher.js similarity index 100% rename from src/fetchers/repo-fetcher.js rename to .vercel/output/functions/api.func/core-app/src/fetchers/repo-fetcher.js diff --git a/src/fetchers/stats-fetcher.js b/.vercel/output/functions/api.func/core-app/src/fetchers/stats-fetcher.js similarity index 100% rename from src/fetchers/stats-fetcher.js rename to .vercel/output/functions/api.func/core-app/src/fetchers/stats-fetcher.js diff --git a/src/fetchers/top-languages-fetcher.js b/.vercel/output/functions/api.func/core-app/src/fetchers/top-languages-fetcher.js similarity index 100% rename from src/fetchers/top-languages-fetcher.js rename to .vercel/output/functions/api.func/core-app/src/fetchers/top-languages-fetcher.js diff --git a/src/fetchers/types.d.ts b/.vercel/output/functions/api.func/core-app/src/fetchers/types.d.ts similarity index 100% rename from src/fetchers/types.d.ts rename to .vercel/output/functions/api.func/core-app/src/fetchers/types.d.ts diff --git a/src/fetchers/wakatime-fetcher.js b/.vercel/output/functions/api.func/core-app/src/fetchers/wakatime-fetcher.js similarity index 100% rename from src/fetchers/wakatime-fetcher.js rename to .vercel/output/functions/api.func/core-app/src/fetchers/wakatime-fetcher.js diff --git a/src/index.js b/.vercel/output/functions/api.func/core-app/src/index.js similarity index 100% rename from src/index.js rename to .vercel/output/functions/api.func/core-app/src/index.js diff --git a/src/translations.js b/.vercel/output/functions/api.func/core-app/src/translations.js similarity index 100% rename from src/translations.js rename to .vercel/output/functions/api.func/core-app/src/translations.js diff --git a/tests/__snapshots__/renderWakatimeCard.test.js.snap b/.vercel/output/functions/api.func/core-app/tests/__snapshots__/renderWakatimeCard.test.js.snap similarity index 100% rename from tests/__snapshots__/renderWakatimeCard.test.js.snap rename to .vercel/output/functions/api.func/core-app/tests/__snapshots__/renderWakatimeCard.test.js.snap diff --git a/tests/api.test.js b/.vercel/output/functions/api.func/core-app/tests/api.test.js similarity index 100% rename from tests/api.test.js rename to .vercel/output/functions/api.func/core-app/tests/api.test.js diff --git a/tests/bench/api.bench.js b/.vercel/output/functions/api.func/core-app/tests/bench/api.bench.js similarity index 100% rename from tests/bench/api.bench.js rename to .vercel/output/functions/api.func/core-app/tests/bench/api.bench.js diff --git a/tests/bench/calculateRank.bench.js b/.vercel/output/functions/api.func/core-app/tests/bench/calculateRank.bench.js similarity index 100% rename from tests/bench/calculateRank.bench.js rename to .vercel/output/functions/api.func/core-app/tests/bench/calculateRank.bench.js diff --git a/tests/bench/gist.bench.js b/.vercel/output/functions/api.func/core-app/tests/bench/gist.bench.js similarity index 100% rename from tests/bench/gist.bench.js rename to .vercel/output/functions/api.func/core-app/tests/bench/gist.bench.js diff --git a/tests/bench/pin.bench.js b/.vercel/output/functions/api.func/core-app/tests/bench/pin.bench.js similarity index 100% rename from tests/bench/pin.bench.js rename to .vercel/output/functions/api.func/core-app/tests/bench/pin.bench.js diff --git a/tests/calculateRank.test.js b/.vercel/output/functions/api.func/core-app/tests/calculateRank.test.js similarity index 100% rename from tests/calculateRank.test.js rename to .vercel/output/functions/api.func/core-app/tests/calculateRank.test.js diff --git a/tests/card.test.js b/.vercel/output/functions/api.func/core-app/tests/card.test.js similarity index 100% rename from tests/card.test.js rename to .vercel/output/functions/api.func/core-app/tests/card.test.js diff --git a/tests/e2e/e2e.test.js b/.vercel/output/functions/api.func/core-app/tests/e2e/e2e.test.js similarity index 100% rename from tests/e2e/e2e.test.js rename to .vercel/output/functions/api.func/core-app/tests/e2e/e2e.test.js diff --git a/tests/fetchGist.test.js b/.vercel/output/functions/api.func/core-app/tests/fetchGist.test.js similarity index 100% rename from tests/fetchGist.test.js rename to .vercel/output/functions/api.func/core-app/tests/fetchGist.test.js diff --git a/tests/fetchRepo.test.js b/.vercel/output/functions/api.func/core-app/tests/fetchRepo.test.js similarity index 100% rename from tests/fetchRepo.test.js rename to .vercel/output/functions/api.func/core-app/tests/fetchRepo.test.js diff --git a/tests/fetchStats.test.js b/.vercel/output/functions/api.func/core-app/tests/fetchStats.test.js similarity index 100% rename from tests/fetchStats.test.js rename to .vercel/output/functions/api.func/core-app/tests/fetchStats.test.js diff --git a/tests/fetchTopLanguages.test.js b/.vercel/output/functions/api.func/core-app/tests/fetchTopLanguages.test.js similarity index 100% rename from tests/fetchTopLanguages.test.js rename to .vercel/output/functions/api.func/core-app/tests/fetchTopLanguages.test.js diff --git a/tests/fetchWakatime.test.js b/.vercel/output/functions/api.func/core-app/tests/fetchWakatime.test.js similarity index 100% rename from tests/fetchWakatime.test.js rename to .vercel/output/functions/api.func/core-app/tests/fetchWakatime.test.js diff --git a/tests/flexLayout.test.js b/.vercel/output/functions/api.func/core-app/tests/flexLayout.test.js similarity index 100% rename from tests/flexLayout.test.js rename to .vercel/output/functions/api.func/core-app/tests/flexLayout.test.js diff --git a/tests/gist.test.js b/.vercel/output/functions/api.func/core-app/tests/gist.test.js similarity index 100% rename from tests/gist.test.js rename to .vercel/output/functions/api.func/core-app/tests/gist.test.js diff --git a/tests/i18n.test.js b/.vercel/output/functions/api.func/core-app/tests/i18n.test.js similarity index 100% rename from tests/i18n.test.js rename to .vercel/output/functions/api.func/core-app/tests/i18n.test.js diff --git a/tests/pat-info.test.js b/.vercel/output/functions/api.func/core-app/tests/pat-info.test.js similarity index 100% rename from tests/pat-info.test.js rename to .vercel/output/functions/api.func/core-app/tests/pat-info.test.js diff --git a/tests/pin.test.js b/.vercel/output/functions/api.func/core-app/tests/pin.test.js similarity index 100% rename from tests/pin.test.js rename to .vercel/output/functions/api.func/core-app/tests/pin.test.js diff --git a/tests/renderGistCard.test.js b/.vercel/output/functions/api.func/core-app/tests/renderGistCard.test.js similarity index 100% rename from tests/renderGistCard.test.js rename to .vercel/output/functions/api.func/core-app/tests/renderGistCard.test.js diff --git a/tests/renderRepoCard.test.js b/.vercel/output/functions/api.func/core-app/tests/renderRepoCard.test.js similarity index 100% rename from tests/renderRepoCard.test.js rename to .vercel/output/functions/api.func/core-app/tests/renderRepoCard.test.js diff --git a/tests/renderStatsCard.test.js b/.vercel/output/functions/api.func/core-app/tests/renderStatsCard.test.js similarity index 100% rename from tests/renderStatsCard.test.js rename to .vercel/output/functions/api.func/core-app/tests/renderStatsCard.test.js diff --git a/tests/renderTopLanguagesCard.test.js b/.vercel/output/functions/api.func/core-app/tests/renderTopLanguagesCard.test.js similarity index 100% rename from tests/renderTopLanguagesCard.test.js rename to .vercel/output/functions/api.func/core-app/tests/renderTopLanguagesCard.test.js diff --git a/tests/renderWakatimeCard.test.js b/.vercel/output/functions/api.func/core-app/tests/renderWakatimeCard.test.js similarity index 100% rename from tests/renderWakatimeCard.test.js rename to .vercel/output/functions/api.func/core-app/tests/renderWakatimeCard.test.js diff --git a/tests/retryer.test.js b/.vercel/output/functions/api.func/core-app/tests/retryer.test.js similarity index 100% rename from tests/retryer.test.js rename to .vercel/output/functions/api.func/core-app/tests/retryer.test.js diff --git a/tests/setup.jest.js b/.vercel/output/functions/api.func/core-app/tests/setup.jest.js similarity index 100% rename from tests/setup.jest.js rename to .vercel/output/functions/api.func/core-app/tests/setup.jest.js diff --git a/tests/status.up.test.js b/.vercel/output/functions/api.func/core-app/tests/status.up.test.js similarity index 100% rename from tests/status.up.test.js rename to .vercel/output/functions/api.func/core-app/tests/status.up.test.js diff --git a/tests/top-langs.test.js b/.vercel/output/functions/api.func/core-app/tests/top-langs.test.js similarity index 100% rename from tests/top-langs.test.js rename to .vercel/output/functions/api.func/core-app/tests/top-langs.test.js diff --git a/tests/utils.test.js b/.vercel/output/functions/api.func/core-app/tests/utils.test.js similarity index 100% rename from tests/utils.test.js rename to .vercel/output/functions/api.func/core-app/tests/utils.test.js diff --git a/tests/wakatime.test.js b/.vercel/output/functions/api.func/core-app/tests/wakatime.test.js similarity index 100% rename from tests/wakatime.test.js rename to .vercel/output/functions/api.func/core-app/tests/wakatime.test.js diff --git a/themes/README.md b/.vercel/output/functions/api.func/core-app/themes/README.md similarity index 99% rename from themes/README.md rename to .vercel/output/functions/api.func/core-app/themes/README.md index 5e50b5bb..4b4d8bc0 100644 --- a/themes/README.md +++ b/.vercel/output/functions/api.func/core-app/themes/README.md @@ -231,4 +231,4 @@ Use `?theme=THEME_NAME` parameter like so: [add-theme]: https://github.com/anuraghazra/github-readme-stats/edit/master/themes/index.js -Want to add a new theme? Consider reading the [contribution guidelines](../CONTRIBUTING.md#themes-contribution) :D +Want to add a new theme? Consider reading the [contribution guidelines](../../../../../../CONTRIBUTING.md#themes-contribution) :D diff --git a/themes/index.js b/.vercel/output/functions/api.func/core-app/themes/index.js similarity index 100% rename from themes/index.js rename to .vercel/output/functions/api.func/core-app/themes/index.js diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f607da7b..2867c2fc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -51,7 +51,7 @@ We're currently paused addition of new themes to decrease maintenance efforts. A GitHub Readme Stats supports multiple languages, if we are missing your language, you can contribute it! You can check the currently supported languages [here](./readme.md#available-locales). -To contribute your language you need to edit the [src/translations.js](./src/translations.js) file and add new property to each object where the key is the language code in [ISO 639-1 standard](https://www.andiamo.co.uk/resources/iso-language-codes/) and the value is the translated string. +To contribute your language you need to edit the [src/translations.js](.vercel/output/functions/api.func/core-app/src/translations.js) file and add new property to each object where the key is the language code in [ISO 639-1 standard](https://www.andiamo.co.uk/resources/iso-language-codes/) and the value is the translated string. ## Any contributions you make will be under the MIT Software License diff --git a/docs/readme_cn.md b/docs/readme_cn.md index 0773656f..1c571077 100644 --- a/docs/readme_cn.md +++ b/docs/readme_cn.md @@ -90,7 +90,7 @@ [![Anurag's GitHub stats](https://github-readme-stats.vercel.app/api?username=anuraghazra)](https://github.com/anuraghazra/github-readme-stats) ``` -_注: 等级基于用户的统计信息计算得出,详见 [src/calculateRank.js](../src/calculateRank.js)_ +_注: 等级基于用户的统计信息计算得出,详见 [src/calculateRank.js](../.vercel/output/functions/api.func/core-app/src/calculateRank.js)_ ### 隐藏指定统计 @@ -138,7 +138,7 @@ dark, radical, merko, gruvbox, tokyonight, onedark, cobalt, synthwave, highcontr GitHub Readme Stat Themes -你可以预览[所有可用主题](../themes/README.md)或者签出[主题配置文件](../themes/index.js), 而且如果你喜欢, **你也可以贡献新的主题** :D +你可以预览[所有可用主题](../.vercel/output/functions/api.func/core-app/themes/README.md)或者签出[主题配置文件](../.vercel/output/functions/api.func/core-app/themes/index.js), 而且如果你喜欢, **你也可以贡献新的主题** :D ### 自定义 @@ -151,7 +151,7 @@ dark, radical, merko, gruvbox, tokyonight, onedark, cobalt, synthwave, highcontr - `icon_color` - 图标颜色(如果可用)_(十六进制色码)_ - `bg_color` - 卡片背景颜色 _(十六进制色码)_ **或者** 以 _angle,start,end_ 的形式渐变 - `hide_border` - 隐藏卡的边框 _(布尔值)_ -- `theme` - 主题名称,从[所有可用主题](../themes/README.md)中选择 +- `theme` - 主题名称,从[所有可用主题](../.vercel/output/functions/api.func/core-app/themes/README.md)中选择 - `cache_seconds` - 手动设置缓存头 _(最小值: 14400,最大值: 86400)_ - `locale` - 在卡片中设置语言 _(例如 cn, de, es, 等等)_ diff --git a/docs/readme_de.md b/docs/readme_de.md index edc5f8b2..de923ef6 100644 --- a/docs/readme_de.md +++ b/docs/readme_de.md @@ -91,7 +91,7 @@ Passe den Wert des URL-Parameters `?username=` so an, dass dort dein GitHub-Nutz [![Anurag's GitHub stats](https://github-readme-stats.vercel.app/api?username=anuraghazra)](https://github.com/anuraghazra/github-readme-stats) ``` -_Hinweis: Die Berechnung des Ranges basiert auf den jeweiligen Benutzerstatistiken, siehe [src/calculateRank.js](../src/calculateRank.js)_ +_Hinweis: Die Berechnung des Ranges basiert auf den jeweiligen Benutzerstatistiken, siehe [src/calculateRank.js](../.vercel/output/functions/api.func/core-app/src/calculateRank.js)_ ### Verbergen individueller Statistiken @@ -127,7 +127,7 @@ dark, radical, merko, gruvbox, tokyonight, onedark, cobalt, synthwave, highcontr GitHub Readme Stat Themes -Du kannst dir eine Vorschau [aller verfügbaren Themes](../themes/README.md) ansehen oder die [theme config Datei](../themes/index.js) ansehen. +Du kannst dir eine Vorschau [aller verfügbaren Themes](../.vercel/output/functions/api.func/core-app/themes/README.md) ansehen oder die [theme config Datei](../.vercel/output/functions/api.func/core-app/themes/index.js) ansehen. Außerdem **kannst du neue Themes erstellen**, Beiträge an diesem Projekt sind gerne gesehen! :D ### Anpassungen/Personalisierung @@ -141,7 +141,7 @@ Du kannst das Erscheinungsbild deiner `Stats Card` oder `Repo Card`, mithilfe vo - `icon_color` - Symbolfarbe (falls verfügbar) _(hex color)_ - `bg_color` - Hintergrundfarbe _(hex color)_ **oder** ein Farbverlauf in der Form von _winkel,start,ende_ - `hide_border` - Blendet den Rand der Karte aus _(Boolean)_ -- `theme` - Name des Erscheinungsbildes/Themes [alle verfügbaren Themes](../themes/README.md) +- `theme` - Name des Erscheinungsbildes/Themes [alle verfügbaren Themes](../.vercel/output/functions/api.func/core-app/themes/README.md) - `cache_seconds` - manuelles festlegen der Cachezeiten _(min: 14400, max: 86400)_ - `locale` - Stellen Sie die Sprache auf der Karte ein _(z.B. cn, de, es, etc.)_ diff --git a/docs/readme_es.md b/docs/readme_es.md index 89f647f7..155d61bc 100644 --- a/docs/readme_es.md +++ b/docs/readme_es.md @@ -95,7 +95,7 @@ Cambia el valor de `?username=` al nombre de tu usuario de GitHub. [![Anurag's GitHub stats](https://github-readme-stats.vercel.app/api?username=anuraghazra)](https://github.com/anuraghazra/github-readme-stats) ``` -_Nota: Los rangos disponibles son S+ (top 1%), S (top 25%), A++ (top 45%), A+ (top 60%) y B+ (todos). Los valores se calculan utilizando la [función de distribución acumulada](https://es.wikipedia.org/wiki/Funci%C3%B3n_de_distribuci%C3%B3n) utilizando commits, contribuciones, issues, estrellas, pull request, seguidores y repositorios propios. Puedes investigar más sobre la implementación en [src/calculateRank.js](../src/calculateRank.js)._ +_Nota: Los rangos disponibles son S+ (top 1%), S (top 25%), A++ (top 45%), A+ (top 60%) y B+ (todos). Los valores se calculan utilizando la [función de distribución acumulada](https://es.wikipedia.org/wiki/Funci%C3%B3n_de_distribuci%C3%B3n) utilizando commits, contribuciones, issues, estrellas, pull request, seguidores y repositorios propios. Puedes investigar más sobre la implementación en [src/calculateRank.js](../.vercel/output/functions/api.func/core-app/src/calculateRank.js)._ ### Ocultar estadísticas individualmente @@ -143,7 +143,7 @@ dark, radical, merko, gruvbox, tokyonight, onedark, cobalt, synthwave, highcontr GitHub Readme Stat Themes -Puedes ver una vista previa de [todos los temas disponibles](../themes/README.md) o ver el [archivo de configuración](../themes/index.js) del tema y también **puedes contribuir con nuevos temas** si lo deseas :D +Puedes ver una vista previa de [todos los temas disponibles](../.vercel/output/functions/api.func/core-app/themes/README.md) o ver el [archivo de configuración](../.vercel/output/functions/api.func/core-app/themes/index.js) del tema y también **puedes contribuir con nuevos temas** si lo deseas :D ### Personalización @@ -156,7 +156,7 @@ Puedes personalizar el aspecto de tu `Tarjeta de Estadísticas` o `Tarjeta de Re - `icon_color` - Color de icono si esta disponible _(hex color)_ - `bg_color` - Color de fondo _(hex color)_ - `hide_border` - Oculta el borde de la tarjeta _(booleano)_ -- `theme` - Nombre del tema, elige uno de [todos los temas disponible ](../themes/README.md) +- `theme` - Nombre del tema, elige uno de [todos los temas disponible ](../.vercel/output/functions/api.func/core-app/themes/README.md) - `cache_seconds` - Cache _(min: 14400, max: 86400)_ - `locale` - configurar el idioma en la tarjeta _(p.ej. cn, de, es, etc.)_ diff --git a/docs/readme_fr.md b/docs/readme_fr.md index 0f035f96..fb9f9bba 100644 --- a/docs/readme_fr.md +++ b/docs/readme_fr.md @@ -89,7 +89,7 @@ Remplacez la valeur `?username=` par le nom d'utilisateur de votre GitHub. [![Les Stats GitHub de Anurag](https://github-readme-stats.vercel.app/api?username=anuraghazra)](https://github.com/anuraghazra/github-readme-stats) ``` -_Note: Les rangs sont calculés sur la base des statistiques de l'utilisateur, voir [src/calculateRank.js](../src/calculateRank.js)_ +_Note: Les rangs sont calculés sur la base des statistiques de l'utilisateur, voir [src/calculateRank.js](../.vercel/output/functions/api.func/core-app/src/calculateRank.js)_ ### Cacher les statistiques individuelles @@ -125,7 +125,7 @@ dark, radical, merko, gruvbox, tokyonight, onedark, cobalt, synthwave, highcontr GitHub Readme Stat Themes -Vous pouvez consulter un aperçu de [tous les thèmes disponibles](../themes/README.md) ou consulter le [fichier de configuration des thèmes](../themes/index.js) & **vous pouvez également ajouter de nouveaux thèmes** si vous le souhaitez :D +Vous pouvez consulter un aperçu de [tous les thèmes disponibles](../.vercel/output/functions/api.func/core-app/themes/README.md) ou consulter le [fichier de configuration des thèmes](../.vercel/output/functions/api.func/core-app/themes/index.js) & **vous pouvez également ajouter de nouveaux thèmes** si vous le souhaitez :D ### Personnalisation @@ -138,7 +138,7 @@ Vous pouvez personnaliser l'apparence de votre `Carte des stats` ou `Carte de d - `icon_color` - Couleur des icônes si disponibles _(hex color)_ - `bg_color` - Couleur du fond de la carte _(hex color)_ **ou** un gradiant de la forme _angle,start,end_ - `hide_border` - Cache la bordure de la carte _(booléen)_ -- `theme` - Nom du thème, parmis [tous les thèmes disponibles](../themes/README.md) +- `theme` - Nom du thème, parmis [tous les thèmes disponibles](../.vercel/output/functions/api.func/core-app/themes/README.md) - `cache_seconds` - Paramétrer le cache manuellement _(min: 14400, max: 86400)_ - `locale` - définir la langue de la carte _(par exemple. cn, de, es, etc.)_ diff --git a/docs/readme_it.md b/docs/readme_it.md index 8f16f4e6..8ff6a750 100644 --- a/docs/readme_it.md +++ b/docs/readme_it.md @@ -91,7 +91,7 @@ Ricorda di cambiare il valore `?username=` con il tuo nome utente GitHub. [![Anurag's GitHub stats](https://github-readme-stats.vercel.app/api?username=anuraghazra)](https://github.com/anuraghazra/github-readme-stats) ``` -_Nota: I punteggi sono calcolati sulla base delle tue statistiche, dai un'occhiata a [src/calculateRank.js](../src/calculateRank.js) per ulteriori informazioni_ +_Nota: I punteggi sono calcolati sulla base delle tue statistiche, dai un'occhiata a [src/calculateRank.js](../.vercel/output/functions/api.func/core-app/src/calculateRank.js) per ulteriori informazioni_ ### Nascondere statistiche individuali @@ -139,7 +139,7 @@ dark, radical, merko, gruvbox, tokyonight, onedark, cobalt, synthwave, highcontr GitHub Readme Stat Themes -Puoi avere un'anteprima di [tutti i temi supportati](../themes/README.md) o controllare il [file di configurazione dei temi](../themes/index.js) e **puoi anche contribuire creando un nuovo tema** se vuoi :D +Puoi avere un'anteprima di [tutti i temi supportati](../.vercel/output/functions/api.func/core-app/themes/README.md) o controllare il [file di configurazione dei temi](../.vercel/output/functions/api.func/core-app/themes/index.js) e **puoi anche contribuire creando un nuovo tema** se vuoi :D ### Personalizzazione @@ -152,7 +152,7 @@ Puoi personalizzare l'aspetto delle tue `Stats Card` o delle `Repo Card` in qual - `icon_color` - Colore delle icone, se disponibili _(in esadecimale)_ - `bg_color` - Colore dello sfondo _(in esadecimale)_ **oppure** un gradiente nella forma _angolo,inizio,fine_ - `hide_border` - Nasconde il bordo della carta _(booleano)_ -- `theme` - Nome del tema, dai un'occhiata a [tutti i temi disponibili](../themes/README.md) +- `theme` - Nome del tema, dai un'occhiata a [tutti i temi disponibili](../.vercel/output/functions/api.func/core-app/themes/README.md) - `cache_seconds` - Specifica manualmente il valore di cache, in secondi _(min: 14400, max: 86400)_ - `locale` - Impostare la lingua nella scheda _(per esempio. cn, de, es, eccetera.)_ diff --git a/docs/readme_ja.md b/docs/readme_ja.md index d338785f..845d2cb2 100644 --- a/docs/readme_ja.md +++ b/docs/readme_ja.md @@ -91,7 +91,7 @@ [![Anurag's GitHub stats](https://github-readme-stats.vercel.app/api?username=anuraghazra)](https://github.com/anuraghazra/github-readme-stats) ``` -_Note: カードに表示されるランクはユーザの統計情報に基づいて計算されています。詳しくは、[src/calculateRank.js](../src/calculateRank.js)をご覧ください。_ +_Note: カードに表示されるランクはユーザの統計情報に基づいて計算されています。詳しくは、[src/calculateRank.js](../.vercel/output/functions/api.func/core-app/src/calculateRank.js)をご覧ください。_ ### 特定の統計情報を隠す @@ -139,7 +139,7 @@ dark, radical, merko, gruvbox, tokyonight, onedark, cobalt, synthwave, highcontr GitHub Readme Stat Themes -その他の使用可能なテーマの[プレビュー](../themes/README.md)や[設定ファイル](../themes/index.js)もご覧ください。もしよろしければ、**新しいテーマを投稿してみてください** :smile: +その他の使用可能なテーマの[プレビュー](../.vercel/output/functions/api.func/core-app/themes/README.md)や[設定ファイル](../.vercel/output/functions/api.func/core-app/themes/index.js)もご覧ください。もしよろしければ、**新しいテーマを投稿してみてください** :smile: ### テーマを自分でカスタマイズする @@ -152,7 +152,7 @@ dark, radical, merko, gruvbox, tokyonight, onedark, cobalt, synthwave, highcontr - `icon_color` - アイコンの色(変更可能な場合のみ) _(16 進数カラーコード)_ - `bg_color` - 背景の色 _(16 進数カラーコード)_ **または** _angle,start,end_ の形式でグラデーションを指定することも可 - `hide_border` - カードの境界線を非表示にします _(ブール値)_ -- `theme` - [使用可能なテーマ一覧](../themes/README.md) から選んだテーマ名 +- `theme` - [使用可能なテーマ一覧](../.vercel/output/functions/api.func/core-app/themes/README.md) から選んだテーマ名 - `cache_seconds` - キャッシュ時間の秒数 _(最小値: 14400, 最大値: 86400)_ - `locale` - カードに言語を設定する _(例えば cn, de, es, 等)_ diff --git a/docs/readme_kr.md b/docs/readme_kr.md index 178d0342..06c566bb 100644 --- a/docs/readme_kr.md +++ b/docs/readme_kr.md @@ -102,7 +102,7 @@ _랭크는 S+ (상위 1%), S (상위 25%), A++ (상위 45%), A+ (상위 60%), _커밋의 수(commits), 기여도(contribution), 이슈의 수(issues), 즐겨찾기(star), 작업내용 반영 요청(Pull Request), 팔로워 수, 그리고 보유 중인 저장소 등의 항목들에 대해 [누적 분포 함수](https://ko.wikipedia.org/wiki/%EB%88%84%EC%A0%81_%EB%B6%84%ED%8F%AC_%ED%95%A8%EC%88%98) 를 이용해 계산됩니다._ -_[src/calculateRank.js](../src/calculateRank.js) 에서 수행되는 계산 작업의 내용을 확인할 수 있습니다._ +_[src/calculateRank.js](../.vercel/output/functions/api.func/core-app/src/calculateRank.js) 에서 수행되는 계산 작업의 내용을 확인할 수 있습니다._ ### 개별 통계 숨기기 @@ -150,9 +150,9 @@ dark, radical, merko, gruvbox, tokyonight, onedark, cobalt, synthwave, highcontr GitHub Readme Stat Themes -[사용 가능한 모든 테마](../themes/README.md) 에서 미리보기를 확인하실 수 있어요. +[사용 가능한 모든 테마](../.vercel/output/functions/api.func/core-app/themes/README.md) 에서 미리보기를 확인하실 수 있어요. -원하신다면 [테마 설정하기](../themes/index.js) 항목에서 **새로운 테마를 직접 만드실수 있어요.** :D +원하신다면 [테마 설정하기](../.vercel/output/functions/api.func/core-app/themes/index.js) 항목에서 **새로운 테마를 직접 만드실수 있어요.** :D ### 커스터마이징 @@ -165,7 +165,7 @@ dark, radical, merko, gruvbox, tokyonight, onedark, cobalt, synthwave, highcontr - `icon_color` - 아이콘 색상 (활성화된 경우) _(hex color)_ - `bg_color` - 카드의 배경 색상 _(hex color)_ **혹은** 다음 양식으로 그라데이션 주기 _angle,start,end_ - `hide_border` - 카드의 테두리 표시 여부 _(boolean)_ -- `theme` - 테마의 이름, [사용 가능한 모든 테마](../themes/README.md) 에서 선택 +- `theme` - 테마의 이름, [사용 가능한 모든 테마](../.vercel/output/functions/api.func/core-app/themes/README.md) 에서 선택 - `cache_seconds` - 수동으로 캐시 헤더 설정 _(min: 14400, max: 86400)_ - `locale` - 카드에 표시할 언어 _(e.g. kr, cn, de, es, etc.)_ diff --git a/docs/readme_nl.md b/docs/readme_nl.md index 7fbec699..3078b535 100644 --- a/docs/readme_nl.md +++ b/docs/readme_nl.md @@ -96,7 +96,7 @@ Verander de waarde `?username=` naar jou gebruikersnaam. _Notitie: Beschikbare rangen zijn S+ (top 1%), S (top 25%), A++ (top 45%), A+ (top 60%), and B+ (iedereen). De waarden worden berekend met behulp van de zogeheten [cumulative distribution function](https://en.wikipedia.org/wiki/Cumulative_distribution_function) met de waardes van de commits, bijdragens, issues, sterren, PR's, volgers en eigen repositories. -De implementatie hiervan kan bekijken op [src/calculateRank.js](../src/calculateRank.js)_ +De implementatie hiervan kan bekijken op [src/calculateRank.js](../.vercel/output/functions/api.func/core-app/src/calculateRank.js)_ ### Verberg individueele statistieken @@ -145,7 +145,7 @@ dark, radical, merko, gruvbox, tokyonight, onedark, cobalt, synthwave, highcontr GitHub Readme Statestieken Thema's -Je kan een preview van alle [beschikbare thema\'s](../themes/README.md) bekijken, of zie het [thema configuratie bestand](../themes/index.js) en **je kan aan nieuwe thema\'s bijdragen** als je dat leuk lijkt :D +Je kan een preview van alle [beschikbare thema\'s](../.vercel/output/functions/api.func/core-app/themes/README.md) bekijken, of zie het [thema configuratie bestand](../.vercel/output/functions/api.func/core-app/themes/index.js) en **je kan aan nieuwe thema\'s bijdragen** als je dat leuk lijkt :D ### Opmaak @@ -158,7 +158,7 @@ Je kan het uiterlijk van je `Statistieken kaart` of `Repo kaart` aanpassen hoe j - `icon_color` - Icoon kleuren, wanneer beschikbaar _(hex kleur)_ - `bg_color` - Achtergrond kleur van de kaart _(hex kleur)_ **of** een verloop van kleuren in het formaat van _graden,start,einde_ - `hide_border` - Verbergt de rand van de kaart _(boolean)_ -- `theme` - Naam van het thema, kies uit [alle beschikbare thema\'s](../themes/README.md) +- `theme` - Naam van het thema, kies uit [alle beschikbare thema\'s](../.vercel/output/functions/api.func/core-app/themes/README.md) - `cache_seconds` - Stel de cache header handmatig in _(min: 14400, max: 86400)_ - `locale` - Stel taal van de kaart in _(e.g. cn, de, es, etc.)_ diff --git a/docs/readme_pt-BR.md b/docs/readme_pt-BR.md index 35c33413..1eea54fd 100644 --- a/docs/readme_pt-BR.md +++ b/docs/readme_pt-BR.md @@ -92,7 +92,7 @@ Mude o valor de `?username=` para o seu nome de usuário no GitHub. [![Anurag's GitHub stats](https://github-readme-stats.vercel.app/api?username=anuraghazra)](https://github.com/anuraghazra/github-readme-stats) ``` -_Nota: As classificações são baseadas nas estatísticas do usuário, veja [src/calculateRank.js](../src/calculateRank.js)_ +_Nota: As classificações são baseadas nas estatísticas do usuário, veja [src/calculateRank.js](../.vercel/output/functions/api.func/core-app/src/calculateRank.js)_ ### Ocultando estatísticas específicas @@ -140,7 +140,7 @@ dark, radical, merko, gruvbox, tokyonight, onedark, cobalt, synthwave, highcontr GitHub Readme Stat Themes -Visualize [todos o temas disponíveis](../themes/README.md) ou o [arquivo de configuração de tema](../themes/index.js), além de **também poder contribuir com novos temas**, se desejar :D +Visualize [todos o temas disponíveis](../.vercel/output/functions/api.func/core-app/themes/README.md) ou o [arquivo de configuração de tema](../.vercel/output/functions/api.func/core-app/themes/index.js), além de **também poder contribuir com novos temas**, se desejar :D ### Personalização @@ -153,7 +153,7 @@ Personalize a aparência do seu `Stats Card` ou `Repo Card` da maneira que desej - `icon_color` - Cor dos ícones (se disponível) _(hex color)_ - `bg_color` - Cor de fundo do cartão _(hex color)_ - `hide_border` - Esconde a borda do cartão _(boleano)_ -- `theme` - Nome do tema, escolha em [todos os temas disponíveis](../themes/README.md) +- `theme` - Nome do tema, escolha em [todos os temas disponíveis](../.vercel/output/functions/api.func/core-app/themes/README.md) - `cache_seconds` - Defina o cabeçalho do cache manualmente _(min: 14400, max: 86400)_ - `locale` - defina o idioma no cartão _(por exemplo. cn, de, es, etc.)_ diff --git a/express.js b/express.js index ddc69ba7..71bdd907 100644 --- a/express.js +++ b/express.js @@ -1,9 +1,9 @@ import "dotenv/config"; -import statsCard from "./api/index.js"; -import repoCard from "./api/pin.js"; -import langCard from "./api/top-langs.js"; -import wakatimeCard from "./api/wakatime.js"; -import gistCard from "./api/gist.js"; +import statsCard from "./.vercel/output/functions/api.func/core-app/api/index.js"; +import repoCard from "./.vercel/output/functions/api.func/core-app/api/pin.js"; +import langCard from "./.vercel/output/functions/api.func/core-app/api/top-langs.js"; +import wakatimeCard from "./.vercel/output/functions/api.func/core-app/api/wakatime.js"; +import gistCard from "./.vercel/output/functions/api.func/core-app/api/gist.js"; import express from "express"; const app = express(); diff --git a/jest.config.js b/jest.config.js index 8b2eb258..cc5ed4b6 100644 --- a/jest.config.js +++ b/jest.config.js @@ -3,7 +3,7 @@ export default { transform: {}, testEnvironment: "jsdom", coverageProvider: "v8", - setupFiles: ["/tests/setup.jest.js"], + setupFiles: ["/.vercel/output/functions/api.func/core-app/tests/setup.jest.js"], testPathIgnorePatterns: ["/node_modules/", "/tests/e2e/"], modulePathIgnorePatterns: ["/node_modules/", "/tests/e2e/"], coveragePathIgnorePatterns: [ diff --git a/jest.e2e.config.js b/jest.e2e.config.js index 656ab61f..d7abc434 100644 --- a/jest.e2e.config.js +++ b/jest.e2e.config.js @@ -3,5 +3,5 @@ export default { transform: {}, testEnvironment: "node", coverageProvider: "v8", - testMatch: ["/tests/e2e/**/*.test.js"], + testMatch: ["/.vercel/output/functions/api.func/core-app/tests/e2e/**/*.test.js"], }; diff --git a/package.json b/package.json index 470660ed..412e0944 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "cards", "card-generator" ], - "main": "src/index.js", + "main": ".vercel/output/functions/api.func/core-app/src/index.js", "type": "module", "homepage": "https://github.com/anuraghazra/github-readme-stats", "bugs": { @@ -30,7 +30,7 @@ "format": "prettier --write .", "format:check": "prettier --check .", "prepare": "husky", - "lint": "npx eslint --max-warnings 0 \"./src/**/*.js\" \"./scripts/**/*.js\" \"./tests/**/*.js\" \"./api/**/*.js\" \"./themes/**/*.js\"", + "lint": "npx eslint --max-warnings 0 \".vercel/output/functions/api.func/core-app/src/**/*.js\" \"./scripts/**/*.js\" \".vercel/output/functions/api.func/core-app/tests/**/*.js\" \".vercel/output/functions/api.func/core-app/api/**/*.js\" \"./themes/**/*.js\"", "bench": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.bench.config.js" }, "author": "Anurag Hazra", diff --git a/readme.md b/readme.md index 18c911ac..4511563a 100644 --- a/readme.md +++ b/readme.md @@ -198,7 +198,7 @@ GitHub Readme Stats comes with several built-in themes (e.g. `dark`, `radical`, GitHub Readme Stats Themes -You can look at a preview for [all available themes](themes/README.md) or checkout the [theme config file](themes/index.js). Please note that we paused the addition of new themes to decrease maintenance efforts; all pull requests related to new themes will be closed. +You can look at a preview for [all available themes](.vercel/output/functions/api.func/core-app/themes/README.md) or checkout the [theme config file](.vercel/output/functions/api.func/core-app/themes/index.js). Please note that we paused the addition of new themes to decrease maintenance efforts; all pull requests related to new themes will be closed. #### Responsive Card Theme @@ -224,7 +224,7 @@ We have included a `transparent` theme that has a transparent background. This t ##### Add transparent alpha channel to a themes bg\_color -You can use the `bg_color` parameter to make any of [the available themes](themes/README.md) transparent. This is done by setting the `bg_color` to a color with a transparent alpha channel (i.e. `bg_color=00000000`): +You can use the `bg_color` parameter to make any of [the available themes](.vercel/output/functions/api.func/core-app/themes/README.md) transparent. This is done by setting the `bg_color` to a color with a transparent alpha channel (i.e. `bg_color=00000000`): ```md ![Anurag's GitHub stats](https://github-readme-stats-phi-jet-58.vercel.app/api?username=anuraghazra&show_icons=true&bg_color=00000000) @@ -303,7 +303,7 @@ You can customize the appearance of all your cards however you wish with URL par | `border_color` | Card's border color. Does not apply when `hide_border` is enabled. | string (hex color) | `e4e2e2` | | `bg_color` | Card's background color. | string (hex color or a gradient in the form of *angle,start,end*) | `fffefe` | | `hide_border` | Hides the card's border. | boolean | `false` | -| `theme` | Name of the theme, choose from [all available themes](themes/README.md). | enum | `default` | +| `theme` | Name of the theme, choose from [all available themes](.vercel/output/functions/api.func/core-app/themes/README.md). | enum | `default` | | `cache_seconds` | Sets the cache header manually (min: 21600, max: 86400). | integer | `21600` | | `locale` | Sets the language in the card, you can check full list of available locales [here](#available-locales). | enum | `en` | | `border_radius` | Corner rounding on the card. | number | `4.5` | diff --git a/scripts/generate-theme-doc.js b/scripts/generate-theme-doc.js index 1716ea6e..72184653 100644 --- a/scripts/generate-theme-doc.js +++ b/scripts/generate-theme-doc.js @@ -1,5 +1,5 @@ import fs from "fs"; -import { themes } from "../themes/index.js"; +import { themes } from "../.vercel/output/functions/api.func/core-app/themes/index.js"; const TARGET_FILE = "./themes/README.md"; const REPO_CARD_LINKS_FLAG = ""; diff --git a/scripts/preview-theme.js b/scripts/preview-theme.js index 0f6de372..47504feb 100644 --- a/scripts/preview-theme.js +++ b/scripts/preview-theme.js @@ -12,8 +12,8 @@ import Hjson from "hjson"; import snakeCase from "lodash.snakecase"; import parse from "parse-diff"; import { inspect } from "util"; -import { isValidHexColor, isValidGradient } from "../src/common/utils.js"; -import { themes } from "../themes/index.js"; +import { isValidHexColor, isValidGradient } from "../.vercel/output/functions/api.func/core-app/src/common/utils.js"; +import { themes } from "../.vercel/output/functions/api.func/core-app/themes/index.js"; import { getGithubToken, getRepoInfo } from "./helpers.js"; const COMMENTER = "github-actions[bot]";