From 2e2d47fb2561e5c8f218c76b665755c4db6cd4dc Mon Sep 17 00:00:00 2001 From: naumovdmitrii Date: Wed, 5 Feb 2025 16:56:37 +0300 Subject: [PATCH] regen task Signed-off-by: naumovdmitrii --- arkoala-arkts/libarkts/package.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arkoala-arkts/libarkts/package.json b/arkoala-arkts/libarkts/package.json index 321065a95..e471f1bb9 100644 --- a/arkoala-arkts/libarkts/package.json +++ b/arkoala-arkts/libarkts/package.json @@ -10,6 +10,10 @@ "files": [ "./build/*" ], + "config": { + "gen_version": "3.0.4", + "input_file": "../../incremental/tools/panda/node_modules/@panda/sdk/ohos_arm64/include/tools/es2panda/generated/es2panda_lib/es2panda_lib.idl" + }, "dependencies": { }, "scripts": { @@ -28,6 +32,7 @@ "test": "npm run compile:native && npm run mocha", "run:abc": "../../incremental/tools/panda/node_modules/@panda/sdk/linux_host_tools/bin/ark --load-runtimes=ets --boot-panda-files=../../incremental/tools/panda/node_modules/@panda/sdk/ets/etsstdlib.abc ./main.abc main.ETSGLOBAL::main", "compile:playground": "cd playground && meson setup build && meson compile -C build", - "run:playground": "npm run compile:playground && ./playground/build/playground.out" + "run:playground": "npm run compile:playground && ./playground/build/playground.out", + "regenerate": "npx @idlizer/libarkts-gen@$npm_package_config_gen_version --input-file $npm_package_config_input_file --output-dir ../ --files bridges,nativeModule" } } -- Gitee