【文件属性】:
文件名称:凹凸兄弟
文件大小:16KB
文件格式:ZIP
更新时间:2021-02-14 10:43:56
TypeScript
凹凸兄弟
在其monorepo兄弟姐妹中碰撞软件包的版本
目标
使用monorepo工具发布会破坏软件包的版本,但不会在其monorepo兄弟姐妹的package.json中( dependencies下)破坏该软件包的版本。
用法
yarn add -D bump-siblings
作为发布或后期发布添加到脚本中:
{
" scripts " : {
" publish " : " bump-siblings "
}
}
【文件预览】:
bump-siblings-main
----.gitignore(38B)
----tsconfig.json(507B)
----README.md(412B)
----.nvmrc(3B)
----bin()
--------index.js(22KB)
----.vscode()
--------settings.json(26B)
----package.json(926B)
----src()
--------util.ts(650B)
--------index.ts(1KB)
----scripts()
--------build.ts(509B)
----yarn.lock(10KB)