Repository navigation
codex/workbench-runtime-build - #3
Merged
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.
模板原先只有源码包导出,安装者仍需下载依赖并重新编译。本次增加独立构建与 v3 运行包导出,同时保留默认 v2 源码包及原有带数据导出行为。
pnpm build/pnpm workbench:build -- --obfuscate构建页面与服务端,打包服务端依赖并关闭 source map。pnpm workbench:pack -- --runtime导出业务混淆后的运行包;只保留运行文件、SDK、迁移、声明资源、依赖及许可声明,不包含工程源码、node_modules 或业务数据。客户端可免编译安装;显式拒绝 runtime 与 include-data 同用。验证:macOS arm64 / Node 22.22.2;34 个工具测试、2 个应用测试通过,普通/混淆构建和两类 CLI 导出通过。运行包脱离模板 node_modules 后的 HTTP、React 依赖、WASM、资源、源码摘要和完整性验证通过。另用 Desktop dfb6765e0 的真实导入/运行服务验证免编译安装与 Chromium 页面,并验证 1280px、375px 的静态 mock 封面渲染。原生 Windows 与完整 Electron UI/真实商店发布未执行;边界见 VERIFICATION.md。