From 156b19c5fe8463f32b1b634f2ca31ae4676f45c7 Mon Sep 17 00:00:00 2001 From: lurunze1226 Date: Fri, 21 Apr 2023 13:52:06 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=B0=83=E6=95=B4amis=E5=86=85?= =?UTF-8?q?=E7=BD=91=E5=8F=91=E5=B8=83=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish-to-internal.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/publish-to-internal.sh b/publish-to-internal.sh index 3c5a5ef8a..f428e0bdb 100644 --- a/publish-to-internal.sh +++ b/publish-to-internal.sh @@ -1,16 +1,16 @@ #!/bin/bash set -e -npm run build --workspaces +npm run build --workspace=amis-formula --workspace=amis-core --workspace=amis-ui --workspace=amis rm -rf npm -mkdir npm +mkdir -p npm/packages # 如果有问题可以注释掉这两行,不知道为啥会导致 cp -rf 挂掉 # rm -rf packages/amis/node_modules/.bin # rm -rf packages/amis-ui/node_modules/.bin -cp -rf packages npm +cp -r packages/{amis-formula,amis-core,amis-ui,amis} npm/packages cp package.json npm # 记录last commit,便于区分内网版本包之间的差异