@dcloudio/uni-cli-shared 2.0.2-alpha-4050420250306001 → 2.0.2-alpha-4050720250320001

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.
package/lib/platform.js CHANGED
@@ -38,6 +38,7 @@ const cdns = {
38
38
  'mp-jd': 11,
39
39
  'mp-xhs': 12,
40
40
  'quickapp-webview-huawei': 200,
41
+ 'mp-harmony': 200,
41
42
  'quickapp-webview-union': 201
42
43
  }
43
44
 
package/lib/plugin.js CHANGED
@@ -75,6 +75,7 @@ function initExtends (name, plugin, plugins) {
75
75
  process.exit(0)
76
76
  }
77
77
  if (!plugin) {
78
+ console.log(444)
78
79
  console.error(uniI18n.__('cliShared.noFoundPlatformPlugin', { 0: extendsPlatform }))
79
80
  process.exit(0)
80
81
  }
@@ -102,6 +103,7 @@ module.exports = {
102
103
  const plugins = resolvePlugins()
103
104
  const plugin = plugins.find(plugin => plugin.name === process.env.UNI_PLATFORM)
104
105
  if (!plugin) {
106
+ console.log(555, process.env.UNI_CLI_CONTEXT)
105
107
  console.error(uniI18n.__('cliShared.noFoundPlatformPlugin', { 0: process.env.UNI_PLATFORM }))
106
108
  process.exit(0)
107
109
  }
package/lib/preprocess.js CHANGED
@@ -10,6 +10,7 @@ const DEFAULT_KEYS = [
10
10
  'APP-ANDROID',
11
11
  'APP-IOS',
12
12
  'APP-HARMONY',
13
+ 'MP-HARMONY',
13
14
  'WEB'
14
15
  ]
15
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-cli-shared",
3
- "version": "2.0.2-alpha-4050420250306001",
3
+ "version": "2.0.2-alpha-4050720250320001",
4
4
  "description": "uni-cli-shared",
5
5
  "main": "lib/index.js",
6
6
  "repository": {
@@ -27,5 +27,5 @@
27
27
  "postcss-urlrewrite": "^0.2.2",
28
28
  "strip-json-comments": "^2.0.1"
29
29
  },
30
- "gitHead": "5a0cee97fc916258c94ffa281cf859e543e7f44a"
30
+ "gitHead": "1a2c7c78aa6e4d9c6b1b743cd2214c836aef0ee1"
31
31
  }