Skip to content

Commit 21075c0

Browse files
committed
chore: add zip and stargazers
1 parent dd14881 commit 21075c0

File tree

6 files changed

+38
-23
lines changed

6 files changed

+38
-23
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/rpx-linux-x64
47-
bin/rpx-linux-arm64
48-
bin/rpx-windows-x64.exe
49-
bin/rpx-darwin-x64
50-
bin/rpx-darwin-arm64
46+
bin/rpx-linux-x64.zip
47+
bin/rpx-linux-arm64.zip
48+
bin/rpx-windows-x64.zip
49+
bin/rpx-darwin-x64.zip
50+
bin/rpx-darwin-arm64.zip
5151
env:
5252
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

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
@@ -17,6 +17,10 @@
1717

1818
Please see our [releases](https://github.com/stacksjs/stacks/releases) page for more information on what has changed recently.
1919

20+
## Stargazers
21+
22+
[![Stargazers](https://starchart.cc/stacksjs/rpx.svg?variant=adaptive)](https://starchart.cc/stacksjs/rpx)
23+
2024
## Contributing
2125

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

docs/sponsors.md

Lines changed: 16 additions & 16 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
2+
3+
[![Stargazers](https://starchart.cc/stacksjs/rpx.svg?variant=adaptive)](https://starchart.cc/stacksjs/rpx)

package.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,20 @@
4949
"lint:fix": "bunx --bun eslint . --fix",
5050
"fresh": "bunx rimraf node_modules/ bun.lock && bun i",
5151
"changelog": "changelogen --output CHANGELOG.md",
52-
"prepublishOnly": "bun --bun run build && bun run compile:all",
52+
"prepublishOnly": "bun --bun run build && bun run compile:all && bun run zip",
5353
"release": "bun run changelog && bumpp package.json --all",
5454
"test": "bun test",
5555
"typecheck": "bunx tsc --noEmit",
5656
"dev:docs": "bun --bun vitepress dev docs",
5757
"build:docs": "bun --bun vitepress build docs",
58-
"preview:docs": "bun --bun vitepress preview docs"
58+
"preview:docs": "bun --bun vitepress preview docs",
59+
"zip": "bun run zip:all",
60+
"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",
61+
"zip:linux-x64": "zip -j bin/rpx-linux-x64.zip bin/rpx-linux-x64",
62+
"zip:linux-arm64": "zip -j bin/rpx-linux-arm64.zip bin/rpx-linux-arm64",
63+
"zip:windows-x64": "zip -j bin/rpx-windows-x64.zip bin/rpx-windows-x64.exe",
64+
"zip:darwin-x64": "zip -j bin/rpx-darwin-x64.zip bin/rpx-darwin-x64",
65+
"zip:darwin-arm64": "zip -j bin/rpx-darwin-arm64.zip bin/rpx-darwin-arm64"
5966
},
6067
"devDependencies": {
6168
"@stacksjs/docs": "^0.69.3",

0 commit comments

Comments
 (0)