Skip to content

chore: add root pnpm release scripts for server and SDKs - #50

Merged
dhruvjainin merged 1 commit into
mainfrom
chore/release-scripts
Dec 3, 2026
Merged

dhruvjainin merged 1 commit into
mainfrom
chore/release-scripts

Conversation

@dhruvjainin

Copy link
Copy Markdown
Contributor

Summary

  • Add a root package.json with pnpm release and dev scripts so maintainers can release Spawnbox and all SDKs (Rust, TypeScript, Python) directly from the repo root without cd-ing into subdirectories:
    • pnpm release (runs scripts/release.sh, tags vX.Y.Z to trigger .github/workflows/release.yml)
    • pnpm release:sdk:rust (runs scripts/release-sdk-rust.sh, tags spawnbox-vX.Y.Z to trigger .github/workflows/release-client.yml)
    • pnpm release:sdk:ts (runs scripts/release-sdk-ts.sh)
    • pnpm release:sdk:python (runs scripts/release-sdk-python.sh)
    • pnpm release:sdks (runs Rust, TS, and Python SDK releases in sequence)
    • pnpm sdk:ts:build, pnpm sdk:ts:test, pnpm sdk:python:test, pnpm site:dev, pnpm site:build
  • Add scripts/release.sh, scripts/release-sdk-rust.sh, scripts/release-sdk-ts.sh, scripts/release-sdk-python.sh, and scripts/release-sdks.sh with --dry-run / --yes support and safety checks (clean tree, origin/main, green CI, tag uniqueness, confirmation prompt).
  • Ignore root /node_modules/, .venv/, and *.egg-info/ in .gitignore and document the root commands in AGENTS.md.

Verification

  • bash -n scripts/release*.sh
  • python3 scripts/check-comments.py
  • pnpm release --help
  • pnpm release:sdk:ts --dry-run (3/3 tests + pnpm publish --dry-run)
  • pnpm release:sdk:python --dry-run (3/3 tests + sdist/wheel build via uv)

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying spawnbox with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0148e98
Status: ✅  Deploy successful!
Preview URL: https://26a9d642.spawnbox-dww.pages.dev
Branch Preview URL: https://chore-release-scripts.spawnbox-dww.pages.dev

View logs

@dhruvjainin
dhruvjainin merged commit fe61b5e into main Dec 3, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant