Compare commits

..

No commits in common. "main" and "v0.7.3" have entirely different histories.
main ... v0.7.3

8 changed files with 10 additions and 2556 deletions

View file

@ -1,3 +0,0 @@
echo "post-commit..."
git push gh
git push sh

1
.husky/pre-commit Normal file
View file

@ -0,0 +1 @@
npm run lint

View file

@ -1,6 +1,3 @@
> [!Note]
> Project moved to [SourceHut](https://git.sr.ht/~ayoayco/astro-github-stats)
# Astro GitHub Stats ✨
[![npm](https://img.shields.io/npm/v/astro-github-stats)](https://www.npmjs.com/package/astro-github-stats)

View file

@ -1,8 +1,4 @@
import { defineConfig } from 'astro/config'
// https://astro.build/config
export default defineConfig({
image: {
// domains: ['github-readme-stats.vercel.app'],
},
})
export default defineConfig({})

View file

@ -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.8.0",
"version": "0.7.3",
"author": {
"name": "Ayo Ayco",
"email": "ayo@ayco.io",
@ -51,7 +51,10 @@
"typescript-eslint": "^8.18.2"
},
"peerDependencies": {
"astro": ">=5.0.0"
"astro": "^5"
},
"license": "ISC"
"license": "ISC",
"workspaces": [
"demo"
]
}

File diff suppressed because it is too large Load diff

View file

@ -1,2 +0,0 @@
packages:
- "demo/**"

View file

@ -1,5 +1,4 @@
---
import {Image} from 'astro:assets'
export interface Props {
username: string
topLanguages?: boolean
@ -26,4 +25,4 @@ if (topLanguages) {
alt = altText || alt
---
<Image inferSize={true} src={url} alt={alt} />
<img src={url} alt={alt} />