[break] revert(web-mobile,web-desktop): 回退 enableWebBuild 相关修改 - #905
Merged
Merged
Conversation
回退 web-mobile / web-desktop 平台中 enableWebBuild(web 子平台)相关修改: - 还原 src/core/builder/platforms/web-mobile 与 web-desktop 的 config.ts、 hooks.ts、type.ts、view/build-config-host.ts、view/build-config.tsx - 还原 i18n(en.js/zh.js)、package.json、tsconfig.view.json - 同步 packages/cocos-cli-types 的 dts snapshot 基于 v0.0.1-alpha.40 分支。
tangkaikk
added a commit
to tangkaikk/cocos-cli
that referenced
this pull request
Sep 4, 2026
… 与 e2e 在本地 v0.0.1-alpha.40 分支(cocos#905 已完成 web-mobile 全量回退及 web-desktop 部分 回退)基础上,补全 web-desktop 平台至 d782835 的完整回退,并同步 dts snapshot 与 e2e 测试用例: - web-desktop src/config.ts/hooks.ts/type.ts 回退至 d782835(移除 OpenPaaS 相关 字段: appid/versionName/uploadEnv/accessToken/codeVersion/bridgeLink/ bridgeBuildToken/entryPath/encryptKey, 以及 injectBridgeScripts/webPublish/ onAfterUpload 等钩子) - 删除 web-desktop 4 个 view 文件: scripts/build-view.js、 src/view/build-config-host.ts、src/view/build-config.tsx、tsconfig.view.json - web-desktop i18n(en.js/zh.js)回退,移除 OpenPaaS 相关文案 - web-desktop package.json 移除 view 构建相关依赖与脚本 - e2e/mcp/api/builder.e2e.test.ts 移除 web-desktop 与 web-mobile 的 packages.bridgeLink 测试用例,对齐 d782835 - 重新生成 dts snapshot: 移除 webDesktopOptions/webMobileOptions 中的 OpenPaaS 字段及 UploadEnv 类型 Co-Authored-By: Claude Code <noreply@anthropic.com>
star-e
pushed a commit
that referenced
this pull request
Sep 4, 2026
…snapshot (#912) * revert(web-desktop): 基于 v0.0.1-alpha.40 补全 d782835 回退,同步 dts snapshot 与 e2e 在本地 v0.0.1-alpha.40 分支(#905 已完成 web-mobile 全量回退及 web-desktop 部分 回退)基础上,补全 web-desktop 平台至 d782835 的完整回退,并同步 dts snapshot 与 e2e 测试用例: - web-desktop src/config.ts/hooks.ts/type.ts 回退至 d782835(移除 OpenPaaS 相关 字段: appid/versionName/uploadEnv/accessToken/codeVersion/bridgeLink/ bridgeBuildToken/entryPath/encryptKey, 以及 injectBridgeScripts/webPublish/ onAfterUpload 等钩子) - 删除 web-desktop 4 个 view 文件: scripts/build-view.js、 src/view/build-config-host.ts、src/view/build-config.tsx、tsconfig.view.json - web-desktop i18n(en.js/zh.js)回退,移除 OpenPaaS 相关文案 - web-desktop package.json 移除 view 构建相关依赖与脚本 - e2e/mcp/api/builder.e2e.test.ts 移除 web-desktop 与 web-mobile 的 packages.bridgeLink 测试用例,对齐 d782835 - 重新生成 dts snapshot: 移除 webDesktopOptions/webMobileOptions 中的 OpenPaaS 字段及 UploadEnv 类型 Co-Authored-By: Claude Code <noreply@anthropic.com> * 显示webgpu * web platform dont read cococs.compile.json * update builder/index.ts * test(builder): update createBuildStageTask specs for web platform skip behavior Web 平台不再读取 cocos.compile.config.json,而是合成最小构建选项。 更新 3 个用例断言以匹配新行为:web 平台不调用 readJSONSync, task.options 为合成的 {platform, packages, dest}。 Co-Authored-By: Claude Code <noreply@anthropic.com> --------- Co-authored-by: Claude Code <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.
回退 web-mobile / web-desktop 平台中 enableWebBuild(web 子平台)相关修改:
基于 v0.0.1-alpha.40 分支。