feat: wire @moonlight/ui gallery into infra-up/down (:3060) - #98
Merged
Conversation
Adds @moonlight/ui gallery dev server boot to infra-up.sh as section 13/13 (port 3060), mirroring the network-dashboard pattern. down.sh tears it down by port. README documents the new service.
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.
Summary
infra-up.sh: newMOONLIGHT_UI_PATH+MOONLIGHT_UI_PORT=3060env vars,[ -d ]validation, and boot block (section13/13) at the end of the frontend boot sequence — mirrors the network-dashboard pattern (cd→PORT=$MOONLIGHT_UI_PORT nohup deno task gallery→ 10-iterationcurl -sfpoll). Existing section labels renumberedX/12 → X/13. Gallery line added to the final "Services:" echo.down.sh:MOONLIGHT_UI_PORT="${MOONLIGHT_UI_PORT:-3060}"+stop_process "moonlight-ui-gallery" "$SCRIPT_DIR/.moonlight-ui.pid" "$MOONLIGHT_UI_PORT"+moonlight-ui.logcleanup.README.md:ui/added to the Repos tree; gallery row added to the numbered service list; section count11 → 12.Why
@moonlight/uiis the shared vanilla-DOM component library consumed by provider-console, council-console, network-dashboard, and moonlight-pay. Itsdeno task galleryserver is the live-preview surface developers iterate components against. Wiring it into infra-up means it comes up alongside the other frontends in the standard local-dev cycle.Test plan
bash -n infra-up.sh+bash -n down.shcleancurl -sf http://localhost:3060/returns 200, the new teardown lines stop the process and leave port 3060 freetestnet,lifecycle,e2e,e2e/pos-instant,e2e/governance) all green locally — untouched by this PR