feat(ui): 资源归属骨架 + 修复 .gitignore 无锚点模式吞业务目录
framework/ui 建八个资源目录(按加载时机=图集划分)并落地归属规则文档。 根 .gitignore 的 **/native/ 与 YouleNexus 的裸 native 会静默吞掉 assets/framework/**/native/ 等业务目录; 改为各工程 .gitignore 用锚定 路径负责生成物, 根只管仓库级条目。种子补 .gitignore 使新子游戏继承。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
+7
-8
@@ -17,14 +17,13 @@ yarn-error.log*
|
||||
# ---------- Node 依赖 ----------
|
||||
**/node_modules/
|
||||
|
||||
# ---------- Cocos Creator 工程生成物(可由编辑器重建,勿入库) ----------
|
||||
# 适用于 cocoscreator_projects/ 下所有工程
|
||||
**/library/
|
||||
**/temp/
|
||||
**/local/
|
||||
**/build/
|
||||
**/native/
|
||||
**/profiles/
|
||||
# ---------- Cocos Creator 工程生成物 ----------
|
||||
# 由各工程自己的 .gitignore 用锚定路径负责(YouleNexus/.gitignore、templates/game-seed/.gitignore)。
|
||||
# 此处**不得**再写 **/library/ 这类无锚点模式——它会连 assets/framework 下的
|
||||
# native/ local/ profiles/ 等业务目录一起吞掉(已踩过,见 plan 2026-08-27 Task 1)。
|
||||
|
||||
# 构建流水线的临时工程(build-game 产生,可随时重建)
|
||||
cocoscreator_projects/build-workspace/
|
||||
|
||||
# ---------- 子游戏共享框架的 junction(指向 YouleNexus 真源,按机器重建) ----------
|
||||
# 由 scripts/setup-links 在每台机器上重建,不入库
|
||||
|
||||
Reference in New Issue
Block a user