UNPKG

@142vip/release-version

Version:

通用型版本迭代Cli工具,支持版本迭代更新,Git提交信息、打标记并推送到远程

36 lines (33 loc) 764 B
'use strict'; const bumpConfigDefaults = { commit: true, push: true, tag: true, recursive: false, skipGitVerify: false, confirm: true, ignoreScripts: false, all: false }; const CONFIG_DEFAULT_NAME = "bump"; const bumpDefaultConfig = { commit: true, push: true, tag: true, recursive: false, skipGitVerify: false, confirm: true, ignoreScripts: false, all: false }; function getBumpDefaultConfig() { return bumpDefaultConfig; } function defineBumpXConfig(config) { return config; } exports.CONFIG_DEFAULT_NAME = CONFIG_DEFAULT_NAME; exports.bumpConfigDefaults = bumpConfigDefaults; exports.bumpDefaultConfig = bumpDefaultConfig; exports.defineBumpXConfig = defineBumpXConfig; exports.getBumpDefaultConfig = getBumpDefaultConfig;