@harmonyos-arkts/droid2hmos 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +249 -251
  3. package/config/preflight-checklist.json +65 -65
  4. package/dist/cli.js +1827 -745
  5. package/dist/cli.js.map +1 -1
  6. package/package.json +36 -36
  7. package/templates/ohos/AppScope/app.json5 +10 -10
  8. package/templates/ohos/AppScope/resources/base/element/string.json +8 -8
  9. package/templates/ohos/AppScope/resources/base/media/layered_image.json +6 -6
  10. package/templates/ohos/build-profile.json5 +41 -41
  11. package/templates/ohos/code-linter.json5 +31 -31
  12. package/templates/ohos/entry/build-profile.json5 +32 -32
  13. package/templates/ohos/entry/hvigorfile.ts +5 -5
  14. package/templates/ohos/entry/obfuscation-rules.txt +22 -22
  15. package/templates/ohos/entry/oh-package.json5 +10 -10
  16. package/templates/ohos/entry/src/main/ets/entryability/EntryAbility.ets +47 -47
  17. package/templates/ohos/entry/src/main/ets/entrybackupability/EntryBackupAbility.ets +15 -15
  18. package/templates/ohos/entry/src/main/ets/pages/Index.ets +22 -22
  19. package/templates/ohos/entry/src/main/module.json5 +49 -49
  20. package/templates/ohos/entry/src/main/resources/base/element/color.json +7 -7
  21. package/templates/ohos/entry/src/main/resources/base/element/float.json +8 -8
  22. package/templates/ohos/entry/src/main/resources/base/element/string.json +15 -15
  23. package/templates/ohos/entry/src/main/resources/base/media/layered_image.json +6 -6
  24. package/templates/ohos/entry/src/main/resources/base/profile/backup_config.json +2 -2
  25. package/templates/ohos/entry/src/main/resources/base/profile/main_pages.json +5 -5
  26. package/templates/ohos/entry/src/main/resources/dark/element/color.json +7 -7
  27. package/templates/ohos/entry/src/mock/mock-config.json5 +1 -1
  28. package/templates/ohos/entry/src/ohosTest/ets/test/Ability.test.ets +34 -34
  29. package/templates/ohos/entry/src/ohosTest/ets/test/List.test.ets +4 -4
  30. package/templates/ohos/entry/src/ohosTest/ets/testability/TestAbility.ets +48 -48
  31. package/templates/ohos/entry/src/ohosTest/ets/testability/pages/Index.ets +14 -14
  32. package/templates/ohos/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ets +41 -41
  33. package/templates/ohos/entry/src/ohosTest/module.json5 +25 -25
  34. package/templates/ohos/entry/src/ohosTest/resources/base/element/color.json +7 -7
  35. package/templates/ohos/entry/src/ohosTest/resources/base/element/string.json +12 -12
  36. package/templates/ohos/entry/src/ohosTest/resources/base/profile/test_pages.json +5 -5
  37. package/templates/ohos/entry/src/test/List.test.ets +4 -4
  38. package/templates/ohos/entry/src/test/LocalUnit.test.ets +32 -32
  39. package/templates/ohos/hvigor/hvigor-config.json5 +23 -23
  40. package/templates/ohos/hvigorfile.ts +5 -5
  41. package/templates/ohos/oh-package-lock.json5 +27 -27
  42. package/templates/ohos/oh-package.json5 +10 -10
@@ -1,65 +1,65 @@
1
- {
2
- "version": 1,
3
- "checks": {
4
- "android-ui-stack": {
5
- "name": "Android UI 技术栈",
6
- "required": true,
7
- "enabled": true
8
- },
9
- "git": {
10
- "name": "Git 仓库和工作区",
11
- "required": true,
12
- "enabled": true
13
- },
14
- "toolchain": {
15
- "name": "主机综合工具链",
16
- "required": true,
17
- "enabled": true
18
- },
19
- "devecocli-auth": {
20
- "name": "DevEco CLI 登录状态",
21
- "required": true,
22
- "enabled": true
23
- },
24
- "appgraph": {
25
- "name": "AppGraph 兼容性和健康状态",
26
- "required": true,
27
- "enabled": true
28
- },
29
- "config": {
30
- "name": ".migration/config.json",
31
- "required": true,
32
- "enabled": true
33
- },
34
- "android-build": {
35
- "name": "Android 基线构建",
36
- "required": false,
37
- "enabled": false
38
- },
39
- "android-emulator": {
40
- "name": "Android 模拟器",
41
- "required": false,
42
- "enabled": true
43
- },
44
- "harmony-project": {
45
- "name": "HarmonyOS 工程存在或初始化",
46
- "required": true,
47
- "enabled": true
48
- },
49
- "harmony-sdk": {
50
- "name": "HarmonyOS SDK 声明根目录",
51
- "required": false,
52
- "enabled": true
53
- },
54
- "harmony-build": {
55
- "name": "HarmonyOS 应用 HAP 构建",
56
- "required": true,
57
- "enabled": true
58
- },
59
- "harmony-device": {
60
- "name": "HarmonyOS 设备和 Shell",
61
- "required": true,
62
- "enabled": true
63
- }
64
- }
65
- }
1
+ {
2
+ "version": 1,
3
+ "checks": {
4
+ "android-ui-stack": {
5
+ "name": "Android UI 技术栈",
6
+ "required": true,
7
+ "enabled": true
8
+ },
9
+ "git": {
10
+ "name": "Git 仓库和工作区",
11
+ "required": true,
12
+ "enabled": true
13
+ },
14
+ "toolchain": {
15
+ "name": "主机综合工具链",
16
+ "required": true,
17
+ "enabled": true
18
+ },
19
+ "devecocli-auth": {
20
+ "name": "DevEco CLI 登录状态",
21
+ "required": true,
22
+ "enabled": true
23
+ },
24
+ "appgraph": {
25
+ "name": "AppGraph 兼容性和健康状态",
26
+ "required": true,
27
+ "enabled": true
28
+ },
29
+ "config": {
30
+ "name": ".migration/config.json",
31
+ "required": true,
32
+ "enabled": true
33
+ },
34
+ "android-build": {
35
+ "name": "Android 基线构建",
36
+ "required": false,
37
+ "enabled": false
38
+ },
39
+ "android-emulator": {
40
+ "name": "Android 模拟器",
41
+ "required": false,
42
+ "enabled": true
43
+ },
44
+ "harmony-project": {
45
+ "name": "HarmonyOS 工程存在或初始化",
46
+ "required": true,
47
+ "enabled": true
48
+ },
49
+ "harmony-sdk": {
50
+ "name": "HarmonyOS SDK 声明根目录",
51
+ "required": false,
52
+ "enabled": true
53
+ },
54
+ "harmony-build": {
55
+ "name": "HarmonyOS 应用 HAP 构建",
56
+ "required": true,
57
+ "enabled": true
58
+ },
59
+ "harmony-device": {
60
+ "name": "HarmonyOS 设备和 Shell",
61
+ "required": true,
62
+ "enabled": true
63
+ }
64
+ }
65
+ }