diff options
| author | Shoubhit Dash <[email protected]> | 2026-04-16 17:30:14 +0530 |
|---|---|---|
| committer | Shoubhit Dash <[email protected]> | 2026-04-16 17:30:14 +0530 |
| commit | 2e18a603f0ea24154908e748493fd4bfaa74fc00 (patch) | |
| tree | b723e00af2821b213573b16fa199b64babd5f1f5 /script | |
| parent | 9819eb04614fd607cacb07d754052f1531a82331 (diff) | |
| parent | 7341718f9234b0cf3a8758c87e91d2006b71bff6 (diff) | |
| download | opencode-2e18a603f0ea24154908e748493fd4bfaa74fc00.tar.gz opencode-2e18a603f0ea24154908e748493fd4bfaa74fc00.zip | |
merge dev
Diffstat (limited to 'script')
| -rwxr-xr-x | script/duplicate-pr.ts | 2 | ||||
| -rwxr-xr-x | script/publish.ts | 28 | ||||
| -rwxr-xr-x | script/stats.ts | 2 |
3 files changed, 2 insertions, 30 deletions
diff --git a/script/duplicate-pr.ts b/script/duplicate-pr.ts index b77737c1d..2ef16cb65 100755 --- a/script/duplicate-pr.ts +++ b/script/duplicate-pr.ts @@ -76,4 +76,4 @@ Examples: } } -main() +void main() diff --git a/script/publish.ts b/script/publish.ts index 3889845fa..ac0af9c4e 100755 --- a/script/publish.ts +++ b/script/publish.ts @@ -4,34 +4,6 @@ import { Script } from "@opencode-ai/script" import { $ } from "bun" import { fileURLToPath } from "url" -const highlightsTemplate = ` -<!-- -Add highlights before publishing. Delete this section if no highlights. - -- For multiple highlights, use multiple <highlight> tags -- Highlights with the same source attribute get grouped together ---> - -<!-- -<highlight source="SourceName (TUI/Desktop/Web/Core)"> - <h2>Feature title goes here</h2> - <p short="Short description used for Desktop Recap"> - Full description of the feature or change - </p> - - https://github.com/user-attachments/assets/uuid-for-video (you will want to drag & drop the video or picture) - - <img - width="1912" - height="1164" - alt="image" - src="https://github.com/user-attachments/assets/uuid-for-image" - /> -</highlight> ---> - -` - console.log("=== publishing ===\n") const pkgjsons = await Array.fromAsync( diff --git a/script/stats.ts b/script/stats.ts index 318b590af..9201e26e4 100755 --- a/script/stats.ts +++ b/script/stats.ts @@ -193,7 +193,7 @@ console.log("Fetching GitHub releases for anomalyco/opencode...\n") const releases = await fetchReleases() console.log(`\nFetched ${releases.length} releases total\n`) -const { total: githubTotal, stats } = calculate(releases) +const { total: githubTotal } = calculate(releases) console.log("Fetching npm all-time downloads for opencode-ai...\n") const npmDownloads = await fetchNpmDownloads("opencode-ai") |
