From b4f463e7d45f7b476de04bd4d98ad9f74d53cf13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?LeoYuan=20=E8=A2=81=E5=8A=9B=E7=9A=93?= Date: Thu, 19 May 2022 10:42:03 +0800 Subject: [PATCH] feat: add script for synchronizing packages to intranet registry --- package.json | 3 ++- scripts/sync.sh | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100755 scripts/sync.sh diff --git a/package.json b/package.json index 6e8ab8703..72ddd3ca6 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,8 @@ "start": "./scripts/start.sh", "test": "lerna run test --stream", "test:snapshot": "lerna run test:snapshot", - "watchdog:build": "node ./scripts/watchdog.js" + "watchdog:build": "node ./scripts/watchdog.js", + "sync": "./scripts/sync.sh" }, "husky": { "hooks": { diff --git a/scripts/sync.sh b/scripts/sync.sh new file mode 100755 index 000000000..71ab5f5a1 --- /dev/null +++ b/scripts/sync.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +# sync all packages to alibaba intranet registry +tnpm sync @alilc/lowcode-types +tnpm sync @alilc/lowcode-utils +tnpm sync @alilc/lowcode-shell +tnpm sync @alilc/lowcode-editor-core +tnpm sync @alilc/lowcode-editor-skeleton +tnpm sync @alilc/lowcode-designer +tnpm sync @alilc/lowcode-plugin-designer +tnpm sync @alilc/lowcode-plugin-outline-pane +tnpm sync @alilc/lowcode-rax-renderer +tnpm sync @alilc/lowcode-rax-simulator-renderer +tnpm sync @alilc/lowcode-react-renderer +tnpm sync @alilc/lowcode-react-simulator-renderer +tnpm sync @alilc/lowcode-renderer-core +tnpm sync @alilc/lowcode-engine \ No newline at end of file