完成 DirectProject Phaser 迁移闭环 #353
Reference in New Issue
Block a user
Delete Branch "codex/phaser-directproject-migration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
变更
单 HTML → Phaser 4 + Vite 的迁移链路现在有明确且可执行的工程合同:Phaser/npm 目标固定走 DirectProject,旧 JSON Generator 继续只处理单文件 HTML。
project.bootstrap,仅允许项目内game目录执行无参数npm install,校验 package/lock、路径、npm 管理器并记录依赖指纹。project.verify支持相对cwd,构建前诊断缺失依赖,cwd=game的 build 必须产出game/dist/index.html。command.exec npm install仍被拒绝。验证
npm run ai-game-creator-shell:typecheckcargo check --manifest-path apps/ai-game-creator-shell/src-tauri/Cargo.tomlcargo fmt --manifest-path apps/ai-game-creator-shell/src-tauri/Cargo.toml -- --checkcargo test --locked -p shared-contracts --manifest-path server-rs/Cargo.toml game_creation_appproject.verifyRust 测试npm run check:encodingnpm run check:doc-indexgit diff --checknpm install、npm run build成功,game/dist/index.html存在。真实项目没有纳入仓库提交;PR 只包含客户端合同、Runtime 能力和验证门禁。