feat(web): add standalone browser SDK package - #57
Merged
Conversation
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.
Why
浏览器和桌面 WebView 消费者需要清晰的包名、Web 类型和更小的安装产物。现有 RN 包已支持 Web,但同时携带原生与 Node/CLI 发布内容。
Changes
bs-diff-patch-web@0.5.0,公开根字节 API 与/toolkit,零 dependencies/peers;保留原 RN 0.5.0 发布与全部入口。web-v*发布工作流;已有相同版本只在候选 SRI 相符时跳过上传,网络失败或不同内容拒绝发布。Validation
本地通过 prepare、typecheck、lint、Jest、native operations、2,000-run fuzz、Web/browser/Metro、toolkit、Node/CLI、Action、原包消费者、站点结构/浏览器检查;独立包消费者在 Node24/npm12 下通过,发布保护单测与 actionlint 通过。新增包正式 registry smoke 在首次发布之后执行;真实 Tauri WebView 未在本仓库验收。