Compare commits
14 commits
Author | SHA1 | Date | |
---|---|---|---|
c6bf9b5d36 | |||
7001c990fa | |||
e33b1cd3ae | |||
bb509c6df8 | |||
6b67469c45 | |||
7def8a9f9f | |||
6ae6be6e72 | |||
7c4a4c979b | |||
dbb24642c7 | |||
a73c7795c8 | |||
7d321732f6 | |||
cd25655124 | |||
a60f40f239 | |||
4ad183b1d1 |
6 changed files with 24 additions and 5 deletions
11
.build.yml
Normal file
11
.build.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
image: alpine/edge
|
||||
secrets:
|
||||
- bbfcb6dc-7c4a-42ee-a11a-022f0339a133
|
||||
environment:
|
||||
REPO: astro-github-stats
|
||||
GH_USER: ayoayco
|
||||
tasks:
|
||||
- push-mirror: |
|
||||
cd ~/"${REPO}"
|
||||
git config --global credential.helper store
|
||||
git push --mirror "https://github.com/${GH_USER}/${REPO}"
|
|
@ -1,3 +1,6 @@
|
|||
> [!Note]
|
||||
> Project moved to [SourceHut](https://git.sr.ht/~ayoayco/astro-github-stats)
|
||||
|
||||
# Astro GitHub Stats ✨
|
||||
|
||||
[](https://www.npmjs.com/package/astro-github-stats)
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
import { defineConfig } from 'astro/config'
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({})
|
||||
export default defineConfig({
|
||||
image: {
|
||||
// domains: ['github-readme-stats.vercel.app'],
|
||||
},
|
||||
})
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"description": "Embed GitHub stats in your Astro page ✨",
|
||||
"repository": "https://github.com/ayoayco/astro-github-stats",
|
||||
"homepage": "https://ayco.io/showcase/astro-github-stats",
|
||||
"version": "0.7.1",
|
||||
"version": "0.8.0",
|
||||
"author": {
|
||||
"name": "Ayo Ayco",
|
||||
"email": "ayo@ayco.io",
|
||||
|
@ -51,7 +51,7 @@
|
|||
"typescript-eslint": "^8.18.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^5"
|
||||
"astro": ">=5.0.0"
|
||||
},
|
||||
"license": "ISC",
|
||||
"workspaces": [
|
||||
|
|
|
@ -9,7 +9,7 @@ importers:
|
|||
.:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^5
|
||||
specifier: '>=5.0.0'
|
||||
version: 5.1.1(@types/node@22.10.2)(jiti@2.4.2)(rollup@4.29.1)(typescript@5.7.2)
|
||||
devDependencies:
|
||||
'@eslint/js':
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
import {Image} from 'astro:assets'
|
||||
export interface Props {
|
||||
username: string
|
||||
topLanguages?: boolean
|
||||
|
@ -25,4 +26,4 @@ if (topLanguages) {
|
|||
alt = altText || alt
|
||||
---
|
||||
|
||||
<img src={url} alt={alt} />
|
||||
<Image inferSize={true} src={url} alt={alt} />
|
||||
|
|
Loading…
Reference in a new issue