Skip to content

Commit

Permalink
chore: update gen image
Browse files Browse the repository at this point in the history
  • Loading branch information
hunghg255 committed Nov 7, 2024
1 parent 668183f commit 61f3243
Show file tree
Hide file tree
Showing 26 changed files with 9,049 additions and 6,706 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@ dist

# IDE
.idea
sponsorkit
contributorkit
.DS_Store
1 change: 1 addition & 0 deletions build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ export default defineBuildConfig({
],
declaration: true,
clean: true,
failOnWarn: false

Check failure on line 10 in build.config.ts

View workflow job for this annotation

GitHub Actions / build

Missing trailing comma
})
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import antfu from '@antfu/eslint-config'

export default antfu({
ignores: ['sponsorkit', '**/sponsorkit/**'],
ignores: ['contributorkit', '**/contributorkit/**'],
})
4,490 changes: 2,146 additions & 2,344 deletions example/.cache.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sponsorkit
contributorkit
node_modules
Binary file modified example/contributor-circles.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
792 changes: 594 additions & 198 deletions example/contributor-circles.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added example/contributor-wide.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,154 changes: 767 additions & 387 deletions example/contributor-wide.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added example/contributor-wide.webp
Binary file not shown.
Binary file modified example/contributor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,146 changes: 763 additions & 383 deletions example/contributor.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added example/contributor.webp
Binary file not shown.
10 changes: 5 additions & 5 deletions example/contributorkit.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig, tierPresets } from 'sponsorkit'
import { defineConfig, tierPresets } from 'contributorkit'

Check failure on line 1 in example/contributorkit.config.ts

View workflow job for this annotation

GitHub Actions / build

'tierPresets' is defined but never used

export default defineConfig({
// includePrivate: true,
Expand Down Expand Up @@ -59,18 +59,18 @@ export default defineConfig({
// },
// ],
outputDir: '.',
owner: 'vercel',
repo: 'next.js',
owner: 'facebook',
repo: 'react',
renders: [
{
name: 'contributor',
width: 800,
formats: ['svg', 'png'],
formats: ['svg', 'png', 'webp'],
},
{
name: 'contributor-wide',
width: 1000,
formats: ['svg'],
formats: ['svg', 'png', 'webp'],
},
{
renderer: 'circles',
Expand Down
3 changes: 3 additions & 0 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@
},
"devDependencies": {
"contributorkit": "workspace:*"
},
"dependencies": {

Check failure on line 11 in example/package.json

View workflow job for this annotation

GitHub Actions / build

Expected object keys to be in specified order. 'dependencies' should be before 'devDependencies'
"picocolors": "^1.1.1"
}
}
31 changes: 16 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "contributorkit",
"type": "module",
"version": "0.0.3",
"packageManager": "pnpm@9.0.6",
"packageManager": "pnpm@9.12.3",
"description": "Toolkit for generating contributors images",
"author": "Hung <giahung197bg@gmail.com>",
"license": "MIT",
Expand Down Expand Up @@ -52,28 +52,29 @@
"d3-hierarchy": "^3.1.2",
"dotenv": "^16.4.5",
"node-html-parser": "^6.1.13",
"ofetch": "^1.3.4",
"normalize-url": "^8.0.1",
"ofetch": "^1.4.1",
"p-limit": "^5.0.0",
"picocolors": "^1.0.0",
"sharp": "^0.33.3",
"picocolors": "^1.1.1",
"sharp": "^0.33.5",
"unconfig": "^0.3.13",
"yargs": "^17.7.2"
},
"devDependencies": {
"@antfu/eslint-config": "^2.16.1",
"@antfu/eslint-config": "^2.27.3",
"@antfu/ni": "^0.21.12",
"@antfu/utils": "^0.7.7",
"@antfu/utils": "^0.7.10",
"@types/d3-hierarchy": "^3.1.7",
"@types/node": "^20.12.8",
"@types/yargs": "^17.0.32",
"bumpp": "^9.4.1",
"eslint": "^9.1.1",
"esno": "^4.7.0",
"jiti": "^1.21.0",
"typescript": "^5.4.5",
"@types/node": "^20.17.6",
"@types/yargs": "^17.0.33",
"bumpp": "^9.8.1",
"eslint": "^9.14.0",
"esno": "^4.8.0",
"jiti": "^1.21.6",
"typescript": "^5.6.3",
"unbuild": "^2.0.0",
"vite": "^5.2.11",
"vitest": "^1.5.3"
"vite": "^5.4.10",
"vitest": "^1.6.0"
},
"resolutions": {
"contributorkit": "workspace:*"
Expand Down
Loading

0 comments on commit 61f3243

Please sign in to comment.