From 596f7192f7e4b236f098673b2c31d466ac1f5747 Mon Sep 17 00:00:00 2001 From: yorere Date: Wed, 22 Dec 2021 10:43:10 +0800 Subject: [PATCH 1/3] add bundle.json Signed-off-by: yorere --- bundle.json | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 bundle.json diff --git a/bundle.json b/bundle.json new file mode 100644 index 0000000..eb612c8 --- /dev/null +++ b/bundle.json @@ -0,0 +1,50 @@ +{ + "name": "@ohos/samples", + "version": "", + "description": "供开发者参考的代码示例。", + "homePage": "https://gitee.com/openharmony", + "license": "", + "repository": "", + "domain": "os", + "language": "", + "publishAs": "", + "private": false, + "scripts": {}, + "tags": [], + "keywords": [], + "envs": [], + "dirs": [], + "author": { + "name": "", + "email": "", + "url": "" + }, + "contributors": [ + { + "name": "", + "email": "", + "url": "" + } + ], + "segment": {}, + "component": { + "name": "samples", + "subsystem": "sample", + "syscap": [], + "features": [], + "adated_system_type": [ + "standard" + ], + "rom": "", + "ram": "", + "deps": { + "components": [], + "third_party": [] + }, + "build": { + "sub_component": [], + "inner_kits": [], + "test": [] + } + } +} \ No newline at end of file -- Gitee From 679cf3e0d8ec658e73c611bed5c24ccb91188fca Mon Sep 17 00:00:00 2001 From: yorere Date: Wed, 22 Dec 2021 17:27:45 +0800 Subject: [PATCH 2/3] add bundle.json Signed-off-by: yorere --- bundle.json | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/bundle.json b/bundle.json index eb612c8..c72a5bf 100644 --- a/bundle.json +++ b/bundle.json @@ -1,17 +1,24 @@ { - "name": "@ohos/samples", + "name": "@ohos/applications_sample_wifi_iot", "version": "", "description": "供开发者参考的代码示例。", "homePage": "https://gitee.com/openharmony", - "license": "", - "repository": "", + "license": "Apache V2", + "repository": "https://gitee.com/openharmony/applications_sample_wifi_iot/tree/OpenHarmony-v3.0-LTS", "domain": "os", "language": "", - "publishAs": "", + "publishAs": "code-segment", "private": false, "scripts": {}, - "tags": [], - "keywords": [], + "tags": [ + "applications" + ], + "keywords": [ + "applications", + "sample", + "wifi", + "iot" + ], "envs": [], "dirs": [], "author": { @@ -26,7 +33,9 @@ "url": "" } ], - "segment": {}, + "segment": { + "destPath": "applications/sample/wifi-iot" + }, "component": { "name": "samples", "subsystem": "sample", -- Gitee From 752ee9f446f05f2b7758badff03ca73ff973b09e Mon Sep 17 00:00:00 2001 From: yorere Date: Fri, 24 Dec 2021 15:08:36 +0800 Subject: [PATCH 3/3] fix Signed-off-by: yorere --- bundle.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle.json b/bundle.json index c72a5bf..28e3c17 100644 --- a/bundle.json +++ b/bundle.json @@ -41,7 +41,7 @@ "subsystem": "sample", "syscap": [], "features": [], - "adated_system_type": [ + "adapted_system_type": [ "standard" ], "rom": "", -- Gitee