feat: add script for synchronizing packages to intranet registry

This commit is contained in:
LeoYuan 袁力皓 2022-05-19 10:42:03 +08:00 committed by LeoYuan 袁力皓
parent 1cfc8d668b
commit b4f463e7d4
2 changed files with 19 additions and 1 deletions

View File

@ -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": {

17
scripts/sync.sh Executable file
View File

@ -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