chore: test cloud build

This commit is contained in:
kangwei 2020-03-28 22:00:48 +08:00
parent 8174b42fa3
commit e95dd4f9f3
7 changed files with 23 additions and 18 deletions

View File

@ -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但是发包的依赖还得有
#### 开发提交: #### 开发提交:

View File

@ -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"
]
}
}
} }

View File

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

View File

@ -38,5 +38,8 @@
"require": [ "require": [
"ts-node/register" "ts-node/register"
] ]
},
"publishConfig": {
"registry": "https://registry.npm.alibaba-inc.com"
} }
} }

View File

@ -42,5 +42,8 @@
"ts-node/register" "ts-node/register"
] ]
}, },
"license": "MIT" "license": "MIT",
"publishConfig": {
"registry": "https://registry.npm.alibaba-inc.com"
}
} }

View File

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