晋升客户端项目类型文档
Some checks failed
Electron E2E / Electron E2E (macos-latest) (push) Has been cancelled
Electron E2E / Electron E2E (ubuntu-latest) (push) Has been cancelled
Electron E2E / Electron E2E (windows-latest) (push) Has been cancelled

This commit is contained in:
2026-08-09 13:41:51 +08:00
parent 493b31cff0
commit 2e737dee31
7 changed files with 123 additions and 10 deletions

View File

@@ -2,3 +2,6 @@
| Term | Meaning | Notes |
|---|---|---|
| `ProjectType` | 创建项目时选择且之后不可变的产品类型 | 当前值为 `mini_game``mini_program``custom`;缺少字段的旧配置按 `custom` 处理 |
| `BuildPreset` | 平台内部用于构建和验收项目包的受控实现 | 不等于 `ProjectType`;第一期小游戏和小程序都使用 Vite preset |
| 受控发布模板 | Main 在新建可发布项目时生成的固定依赖、锁文件和可运行示例 | 保障一键提交的结构基线,但本地模板和 `projectType` 本身都不是授权边界 |