返回载运
在更改日志中跳出语义版本
国 际
npm i -g @dmfenton/carriage-return
Usage: carriage-return [options]
Options:
--version Show version number [boolean]
-f, --file Location of your changelog [string]
-l, --level Semantic version change e.g. major, minor, patch [string]
--nv, --new-version The exact next version for yor changelog e.g. 2.3.1
[string]
-h, --help Show help [boolean]
Examples:
carriage-return -l minor bump your changelog to the next minor version
carriage-return -nv 1.0.1 bump your changelog to version 1.0.1
carriage-return -l major -f bump your changelog located at a specific filepath
/foobar/changelogs/log.md
Made with ♥️ by Esri DC R&D
国家预防机制脚本
npm i -D @dmfenton/carriage-return
{
"scripts": {
"changelog-patch": "carriage-return -l patch",
"changelog-minor": "carriage-return -l minor",
"changelog-major": "carriage-return -l major"
}
}
为什么叫这个名字?
当您与类型写入器到达一行的尽头时, 马车返回允许您在下一行重新开始