multiple-package-publish
v1.0.15
Published
multiple-package-publish
Downloads
20
Readme
multiple-package-publish
功能介绍
- 多包发布,替代不好用的 lerna
- 对当前多包目录进行统一发布或者取消发布
- 需要搭配
multipl-package-build
处理当前工程 - warning:开发完成待验证
安装
yarn add multiple-package-publish
//or
npm install multiple-package-publish
使用
import { publish,unpublish } from 'multiple-package-publish'
async function(){
await publish({tag?:'beta||rc',target?:'packageRelativeDir'}?)
await unpublish({version:'1.0.0'})
}
cli模式
npm i -g multiple-package-publish
multiple-package-publish publish|unpublish
// or
mpp publish |unpublish