mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 11:20:11 +00:00
chore: cloud build test 17
This commit is contained in:
parent
9dbc3dcf0a
commit
4ccfa46dea
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,6 +7,7 @@ packages/*/dist/
|
||||
package-lock.json
|
||||
yarn.lock
|
||||
deploy-space/packages
|
||||
deploy-space/.env
|
||||
|
||||
|
||||
# IDE
|
||||
|
||||
@ -11,11 +11,12 @@
|
||||
#### 跑起来:
|
||||
|
||||
- `npm run setup`
|
||||
- `npm start`
|
||||
|
||||
#### 开发提交:
|
||||
|
||||
- `git add <your-files>`
|
||||
- `npm run commit`
|
||||
- `npm run commit` # 在根目录
|
||||
|
||||
## 发布
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge,chrome=1" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>LowCodeEngine DEMO</title>
|
||||
<title>LowCodeEngine Editor DEMO</title>
|
||||
<link rel="shortcut icon" href="./favicon.png" />
|
||||
<script src="https://g.alicdn.com/code/lib/react/16.9.0/umd/react.development.js"></script>
|
||||
<script src="https://g.alicdn.com/code/lib/react-dom/16.9.0/umd/react-dom.development.js"></script>
|
||||
@ -16,7 +16,7 @@
|
||||
<!-- lowcode engine globals -->
|
||||
<link rel="stylesheet" href="./globals.css" />
|
||||
<!-- lowcode engine app -->
|
||||
<link rel="stylesheet" href="./lowcode-demo.css" />
|
||||
<link rel="stylesheet" href="./lowcode-editor.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@ -24,6 +24,6 @@
|
||||
<!-- lowcode engine globals -->
|
||||
<script src="./globals.js"></script>
|
||||
<!-- lowcode engine app -->
|
||||
<script src="./lowcode-demo.js"></script>
|
||||
<script src="./lowcode-editor.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge,chrome=1" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>LowCodeEngine DEMO</title>
|
||||
<title>LowCodeEngine Preview DEMO</title>
|
||||
<script src="https://g.alicdn.com/code/lib/react/16.9.0/umd/react.development.js"></script>
|
||||
<script src="https://g.alicdn.com/code/lib/react-dom/16.9.0/umd/react-dom.development.js"></script>
|
||||
<script src="https://g.alicdn.com/code/lib/prop-types/15.7.2/prop-types.js"></script>
|
||||
@ -13,9 +13,10 @@
|
||||
|
||||
<link rel="stylesheet" href="https://alifd.alicdn.com/npm/@alifd/next/1.11.6/next.min.css">
|
||||
<script src="https://unpkg.alibaba-inc.com/@alifd/next@1.18.17/dist/next.min.js"></script>
|
||||
<link rel="stylesheet" href="./lowcode-preview.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="lce-container"></div>
|
||||
<script src="./lowcode-preview.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -1,9 +1,5 @@
|
||||
{
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"tslib": "^1.9.3",
|
||||
"typescript": "^3.2.2"
|
||||
},
|
||||
"workspaces": {
|
||||
"packages": [
|
||||
"packages/*"
|
||||
@ -13,5 +9,8 @@
|
||||
"**/@alife/theme-lowcode-*"
|
||||
]
|
||||
},
|
||||
"engines" : { "node" : "^10" }
|
||||
"dependencies": {
|
||||
"tslib": "^1.11.1",
|
||||
"typescript": "^3.8.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,6 +6,8 @@
|
||||
"target": "esnext",
|
||||
// Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'.
|
||||
"module": "esnext",
|
||||
// Search under node_modules for non-relative imports.
|
||||
"moduleResolution": "node",
|
||||
// Process & infer types from .js files.
|
||||
"allowJs": true,
|
||||
// Report errors in .js files.
|
||||
|
||||
@ -10,13 +10,13 @@
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"build": "lerna run build",
|
||||
"build": "lerna run build --stream",
|
||||
"clean": "rm -rf ./packages/*/lib ./packages/*/es ./packages/*/dist ./packages/*/build",
|
||||
"commit": "git-cz",
|
||||
"pub": "lerna publish",
|
||||
"setup": "./scripts/setup.sh",
|
||||
"start": "./scripts/start.sh",
|
||||
"test": "lerna run test",
|
||||
"test": "lerna run test --stream",
|
||||
"test:snapshot": "lerna run test:snapshot"
|
||||
},
|
||||
"lint-staged": {
|
||||
@ -45,8 +45,5 @@
|
||||
"ts-node": "^7.0.1",
|
||||
"tslib": "^1.9.3",
|
||||
"typescript": "^3.2.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^10"
|
||||
}
|
||||
}
|
||||
|
||||
@ -18,7 +18,8 @@
|
||||
"@ali/lowcode-plugin-zh-en": "^0.8.0",
|
||||
"@ali/lowcode-plugin-sample-logo": "^0.8.0",
|
||||
"@ali/lowcode-plugin-sample-preview": "^0.8.0",
|
||||
"@ali/lowcode-runtime": "^0.8.0",
|
||||
"@ali/lowcode-plugin-event-bind-dialog": "^0.8.0",
|
||||
"@ali/lowcode-runtime": "^0.0.3",
|
||||
"@ali/lowcode-react-renderer": "^0.8.0",
|
||||
"@alife/theme-lowcode-dark": "^0.1.0",
|
||||
"@alife/theme-lowcode-light": "^0.1.0",
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
"name": "@ali/lowcode-globals",
|
||||
"version": "0.8.0",
|
||||
"description": "Globals api for Ali lowCode engine",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
"files": [
|
||||
@ -14,6 +15,16 @@
|
||||
"test": "ava",
|
||||
"test:snapshot": "ava --update-snapshots"
|
||||
},
|
||||
"ava": {
|
||||
"compileEnhancements": false,
|
||||
"extensions": [
|
||||
"ts"
|
||||
],
|
||||
"require": [
|
||||
"ts-node/register"
|
||||
],
|
||||
"snapshotDir": "test/fixtures/__snapshots__"
|
||||
},
|
||||
"dependencies": {
|
||||
"@alifd/next": "^1.19.16",
|
||||
"@recore/obx": "^1.0.8",
|
||||
@ -23,26 +34,15 @@
|
||||
"react-dom": "^16.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@alib/build-scripts": "^0.1.18",
|
||||
"@types/classnames": "^2.2.7",
|
||||
"@types/node": "^13.7.1",
|
||||
"@types/react": "^16",
|
||||
"@types/react-dom": "^16",
|
||||
"@alib/build-scripts": "^0.1.18",
|
||||
"build-plugin-component": "^0.2.11",
|
||||
"build-plugin-fusion": "^0.1.0",
|
||||
"build-plugin-moment-locales": "^0.1.0"
|
||||
},
|
||||
"ava": {
|
||||
"compileEnhancements": false,
|
||||
"snapshotDir": "test/fixtures/__snapshots__",
|
||||
"extensions": [
|
||||
"ts"
|
||||
],
|
||||
"require": [
|
||||
"ts-node/register"
|
||||
]
|
||||
},
|
||||
"license": "MIT",
|
||||
"publishConfig": {
|
||||
"registry": "https://registry.npm.alibaba-inc.com"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ali/lowcode-plugin-event-bind-dialog",
|
||||
"version": "0.8.0",
|
||||
"version": "0.8.1",
|
||||
"description": "alibaba lowcode editor event bind dialog plugin",
|
||||
"files": [
|
||||
"es",
|
||||
|
||||
1
scripts/addowner.sh
Normal file
1
scripts/addowner.sh
Normal file
@ -0,0 +1 @@
|
||||
todo
|
||||
@ -7,9 +7,9 @@ echo "Deploy ${PWD} -> ${BUILD_DEST} ..."
|
||||
|
||||
cd deploy-space
|
||||
# basic environment preparing
|
||||
tnpm install yarn lerna --install-node=10
|
||||
mv node_modules env
|
||||
export PATH=$WORK_DIR/deploy-space/env/.bin:$PATH
|
||||
tnpm install @ali/tyarn lerna --install-node=10
|
||||
mv node_modules .env
|
||||
export PATH=$WORK_DIR/deploy-space/.env/.bin:$PATH
|
||||
|
||||
echo ""
|
||||
echo "Use node version:"
|
||||
@ -17,7 +17,7 @@ node -v
|
||||
echo ""
|
||||
|
||||
# set source
|
||||
yarn config set registry https://registry.npm.alibaba-inc.com
|
||||
# yarn config set registry https://registry.npm.alibaba-inc.com
|
||||
|
||||
# work
|
||||
mkdir packages
|
||||
|
||||
@ -1,8 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
tnpm i -g lerna @ali/tyarn
|
||||
|
||||
rm -rf node_modules package-lock.json yarn.lock
|
||||
lerna clean -y
|
||||
find ./packages -type f -name "package-lock.json" -exec rm -f {} \;
|
||||
|
||||
yarn install --registry=http://registry.npm.alibaba-inc.com
|
||||
lerna bootstrap
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user