move core app to .vercel/output/..., adapt only some paths

This commit is contained in:
martin-mfg
2025-06-23 15:55:46 +02:00
parent fc9d9272c4
commit 31ca8a317a
86 changed files with 47 additions and 48 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ on:
branches:
- master
paths:
- "themes/index.js"
- "../../.vercel/output/functions/api.func/core-app/themes/index.js"
permissions:
actions: read
+1 -1
View File
@@ -5,7 +5,7 @@ on:
branches:
- master
paths:
- "themes/index.js"
- "../../.vercel/output/functions/api.func/core-app/themes/index.js"
permissions:
actions: read
-1
View File
@@ -2,4 +2,3 @@ node_modules
*.json
*.md
coverage
.vercel
@@ -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
+1 -1
View File
@@ -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
+3 -3
View File
@@ -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
<img src="https://res.cloudinary.com/anuraghazra/image/upload/v1595174536/grs-themes_l4ynja.png" alt="GitHub Readme Stat Themes" width="600px"/>
你可以预览[所有可用主题](../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, 等等)_
+3 -3
View File
@@ -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
<img src="https://res.cloudinary.com/anuraghazra/image/upload/v1595174536/grs-themes_l4ynja.png" alt="GitHub Readme Stat Themes" width="600px"/>
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.)_
+3 -3
View File
@@ -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
<img src="https://res.cloudinary.com/anuraghazra/image/upload/v1595174536/grs-themes_l4ynja.png" alt="GitHub Readme Stat Themes" width="600px"/>
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.)_
+3 -3
View File
@@ -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
<img src="https://res.cloudinary.com/anuraghazra/image/upload/v1595174536/grs-themes_l4ynja.png" alt="GitHub Readme Stat Themes" width="600px"/>
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.)_
+3 -3
View File
@@ -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
<img src="https://res.cloudinary.com/anuraghazra/image/upload/v1595174536/grs-themes_l4ynja.png" alt="GitHub Readme Stat Themes" width="600px"/>
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.)_
+3 -3
View File
@@ -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
<img src="https://res.cloudinary.com/anuraghazra/image/upload/v1595174536/grs-themes_l4ynja.png" alt="GitHub Readme Stat Themes" width="600px"/>
その他の使用可能なテーマの[プレビュー](../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, 等)_
+4 -4
View File
@@ -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
<img src="https://res.cloudinary.com/anuraghazra/image/upload/v1595174536/grs-themes_l4ynja.png" alt="GitHub Readme Stat Themes" width="600px"/>
[사용 가능한 모든 테마](../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.)_
+3 -3
View File
@@ -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
<img src="https://res.cloudinary.com/anuraghazra/image/upload/v1595174536/grs-themes_l4ynja.png" alt="GitHub Readme Statestieken Thema's" width="600px"/>
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.)_
+3 -3
View File
@@ -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
<img src="https://res.cloudinary.com/anuraghazra/image/upload/v1595174536/grs-themes_l4ynja.png" alt="GitHub Readme Stat Themes" width="600px"/>
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.)_
+5 -5
View File
@@ -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();
+1 -1
View File
@@ -3,7 +3,7 @@ export default {
transform: {},
testEnvironment: "jsdom",
coverageProvider: "v8",
setupFiles: ["<rootDir>/tests/setup.jest.js"],
setupFiles: ["<rootDir>/.vercel/output/functions/api.func/core-app/tests/setup.jest.js"],
testPathIgnorePatterns: ["<rootDir>/node_modules/", "<rootDir>/tests/e2e/"],
modulePathIgnorePatterns: ["<rootDir>/node_modules/", "<rootDir>/tests/e2e/"],
coveragePathIgnorePatterns: [
+1 -1
View File
@@ -3,5 +3,5 @@ export default {
transform: {},
testEnvironment: "node",
coverageProvider: "v8",
testMatch: ["<rootDir>/tests/e2e/**/*.test.js"],
testMatch: ["<rootDir>/.vercel/output/functions/api.func/core-app/tests/e2e/**/*.test.js"],
};
+2 -2
View File
@@ -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",
+3 -3
View File
@@ -198,7 +198,7 @@ GitHub Readme Stats comes with several built-in themes (e.g. `dark`, `radical`,
<img src="https://res.cloudinary.com/anuraghazra/image/upload/v1595174536/grs-themes_l4ynja.png" alt="GitHub Readme Stats Themes" width="600px"/>
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` |
+1 -1
View File
@@ -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 = "<!-- REPO_CARD_LINKS -->";
+2 -2
View File
@@ -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]";