@cloudcare/hvigor-ohos-plugin 0.1.0-alpha.1 → 0.1.0-alpha.2
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/CHANGELOG.md +5 -0
- package/README.md +4 -2
- package/package.json +10 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.0-alpha.2] - 2026-09-11
|
|
4
|
+
|
|
5
|
+
- Added GitHub Actions trusted npm publishing triggered by plugin version tags.
|
|
6
|
+
- Added the plugin version badge to the package documentation.
|
|
7
|
+
|
|
3
8
|
## [0.1.0-alpha.1] - 2026-09-11
|
|
4
9
|
|
|
5
10
|
- Prepared the initial npm prerelease of the console/HiLog and cold-launch instrumentation plugin.
|
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Guance HarmonyOS Hvigor Plugin
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@cloudcare/hvigor-ohos-plugin)
|
|
4
|
+
|
|
3
5
|
`@cloudcare/hvigor-ohos-plugin` is the build-time companion for `@guancecloud/ft_sdk`. It instruments direct `console.*` and `hilog.*` calls and injects cold-launch lifecycle tracking into a HAP module's `src/main/ets` sources. Runtime log collection remains controlled by `FTLoggerConfig.setEnableConsoleLog(true)` in `@guancecloud/ft_sdk`.
|
|
4
6
|
|
|
5
7
|
## Install
|
|
@@ -9,7 +11,7 @@ This is a Hvigor tool package, so declare it in the project-level `hvigor/hvigor
|
|
|
9
11
|
```json5
|
|
10
12
|
{
|
|
11
13
|
"dependencies": {
|
|
12
|
-
"@cloudcare/hvigor-ohos-plugin": "0.1.0-alpha.
|
|
14
|
+
"@cloudcare/hvigor-ohos-plugin": "0.1.0-alpha.2"
|
|
13
15
|
}
|
|
14
16
|
}
|
|
15
17
|
```
|
|
@@ -40,6 +42,6 @@ The plugin preserves the original console/HiLog output and does not modify appli
|
|
|
40
42
|
|
|
41
43
|
## Compatibility
|
|
42
44
|
|
|
43
|
-
The `0.1.0-alpha.
|
|
45
|
+
The `0.1.0-alpha.2` prerelease is verified with Node.js 18 or newer, Hvigor and `@ohos/hvigor-ohos-plugin` 6.23.5, and HarmonyOS SDK 6.0.2 (API 22). It supports `@guancecloud/ft_sdk` `0.1.17` and later releases.
|
|
44
46
|
|
|
45
47
|
`@ohos/hvigor-ohos-plugin` is supplied by DevEco Studio's Hvigor runtime. `@guancecloud/ft_sdk` must still be declared as the application's runtime HAR dependency because the generated imports target that package.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcare/hvigor-ohos-plugin",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.2",
|
|
4
4
|
"description": "Guance HarmonyOS Hvigor plugin for automatic console, HiLog, and cold-launch collection.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -13,6 +13,15 @@
|
|
|
13
13
|
],
|
|
14
14
|
"author": "Guance",
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/GuanceCloud/datakit-harmonyos.git",
|
|
19
|
+
"directory": "ft_hvigor_plugin"
|
|
20
|
+
},
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"access": "public",
|
|
23
|
+
"registry": "https://registry.npmjs.org/"
|
|
24
|
+
},
|
|
16
25
|
"engines": {
|
|
17
26
|
"node": ">=18"
|
|
18
27
|
},
|