diff --git a/bundle.json b/bundle.json index 785780000e57ac074bddb063e0822edc2ba1ffcd..d1faf3e95b43e11bd0d95ec8eb0e68741d7fbbc7 100644 --- a/bundle.json +++ b/bundle.json @@ -1,17 +1,16 @@ { "name": "@openharmony/utils_lite", "version": "3.1.0", + "license": "Apache License 2.0", "description": "Basic macro and type definitions", "publishAs": "code-segment", - "scripts": { - "install": "DEST_PATH=${DEP_BUNDLE_BASE}/utils/native/lite && mkdir -p $DEST_PATH && cp -r ./* $DEST_PATH" + "segment": { + "destPath": "utils/native/lite" }, + "dirs": {}, + "scripts": {}, "author": {}, "repository": "", - "license": "Apache License 2.0", - "dirs": [ - "utils/native/lite/include" - ], "component": { "name": "utils_lite", "subsystem": "utils", diff --git a/file/bundle.json b/file/bundle.json index 79d5a94bd43703a60d734654f38f56e1143abbbf..454f69c34094fbb5a15d8e950f93cb7f89b14303 100644 --- a/file/bundle.json +++ b/file/bundle.json @@ -1,17 +1,16 @@ { "name": "@openharmony/file", "version": "3.1.0", + "license": "Apache License 2.0", "description": "", "publishAs": "code-segment", - "scripts": { - "install": "DEST_PATH=${DEP_BUNDLE_BASE}/utils/native/lite && mkdir -p $DEST_PATH && cp -r ./* $DEST_PATH" + "segment": { + "destPath": "utils/native/lite/file" }, + "dirs": {}, + "scripts": {}, "author": {}, "repository": "", - "license": "Apache License 2.0", - "dirs": [ - "utils/native/lite/file" - ], "component": { "name": "file", "subsystem": "utils", diff --git a/js/builtin/bundle.json b/js/builtin/bundle.json index 9f2c0e9ce663caeac6db7bceb4146d36c7ecbf97..b2a65e92ebb42ec905448717451b6f7efd45246a 100644 --- a/js/builtin/bundle.json +++ b/js/builtin/bundle.json @@ -1,17 +1,16 @@ { "name": "@openharmony/js_builtin", "version": "3.1.0", + "license": "Apache License 2.0", "description": "ace related kits", "publishAs": "code-segment", - "scripts": { - "install": "DEST_PATH=${DEP_BUNDLE_BASE}/utils/native/lite && mkdir -p $DEST_PATH && cp -r ./* $DEST_PATH" + "segment": { + "destPath": "utils/native/lite/js/builtin" }, + "dirs": {}, + "scripts": {}, "author": {}, "repository": "", - "license": "Apache License 2.0", - "dirs": [ - "utils/native/lite/js/builtin" - ], "component": { "name": "js_builtin", "subsystem": "utils", diff --git a/kal/timer/bundle.json b/kal/timer/bundle.json index 39ec669dfd000641f007804b3be4f54bb3c6ea28..4c3d420e84285c64c9d22fba7983f694094ccb2d 100644 --- a/kal/timer/bundle.json +++ b/kal/timer/bundle.json @@ -1,17 +1,16 @@ { "name": "@openharmony/kal_timer", "version": "3.1.0", + "license": "Apache License 2.0", "description": "", "publishAs": "code-segment", - "scripts": { - "install": "DEST_PATH=${DEP_BUNDLE_BASE}/utils/native/lite && mkdir -p $DEST_PATH && cp -r ./* $DEST_PATH" + "segment": { + "destPath": "utils/native/lite/kal/timer" }, + "dirs": {}, + "scripts": {}, "author": {}, "repository": "", - "license": "Apache License 2.0", - "dirs": [ - "utils/native/lite/kal/timer" - ], "component": { "name": "kal_timer", "subsystem": "utils", diff --git a/memory/bundle.json b/memory/bundle.json index dd52576d559d0f18effb784fb53457054e1e9465..41c06cd31af7c96e2cf9ac4ce6e7a8acaf808cbc 100644 --- a/memory/bundle.json +++ b/memory/bundle.json @@ -1,17 +1,16 @@ { "name": "@openharmony/memory", "version": "3.1.0", + "license": "Apache License 2.0", "description": "memory", "publishAs": "code-segment", - "scripts": { - "install": "DEST_PATH=${DEP_BUNDLE_BASE}/utils/native/lite && mkdir -p $DEST_PATH && cp -r ./* $DEST_PATH" + "segment": { + "destPath": "utils/native/lite/memory" }, + "dirs": {}, + "scripts": {}, "author": {}, "repository": "", - "license": "Apache License 2.0", - "dirs": [ - "utils/native/lite/memory" - ], "component": { "name": "memory", "subsystem": "utils", diff --git a/os_dump/bundle.json b/os_dump/bundle.json index fb85c7828b11c9b463b6dc461d0608b7d4d92762..361eae8d904f687cf0531d81e114f2099b812cdd 100644 --- a/os_dump/bundle.json +++ b/os_dump/bundle.json @@ -1,17 +1,16 @@ { "name": "@openharmony/os_dump", "version": "3.1.0", + "license": "Apache License 2.0", "description": "Providing commands for dumping system property.", "publishAs": "code-segment", - "scripts": { - "install": "DEST_PATH=${DEP_BUNDLE_BASE}/utils/native/lite && mkdir -p $DEST_PATH && cp -r ./* $DEST_PATH" + "segment": { + "destPath": "utils/native/lite/os_dump" }, + "dirs": {}, + "scripts": {}, "author": {}, "repository": "", - "license": "Apache License 2.0", - "dirs": [ - "utils/native/lite/os_dump" - ], "component": { "name": "os_dump", "subsystem": "utils", diff --git a/timer_task/bundle.json b/timer_task/bundle.json index f6372fcc4c1205c8184604331334169086b66a58..341431c026767be68db6d4fc3e2669990f525740 100644 --- a/timer_task/bundle.json +++ b/timer_task/bundle.json @@ -1,17 +1,16 @@ { "name": "@openharmony/timer_task", "version": "3.1.0", + "license": "Apache License 2.0", "description": "ace timer kits", "publishAs": "code-segment", - "scripts": { - "install": "DEST_PATH=${DEP_BUNDLE_BASE}/utils/native/lite && mkdir -p $DEST_PATH && cp -r ./* $DEST_PATH" + "segment": { + "destPath": "utils/native/lite/timer_task" }, + "dirs": {}, + "scripts": {}, "author": {}, "repository": "", - "license": "Apache License 2.0", - "dirs": [ - "utils/native/lite/timer_task" - ], "component": { "name": "timer_task", "subsystem": "utils",