refactor(mp-harmony): add HAR dependency checks and debug logs
1. add debug logs for diy component lifecycle and data flow 2. add required HAR dependency declarations for mp-harmony entry module 3. add har-deps config, validation script and documentation
This commit is contained in:
@@ -1,12 +1,28 @@
|
||||
{
|
||||
"name": "entry",
|
||||
"version": "1.0.0",
|
||||
"description": "Please describe the basic information.",
|
||||
"modelVersion": "6.0.0",
|
||||
"main": "",
|
||||
"author": "",
|
||||
"license": "",
|
||||
"dependencies": {
|
||||
"@atomicservice/ascfapi": "^1.0.6"
|
||||
}
|
||||
// ============================================================================
|
||||
// 鸿蒙元服务 entry 模块依赖声明
|
||||
//
|
||||
// ⚠️ 不要随意删除下面 5 个 file: 依赖。
|
||||
// 它们是 mp-harmony 项目的 5 个 shared HAR 子包 (components_diy / pages_goods /
|
||||
// pages_order / pages_promotion / pages_tool), 内含 uniapp 编译产物的 *.pack.js。
|
||||
//
|
||||
// 详见 ./har-deps-required.json5 与 ./scripts/check-har-deps.js。
|
||||
//
|
||||
// 如要新增/删除子包, 请同步更新 har-deps-required.json5 并通知 ascf 负责人。
|
||||
// ============================================================================
|
||||
{
|
||||
"name": "entry",
|
||||
"version": "1.0.0",
|
||||
"description": "Please describe the basic information.",
|
||||
"modelVersion": "6.0.0",
|
||||
"main": "",
|
||||
"author": "",
|
||||
"license": "",
|
||||
"dependencies": {
|
||||
"@atomicservice/ascfapi": "^1.0.6",
|
||||
"components_diy": "file:../ascf/ascf_build/components_diy",
|
||||
"pages_goods": "file:../ascf/ascf_build/pages_goods",
|
||||
"pages_order": "file:../ascf/ascf_build/pages_order",
|
||||
"pages_promotion": "file:../ascf/ascf_build/pages_promotion",
|
||||
"pages_tool": "file:../ascf/ascf_build/pages_tool"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user