Publication checklist
Publish approved releases from main. Local build and validation commands do not publish, create release tags, log into a registry, or change registry ownership.
Before publishing:
- Review the release changes and validation reports, merge the approved work into
main, and confirm the final version. All publication and release tagging must run from the approvedmaincommit. - Confirm publishing access to the npm package
metroidvania-studioand the MCP namespaceio.github.LBarimi/metroidvania-studio. - Rebuild the local package from the approved commit. Confirm
version.json, npm metadata, CLI version, andtools/mcp/server.jsonagree. - Install the exact
.tgzin a clean folder. Exercise CLI edits, dry runs, Lua limits, MCP initialization, tool discovery, cancellation, and workspace boundaries. Verify Windows, macOS, and Linux on native hosts before claiming platform coverage. - Inspect the package inventory and license notices. Retain the original BSD 3-Clause, Apache 2.0, and MIT notices supplied for managed dependencies. Keep private source, machine paths, maps, media, engine packages, and build symbols out of the package.
- Publish the reviewed npm artifact only after explicit approval. Root package publication is disabled by
private: true. - Confirm the public npm artifact and its
mcpName, then authenticate the corresponding MCP Registry namespace and submit the matching metadata withmcp-publisher publish tools/mcp/server.jsononly after explicit approval. - Check the published metadata and install instructions before describing registry installation as available in the README.
The MCP Registry stores metadata and expects the underlying npm package to exist first. The registry name must match npm's mcpName; see the official publication guide. Package files and executable mapping follow npm's package manifest documentation.
Documentation website
The documentation website is served by GitHub Pages from the main branch's /docs folder. No separately hosted server or repository workflow file is needed.
Edit the Markdown sources in docs/, then run:
node tools/docs/build-pages.mjs
node --test tools/docs/build.test.mjsReview and commit the generated site together with its source changes. Merge into main and push to update the website. Feature branches can prepare and preview the files; Pages publishes only main.
Generated downloads live in docs/assets/; edit their original files in the documentation source directories or contracts directory. docs/.site-files records generated files so the build can remove obsolete site outputs without removing Markdown sources.
For a standalone offline copy, run node tools/docs/build.mjs and open builds/docs/index.html. Offline builds keep relative links and do not depend on the public website. Building either site locally does not publish it.