Submit
Path:
~
/
/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
libnpmversion
/
lib
/
File Content:
commit.js
const git = require('@npmcli/git') module.exports = (version, opts) => { const { commitHooks, allowSameVersion, signGitCommit, message } = opts const args = ['commit'] if (commitHooks === false) { args.push('-n') } if (allowSameVersion) { args.push('--allow-empty') } if (signGitCommit) { args.push('-S') } args.push('-m') return git.spawn([...args, message.replace(/%s/g, version)], opts) }
Submit
FILE
FOLDER
Name
Size
Permission
Action
commit.js
425 bytes
0644
enforce-clean.js
837 bytes
0644
index.js
805 bytes
0644
read-json.js
335 bytes
0644
retrieve-tag.js
384 bytes
0644
tag.js
470 bytes
0644
version.js
3373 bytes
0644
write-json.js
524 bytes
0644
N4ST4R_ID | Naxtarrr