Skip to content

Commit 00c8532

Browse files
committed
chore: add stargazer and zip
1 parent 34cdcc8 commit 00c8532

File tree

6 files changed

+38
-23
lines changed

6 files changed

+38
-23
lines changed

.github/workflows/release.yml

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

docs/.vitepress/config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const nav = [
3131
{ text: 'Sponsors', link: '/sponsors' },
3232
{ text: 'Partners', link: '/partners' },
3333
{ text: 'Postcardware', link: '/postcardware' },
34+
{ text: 'Stargazers', link: '/stargazers' },
3435
{ text: 'License', link: '/license' },
3536
{
3637
items: [

docs/intro.md

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ Please see our [releases](https://github.com/stacksjs/tlsx/releases) page for mo
2020

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

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

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

docs/sponsors.md

+16-16
Large diffs are not rendered by default.

docs/stargazer.md

+3
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/tlsx.svg?variant=adaptive)](https://starchart.cc/stacksjs/tlsx)

package.json

+9-2
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,20 @@
5757
"lint:fix": "bunx --bun eslint . --fix",
5858
"fresh": "bunx rimraf node_modules/ bun.lock && bun i",
5959
"changelog": "bunx changelogen --output CHANGELOG.md",
60-
"prepublishOnly": "bun --bun run build && bun run compile:all",
60+
"prepublishOnly": "bun --bun run build && bun run compile:all && bun run zip",
6161
"release": "bun run changelog && bunx bumpp package.json --all",
6262
"test": "bun test",
6363
"typecheck": "bun --bun tsc --noEmit",
6464
"dev:docs": "bun --bun vitepress dev docs",
6565
"build:docs": "bun --bun vitepress build docs",
66-
"preview:docs": "bun --bun vitepress preview docs"
66+
"preview:docs": "bun --bun vitepress preview docs",
67+
"zip": "bun run zip:all",
68+
"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",
69+
"zip:linux-x64": "zip -j bin/tlsx-linux-x64.zip bin/tlsx-linux-x64",
70+
"zip:linux-arm64": "zip -j bin/tlsx-linux-arm64.zip bin/tlsx-linux-arm64",
71+
"zip:windows-x64": "zip -j bin/tlsx-windows-x64.zip bin/tlsx-windows-x64.exe",
72+
"zip:darwin-x64": "zip -j bin/tlsx-darwin-x64.zip bin/tlsx-darwin-x64",
73+
"zip:darwin-arm64": "zip -j bin/tlsx-darwin-arm64.zip bin/tlsx-darwin-arm64"
6774
},
6875
"devDependencies": {
6976
"@stacksjs/docs": "^0.70.16",

0 commit comments

Comments
 (0)