Skip to content

Commit b4f463e

Browse files
committed
feat: add script for synchronizing packages to intranet registry
1 parent 1cfc8d6 commit b4f463e

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
"start": "./scripts/start.sh",
2929
"test": "lerna run test --stream",
3030
"test:snapshot": "lerna run test:snapshot",
31-
"watchdog:build": "node ./scripts/watchdog.js"
31+
"watchdog:build": "node ./scripts/watchdog.js",
32+
"sync": "./scripts/sync.sh"
3233
},
3334
"husky": {
3435
"hooks": {

scripts/sync.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env bash
2+
3+
# sync all packages to alibaba intranet registry
4+
tnpm sync @alilc/lowcode-types
5+
tnpm sync @alilc/lowcode-utils
6+
tnpm sync @alilc/lowcode-shell
7+
tnpm sync @alilc/lowcode-editor-core
8+
tnpm sync @alilc/lowcode-editor-skeleton
9+
tnpm sync @alilc/lowcode-designer
10+
tnpm sync @alilc/lowcode-plugin-designer
11+
tnpm sync @alilc/lowcode-plugin-outline-pane
12+
tnpm sync @alilc/lowcode-rax-renderer
13+
tnpm sync @alilc/lowcode-rax-simulator-renderer
14+
tnpm sync @alilc/lowcode-react-renderer
15+
tnpm sync @alilc/lowcode-react-simulator-renderer
16+
tnpm sync @alilc/lowcode-renderer-core
17+
tnpm sync @alilc/lowcode-engine

0 commit comments

Comments
 (0)