summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-09-17 01:05:41 +0000
committerCoprDistGit <infra@openeuler.org>2025-09-17 01:05:41 +0000
commit2bb99d2c7655b9c542e54856775be12b6b268db6 (patch)
treec1df0bba9a2b1f32771c4faa7b7aa56f297ba100
parentef73d2ed7630a867124470c2e4b7f93dbc3eb9af (diff)
automatic import of aops-hermes
-rw-r--r--aops-hermes.spec3
1 files changed, 1 insertions, 2 deletions
diff --git a/aops-hermes.spec b/aops-hermes.spec
index d580b28..494be32 100644
--- a/aops-hermes.spec
+++ b/aops-hermes.spec
@@ -21,7 +21,6 @@ Web for an intelligent diagnose frame
%autosetup -n %{name}-%{version}
%build
-npm config set registry https://mirrors.cloud.tencent.com/npm/
export NPM_PREFIX=$(pwd)/.npm-global
mkdir -p $NPM_PREFIX
npm config set prefix $NPM_PREFIX
@@ -29,7 +28,7 @@ npm config set prefix $NPM_PREFIX
npm install -g pnpm@6
export PATH=$NPM_PREFIX/bin:$PATH
-pnpm install
+pnpm install --registry https://mirrors.cloud.tencent.com/npm/
pnpm build