From b5c75474646555db7f18a5d03a583b89f805e5a5 Mon Sep 17 00:00:00 2001 From: Cuecuexiaoyu Date: Tue, 12 Aug 2025 16:45:16 +0800 Subject: [PATCH] delete npm_preinstall.sh Signed-off-by: Cuecuexiaoyu Change-Id: Ic1a9c44e3aea323de9926779b48bea13c2ef03b7 --- arkui-plugins/npm_preinstall.sh | 30 ------------------------------ arkui-plugins/package.json | 1 - 2 files changed, 31 deletions(-) delete mode 100755 arkui-plugins/npm_preinstall.sh diff --git a/arkui-plugins/npm_preinstall.sh b/arkui-plugins/npm_preinstall.sh deleted file mode 100755 index 478471ab0..000000000 --- a/arkui-plugins/npm_preinstall.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash -# coding: utf-8 -# Copyright (c) 2025 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -if [ "$1" == "--init" ]; then - cd ../koala-wrapper - npm install - npm run compile - npm link - - cd ../ts_wrapper - npm install - npm run compile - npm link - - cd ../arkui-plugins - mkdir node_modules - npm link @koalaui/libarkts -fi \ No newline at end of file diff --git a/arkui-plugins/package.json b/arkui-plugins/package.json index 929c12377..9f115edfe 100644 --- a/arkui-plugins/package.json +++ b/arkui-plugins/package.json @@ -7,7 +7,6 @@ "./test" ], "scripts": { - "local:install": "chmod 777 ./npm_preinstall.sh && ./npm_preinstall.sh --init", "compile:plugins": "./node_modules/.bin/babel . --out-dir lib --extensions .ts", "compile:clean": "rm -rf lib", "clean:test": "rm -rf dist && rm -rf coverage", -- Gitee