Release the plugin SDK as a package file

pnpm release:sdk now packs runestone-plugin-sdk-<version>.tgz and sdk.json
into releases/plugin-sdk/<version>/. Plugins install the SDK from the URL
of that file on the RuneStone releases page. The script no longer uses a
clone of a separate SDK repository.

Installers, browser engine ZIPs, and SDK packages now share the RuneStone
releases page.
This commit is contained in:
Knotty Wyvern
2026-10-29 13:05:10 -07:00
parent 54ccea199e
commit a950edfb13
7 changed files with 276 additions and 276 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ The SDK source must not import host files. It must use only TypeScript syntax th
| Command | Result |
| --- | --- |
| `pnpm sdk:build` | Compiles the SDK into `packages/plugin-sdk/dist/` with declaration files. The folder is outside Git. |
| `pnpm release:sdk --version <version> [--dry-run]` | Builds the SDK, then commits and tags it in a local clone of the public repository. See [SDK releases](releases.md#sdk-releases). |
| `pnpm release:sdk --release-url <url> --version <version> [--dry-run]` | Builds the SDK and writes its package file and `sdk.json` in `releases/plugin-sdk/<version>/`. See [SDK releases](releases.md#sdk-releases). |
`pnpm check` type checks the SDK with `packages/plugin-sdk/tsconfig.json` and the example plugin with `fixtures/plugins/tsconfig.json`.
`pnpm test` runs the SDK tests in `tests/unit/sdk/` and the release script tests in `tests/unit/release/releaseSdk.spec.ts`.