1.SDK開發流程說明 ReadMe.md
2.主項目開發流程說明
3.新增Sdk發布腳本
4.新增repo鏈結/取消鏈結指令
This commit is contained in:
ethan
2026-03-10 15:45:00 +08:00
parent 92d41f628a
commit 92f4632ee2
4 changed files with 176 additions and 0 deletions

View File

@@ -89,3 +89,15 @@ melos:
remove:sdk:
description: "Remove an SDK package and clean up all references. Usage: melos run remove:sdk -- <name>"
run: bash scripts/remove_sdk.sh
publish:sdk:
description: "發布 SDK 並更新主項目依賴. Usage: melos run publish:sdk -- <sdk-name> <version>"
run: bash scripts/release_sdk.sh $MELOS_ARG_1 $MELOS_ARG_2
bootstrap:dev:
description: "本地開發模式: 鏈接所有 SDK 到主項目 (melos bootstrap)"
run: melos bootstrap
bootstrap:clean:
description: "清理本地開發模式: 移除 pubspec.overrides.yaml"
run: rm -f apps/im_app/pubspec.overrides.yaml