Merge remote-tracking branch 'origin/develop' into release/1.0.9-beta

This commit is contained in:
LeoYuan 袁力皓 2022-05-19 14:33:48 +08:00
commit cb8faabe99
3 changed files with 23 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": {

View File

@ -29,6 +29,10 @@ export default class SimulatorHost {
return this[simulatorHostSymbol].contentDocument;
}
get renderer() {
return this[simulatorHostSymbol].renderer;
}
/**
* host
* @param key

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