@hmharness/domain-harmony 0.23.51 → 0.23.53
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/dist/project.js +2 -1
- package/package.json +2 -2
package/dist/project.js
CHANGED
|
@@ -72,7 +72,8 @@ export function sdkVersion() {
|
|
|
72
72
|
parseSdkVersion(raw);
|
|
73
73
|
}
|
|
74
74
|
catch (err) {
|
|
75
|
-
|
|
75
|
+
// message stays as the user reads it; the parser error rides along as the cause
|
|
76
|
+
throw new Error(`HM_SDK_VERSION="${raw}" is not a valid SDK version (${String(err).slice(0, 90)}). Expected "6.1.1(24)" or "26.0.0" style.`, { cause: err });
|
|
76
77
|
}
|
|
77
78
|
return raw;
|
|
78
79
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmharness/domain-harmony",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.53",
|
|
4
4
|
"description": "hmharness HarmonyOS domain core: device, toolchain, build, and project lifecycle capabilities. HarmonyOS is the framework's native domain, not an add-on.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"build": "tsc -p tsconfig.build.json"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@hmharness/kernel": "0.23.
|
|
18
|
+
"@hmharness/kernel": "0.23.53"
|
|
19
19
|
},
|
|
20
20
|
"files": [
|
|
21
21
|
"dist"
|