Tests + client player-stat fields; npm publish; v1.5.0 - #1
Merged
Conversation
… 1.5.0 - types: add look, health, maxHealth, food, xpLevel, gamemode to WebGUIClient to match the fields the mod pushes on window.webgui.client - tests: add Vitest suite (30 tests) for utils, stores, hooks, and new fields; run it in CI and before publish - release: reference the 'publish' environment so NPM_TOKEN is available, and fix package.json repository URL (mc-webgui/react-bridge) so --provenance works - bump version to 1.5.0 to match the mod Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
KoSHeroff
added a commit
that referenced
this pull request
Jul 24, 2026
… 1.5.0 (#1) - types: add look, health, maxHealth, food, xpLevel, gamemode to WebGUIClient - tests: add Vitest suite (30 tests) for utils, stores, hooks, and new fields - release: wire NPM_TOKEN, fix package.json repository URL for --provenance - bump version to 1.5.0 to match the mod
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
WebGUIClientto match what the mod pushes onwindow.webgui.client:look {yaw,pitch},health,maxHealth,food,xpLevel,gamemode?.npm test) and before publish.publishenvironment / repo secret soNPM_TOKENis available, and fixrepository.url→mc-webgui/react-bridgesonpm publish --provenancesucceeds.Release
On merge to
main,release.ymlpublishes@webgui/react@1.5.0to npm (provenance) and creates tagv1.5.0+ GitHub Release.