Skip to content

Commit b4d36f7

Browse files
author
Test User
committed
chore: bin build changes and stargazers
1 parent 46f94e2 commit b4d36f7

File tree

7 files changed

+40
-24
lines changed

7 files changed

+40
-24
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ jobs:
4343
uses: softprops/action-gh-release@v2
4444
with:
4545
files: |
46-
bin/imgx-linux-x64
47-
bin/imgx-linux-arm64
48-
bin/imgx-windows-x64.exe
49-
bin/imgx-darwin-x64
50-
bin/imgx-darwin-arm64
46+
bin/imgx-linux-x64.zip
47+
bin/imgx-linux-arm64.zip
48+
bin/imgx-windows-x64.zip
49+
bin/imgx-darwin-x64.zip
50+
bin/imgx-darwin-arm64.zip
5151
env:
5252
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ node_modules
1313
temp
1414
docs/.vitepress/cache
1515
storage
16+
bin/imgx
17+
bin/imgx*

docs/.vitepress/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const nav = [
3232
{ text: 'Sponsors', link: '/sponsors' },
3333
{ text: 'Partners', link: '/partners' },
3434
{ text: 'Postcardware', link: '/postcardware' },
35+
{ text: 'Stargazers', link: '/stargazers' },
3536
{ text: 'License', link: '/license' },
3637
{
3738
items: [

docs/intro.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ Please see our [releases](https://github.com/stacksjs/stacks/releases) page for
2121

2222
Please review the [Contributing Guide](https://github.com/stacksjs/contributing) for details.
2323

24+
## Stargazers
25+
26+
[![Stargazers](https://starchart.cc/stacksjs/imgx.svg?variant=adaptive)](https://starchart.cc/stacksjs/imgx)
27+
2428
## Community
2529

2630
For help, discussion about best practices, or any other conversation that would benefit from being searchable:

docs/sponsors.md

Lines changed: 17 additions & 17 deletions
Large diffs are not rendered by default.

docs/stargazers.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Stargazers over time
2+
3+
[![Stargazers over time](https://starchart.cc/stacksjs/imgx.svg?variant=adaptive)](https://starchart.cc/stacksjs/imgx)

package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,19 @@
5252
"lint:fix": "bunx --bun eslint . --fix",
5353
"fresh": "bunx rimraf node_modules/ bun.lock && bun i",
5454
"changelog": "bunx changelogen --output CHANGELOG.md",
55-
"prepublishOnly": "bun --bun run build && bun run compile:all",
55+
"prepublishOnly": "bun --bun run build && bun run compile:all && bun run zip",
5656
"release": "bun run changelog && bunx bumpp package.json --all",
5757
"test": "bun test",
5858
"typecheck": "bunx tsc --noEmit",
5959
"dev:docs": "bun --bun vitepress dev docs",
6060
"build:docs": "bun --bun vitepress build docs",
61-
"preview:docs": "bun --bun vitepress preview docs"
61+
"preview:docs": "bun --bun vitepress preview docs",
62+
"zip": "bun run zip:all",
63+
"zip:all": "bun run zip:linux-x64 && bun run zip:linux-arm64 && bun run zip:windows-x64 && bun run zip:darwin-x64 && bun run zip:darwin-arm64",
64+
"zip:linux-x64": "zip -j bin/imgx-linux-x64.zip bin/imgx-linux-x64",
65+
"zip:linux-arm64": "zip -j bin/imgx-linux-arm64.zip bin/imgx-linux-arm64",
66+
"zip:windows-x64": "zip -j bin/imgx-windows-x64.zip bin/imgx-windows-x64.exe",
67+
"zip:darwin-x64": "zip -j bin/imgx-darwin-x64.zip bin/imgx-darwin-x64"
6268
},
6369
"devDependencies": {
6470
"@stacksjs/docs": "^0.69.3",

0 commit comments

Comments
 (0)