Compare commits
No commits in common. "main" and "v0.7.4" have entirely different histories.
8 changed files with 9 additions and 2555 deletions
|
|
@ -1,3 +0,0 @@
|
||||||
echo "post-commit..."
|
|
||||||
git push gh --mirror
|
|
||||||
git push sh --mirror
|
|
||||||
1
.husky/pre-commit
Normal file
1
.husky/pre-commit
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
npm run lint
|
||||||
|
|
@ -1,6 +1,3 @@
|
||||||
> [!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,8 +1,4 @@
|
||||||
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.8.0",
|
"version": "0.7.4",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Ayo Ayco",
|
"name": "Ayo Ayco",
|
||||||
"email": "ayo@ayco.io",
|
"email": "ayo@ayco.io",
|
||||||
|
|
@ -53,5 +53,8 @@
|
||||||
"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
|
|
@ -1,2 +0,0 @@
|
||||||
packages:
|
|
||||||
- "demo/**"
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
import {Image} from 'astro:assets'
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
username: string
|
username: string
|
||||||
topLanguages?: boolean
|
topLanguages?: boolean
|
||||||
|
|
@ -26,4 +25,4 @@ if (topLanguages) {
|
||||||
alt = altText || alt
|
alt = altText || alt
|
||||||
---
|
---
|
||||||
|
|
||||||
<Image inferSize={true} src={url} alt={alt} />
|
<img src={url} alt={alt} />
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue