PATH:
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
libnpmversion
/
lib
const git = require('@npmcli/git') module.exports = async (version, opts) => { const { signGitTag, allowSameVersion, tagVersionPrefix, message, } = opts const tag = `${tagVersionPrefix}${version}` const flags = ['-'] if (signGitTag) { flags.push('s') } if (allowSameVersion) { flags.push('f') } flags.push('m') return git.spawn([ 'tag', flags.join(''), message.replace(/%s/g, version), tag, ], opts) }
[-] retrieve-tag.js
[edit]
[-] read-json.js
[edit]
[-] enforce-clean.js
[edit]
[+]
..
[-] write-json.js
[edit]
[-] index.js
[edit]
[-] tag.js
[edit]
[-] commit.js
[edit]
[-] version.js
[edit]