feat(web-platform): CLI, scaffolding & docs for building Sparkling apps on web [stack 6/6] - #13
Open
Huxpro wants to merge 1 commit into
Open
feat(web-platform): CLI, scaffolding & docs for building Sparkling apps on web [stack 6/6]#13Huxpro wants to merge 1 commit into
Huxpro wants to merge 1 commit into
Conversation
…ps on web Enable building/running/previewing Sparkling apps on the web via the CLI (from the experimental Web-support work), on top of the web method bridge already on main. - sparkling-app-cli: `run:web`, a `--platform web|native|all` flag on build/dev, web checks in `doctor`, and web autolink (generates web-autolink imports from each module.config.json `web` entry) - create-sparkling-app: opt-in web platform scaffolding (askWebPlatform) - docs: Web Platform guide, Web Method Implementations, Limitations; CLI + getting-started + APIs updated for web; website sidebar Web Platform section - template / playground: web build scripts; sparkling-media module.config.json declares its web entry for autolink Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ARyWgB3243gQx1exWK61Qb
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
Enables building/running/previewing Sparkling apps on the web via the CLI, on top of the web method bridge already on
main.Related issues
The CLI/scaffolding half of the experimental Web support (companion to the web method bridge merged in #7).
Changes
sparkling-app-cli:run:web, a--platform web|native|allflag onbuild/dev, web checks indoctor, and web autolink (generates web-autolink imports from eachmodule.config.jsonwebentry).create-sparkling-app: opt-in web platform scaffolding (askWebPlatform).sparkling-mediadeclares its web entry for autolink.How to test
pnpm --filter sparkling-app-cli build # in an app: sparkling-app-cli run:web ; sparkling-app-cli build --platform webChecklist
CONTRIBUTING.md.🤖 Generated with Claude Code
https://claude.ai/code/session_01ARyWgB3243gQx1exWK61Qb
Generated by Claude Code