Add automated npm publishing and a GitHub Pages landing/demo site - #3
Merged
Conversation
- .github/workflows/release.yml: uses changesets/action so every push to main either opens/updates a "Version Packages" PR (when changesets are pending) or publishes the bumped packages to npm (once that PR is merged). Needs an NPM_TOKEN repo secret. - site/: a new minimal, creative landing page (Vite + React) with a hero, an actually-interactive embedded <ProEditor> live demo (mode switch included), Vue/React install snippets with copy-to-clipboard, a feature grid, and package links — no Tailwind/UI-kit dependency, hand written CSS. - .github/workflows/deploy-pages.yml: builds core → react → site and deploys site/dist to GitHub Pages on every push to main touching those paths, or manually via workflow_dispatch. - Fixed a latent bug in examples/*-demo and site build scripts: `tsc -b` / `vue-tsc -b` require project references (composite: true) that weren't configured, so the documented `npm run build` for those workspaces was silently broken; switched to plain `--noEmit`. - docs/releasing.md rewritten to describe the automated release flow and the one-time NPM_TOKEN setup; root README links the live demo and documents the new site/ workspace. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
tsc -b/vue-tsc -brequire project references (composite: true) that weren't configured, so the documentednpm run buildfor those workspaces was silently broken; switched to plain--noEmit.