mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-14 13:03:07 +00:00
36 lines
1.0 KiB
Markdown
36 lines
1.0 KiB
Markdown
## Ali Lowcode Engine(阿里低代码引擎)
|
||
|
||
[Lerna](https://github.com/lerna/lerna) + [TS](https://www.typescriptlang.org/)
|
||
|
||
## 开发
|
||
|
||
#### 创建新包:
|
||
|
||
- `./create.sh <package-name>`
|
||
|
||
#### 跑起来:
|
||
|
||
- `npm run setup`
|
||
|
||
#### 开发提交:
|
||
|
||
- `git add <your-files>`
|
||
- `npm run commit`
|
||
|
||
## 发布
|
||
|
||
- `npm run pub`
|
||
|
||
## 注意
|
||
|
||
- Commit 动作尽量使用 `npm run commit`,其内部调用了 `git cz`,方便按语义化版本自动递增,以及自动生成 `CHANGELOG.md`
|
||
- `packages` 工程里一些开发时公共依赖(比如:`typescript`、`ava` 等)会放到工程顶层
|
||
- 工程里的 `.md`、`test/` 等文件修改不会产生新的发布
|
||
- 当工程里存在多个 ts 文件的目录时,最终产生的文件会按文件夹形式放到 `lib` 下
|
||
|
||
## 包权限管理
|
||
|
||
- `npm owner ls @ali/<pkg> --registry http://registry.npm.alibaba-inc.com`
|
||
- `npm owner add <user> @ali/<pkg> --registry http://registry.npm.alibaba-inc.com`
|
||
- `npm owner rm <user> @ali/<pkg> --registry http://registry.npm.alibaba-inc.com`
|