mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-13 12:13:10 +00:00
chore: test cloud build
This commit is contained in:
parent
8174b42fa3
commit
e95dd4f9f3
11
README.md
11
README.md
@ -10,16 +10,7 @@
|
|||||||
|
|
||||||
#### 跑起来:
|
#### 跑起来:
|
||||||
|
|
||||||
- `npm run reinstall`
|
- `npm run setup`
|
||||||
- `npm run build`
|
|
||||||
|
|
||||||
#### Link & unlink
|
|
||||||
|
|
||||||
- ~~`cd packages/<package-name> && tnpm link -g`~~
|
|
||||||
- ~~`tnpm link @ali/<package-name>`~~
|
|
||||||
- ~~`tnpm unlink @ali/<package-name>`~~
|
|
||||||
|
|
||||||
已在 tsconfig 中配置 paths,开发时无需 link,但是发包的依赖还得有
|
|
||||||
|
|
||||||
#### 开发提交:
|
#### 开发提交:
|
||||||
|
|
||||||
|
|||||||
15
abc.json
15
abc.json
@ -1,3 +1,16 @@
|
|||||||
{
|
{
|
||||||
|
"name": "lowcode-engine",
|
||||||
|
"assets": {
|
||||||
|
"type": "command",
|
||||||
|
"command": {
|
||||||
|
"cmd": [
|
||||||
|
"BUILD_WORK_DIR=$(pwd)/packages/globals tnpm ii",
|
||||||
|
"BUILD_WORK_DIR=$(pwd)/packages/globals npm run build",
|
||||||
|
"BUILD_WORK_DIR=$(pwd)/packages/react-simulator-renderer tnpm ii",
|
||||||
|
"BUILD_WORK_DIR=$(pwd)/packages/react-simulator-renderer npm run build",
|
||||||
|
"mv packages/react-simulator-renderer/dist $BUILD_DEST",
|
||||||
|
"mv packages/globals/dist/* $BUILD_DEST"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -41,11 +41,6 @@
|
|||||||
"git add"
|
"git add"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"husky": {
|
|
||||||
"hooks": {
|
|
||||||
"pre-commit": "lint-staged"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"config": {
|
"config": {
|
||||||
"commitizen": {
|
"commitizen": {
|
||||||
"path": "node_modules/cz-conventional-changelog"
|
"path": "node_modules/cz-conventional-changelog"
|
||||||
|
|||||||
@ -38,5 +38,8 @@
|
|||||||
"require": [
|
"require": [
|
||||||
"ts-node/register"
|
"ts-node/register"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"publishConfig": {
|
||||||
|
"registry": "https://registry.npm.alibaba-inc.com"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -42,5 +42,8 @@
|
|||||||
"ts-node/register"
|
"ts-node/register"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"license": "MIT"
|
"license": "MIT",
|
||||||
|
"publishConfig": {
|
||||||
|
"registry": "https://registry.npm.alibaba-inc.com"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { uniqueId } from '@ali/lowcode-globals';
|
import { uniqueId } from '../../utils';
|
||||||
import { Component } from 'react';
|
import { Component } from 'react';
|
||||||
import { saveTips } from './tip-handler';
|
import { saveTips } from './tip-handler';
|
||||||
import { TipConfig } from '../../types';
|
import { TipConfig } from '../../types';
|
||||||
|
|||||||
0
scripts/deploy.sh
Normal file
0
scripts/deploy.sh
Normal file
Loading…
x
Reference in New Issue
Block a user