Compare commits
11 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0be2311351 | |||
| 3d028dc231 | |||
| c6bf9b5d36 | |||
| 7001c990fa | |||
| e33b1cd3ae | |||
| bb509c6df8 | |||
| 6b67469c45 | |||
| 7def8a9f9f | |||
| 6ae6be6e72 | |||
| a60f40f239 | |||
| 4ad183b1d1 |
8 changed files with 2555 additions and 9 deletions
3
.husky/post-commit
Normal file
3
.husky/post-commit
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
echo "post-commit..."
|
||||||
|
git push gh --mirror
|
||||||
|
git push sh --mirror
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
npm run lint
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
> [!Note]
|
||||||
|
> Project moved to [SourceHut](https://git.sr.ht/~ayoayco/astro-github-stats)
|
||||||
|
|
||||||
# Astro GitHub Stats ✨
|
# Astro GitHub Stats ✨
|
||||||
|
|
||||||
[](https://www.npmjs.com/package/astro-github-stats)
|
[](https://www.npmjs.com/package/astro-github-stats)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,8 @@
|
||||||
import { defineConfig } from 'astro/config'
|
import { defineConfig } from 'astro/config'
|
||||||
|
|
||||||
// https://astro.build/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 ✨",
|
"description": "Embed GitHub stats in your Astro page ✨",
|
||||||
"repository": "https://github.com/ayoayco/astro-github-stats",
|
"repository": "https://github.com/ayoayco/astro-github-stats",
|
||||||
"homepage": "https://ayco.io/showcase/astro-github-stats",
|
"homepage": "https://ayco.io/showcase/astro-github-stats",
|
||||||
"version": "0.7.4",
|
"version": "0.8.0",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Ayo Ayco",
|
"name": "Ayo Ayco",
|
||||||
"email": "ayo@ayco.io",
|
"email": "ayo@ayco.io",
|
||||||
|
|
@ -53,8 +53,5 @@
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"astro": ">=5.0.0"
|
"astro": ">=5.0.0"
|
||||||
},
|
},
|
||||||
"license": "ISC",
|
"license": "ISC"
|
||||||
"workspaces": [
|
|
||||||
"demo"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2539
pnpm-lock.yaml
2539
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
2
pnpm-workspace.yaml
Normal file
2
pnpm-workspace.yaml
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
packages:
|
||||||
|
- "demo/**"
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
|
import {Image} from 'astro:assets'
|
||||||
export interface Props {
|
export interface Props {
|
||||||
username: string
|
username: string
|
||||||
topLanguages?: boolean
|
topLanguages?: boolean
|
||||||
|
|
@ -25,4 +26,4 @@ if (topLanguages) {
|
||||||
alt = altText || alt
|
alt = altText || alt
|
||||||
---
|
---
|
||||||
|
|
||||||
<img src={url} alt={alt} />
|
<Image inferSize={true} src={url} alt={alt} />
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue