Conversation
Adds reusable-workflow callers so pushes to main and beta auto-publish to npm without manual 'npm publish'. Mirrors the proven pattern from nano-step/skill-manager and nano-step/open-design-mcp.
There was a problem hiding this comment.
Code Review
This pull request modifies the CHANGELOG.md by removing the detailed release notes for version 1.0.0 and replacing them with a generic header. The reviewer recommends preserving the existing version history rather than deleting it. Additionally, the reviewer pointed out that the GitHub workflow files mentioned in the pull request description are missing from the current changes.
| @@ -1,24 +1,4 @@ | |||
| # Changelog — Rive Playground | |||
| # Changelog | |||
There was a problem hiding this comment.
| All notable changes to this project will be documented in this file. | ||
|
|
||
| ### CLI & MCP Server | ||
| - **Rive Parser rewritten** — switched from `@rive-app/canvas` (high-level) to `@rive-app/canvas-advanced` (low-level WASM). Zero native dependencies (`canvas`, `jsdom`, `xmlhttprequest` removed). | ||
| - **Full metadata extraction** — all artboards (not just default), animations with fps/duration, state machines with typed inputs (boolean, number, trigger). | ||
| - **Cross-platform** — works on macOS (Intel + Apple Silicon), Linux, Windows without native build issues. | ||
| - **5 CLI commands**: `inspect`, `scan`, `validate`, `generate-types`, `watch`. | ||
| - **5 MCP tools**: `inspect-rive`, `scan-rive-files`, `validate-rive-config`, `generate-rive-types`, `watch-rive-files`. | ||
|
|
||
| ### Playground (New) | ||
| - **Rive animation viewer** — load `.riv` files via drag-and-drop, file picker, or URL. | ||
| - **Real-time ViewModel editing** — string, number, boolean, color, enum, trigger, image properties with live preview. | ||
| - **Nested ViewModel support** — drill-down into nested VM instances (Offer1, Offer2, etc.). | ||
| - **Image property mapping** — upload local files or paste URLs; images decoded via Rive WASM and applied to animation. | ||
| - **State Machine controls** — fire triggers, toggle booleans, adjust numbers in real-time. | ||
| - **Animation inspector** — all artboards with dimensions, animations with duration/fps, state machine input types. | ||
| - **Playback controls** — play, pause, reset (remount) with floating pill bar. | ||
| - **Zoom & Pan** — Ctrl+Scroll to zoom, Alt+Drag to pan, Alt+Double-click to reset. | ||
| - **Drag-and-drop on canvas** — drop new `.riv` files directly onto the workspace. | ||
| - **Export config** — export current configuration as JSON or Markdown for LiveOps/CSM transfer. | ||
| - **Dark theme UI** — ChatGPT-inspired design with Plus Jakarta Sans typography, dot-grid canvas, stagger animations, skeleton loading. | ||
| - **Type badges** — color-coded badges for each property type (boolean, number, trigger, string, color, enum, image, viewModel). |
There was a problem hiding this comment.
The existing version history for v1.0.0 is being removed. It is recommended to preserve these manual release notes even when transitioning to automated changelog generation. You can keep the previous content below the new header and introductory text to maintain a complete project history. Most automation tools will append or prepend new entries without affecting existing content further down the file.
What
Phase 2 rollout of
nano-step/shared-workflows@v1auto-publish torive-playground. Mirrors the proven pattern fromnano-step/open-design-mcpandnano-step/skill-manager(pilot — see skill-manager PR #1 for the validated reference).Why
Eliminates manual
npm publishfrom a maintainer's laptop. After merge, every push tomainwith a conventional-commit message will auto-bump, tag, publish to npm, and create a GitHub Release.Files added
CHANGELOG.mdpublish-stableto insert entries.github/workflows/publish-stable.ymlmain.github/workflows/publish-beta.ymlbetaPer-repo config used
package-name:rive-playgroundbuild-command:npm run buildmainpublicAfter merge
Publish Stableworkflow fires within ~30sfeat:→ minor,fix:/chore:/docs:→ patch,!/BREAKING CHANGE→ major[skip ci], tags, publishes to npm, creates GitHub ReleaseRollback
If anything misbehaves: revert this PR's commit. No state mutates until the first push to
mainafter merge.Validation
The same workflow files are running successfully on:
nano-step/open-design-mcp(Tier 2 — original reference)nano-step/skill-manager(Phase 1 pilot — published@nano-step/skill-manager@5.8.0on 2026-05-19)This PR is part of [Phase 2 — fan out to all 10 Tier-1 npm packages in nano-step org].