mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-20 01:23:49 -05:00
chore(package): re-init package with commitizen and standard-release
This commit is contained in:
13
node_modules/standard-version/lib/run-lifecycle-script.js
generated
vendored
Normal file
13
node_modules/standard-version/lib/run-lifecycle-script.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
const chalk = require('chalk')
|
||||
const checkpoint = require('./checkpoint')
|
||||
const figures = require('figures')
|
||||
const runExec = require('./run-exec')
|
||||
|
||||
module.exports = function (args, hookName) {
|
||||
const scripts = args.scripts
|
||||
if (!scripts || !scripts[hookName]) return Promise.resolve()
|
||||
var command = scripts[hookName]
|
||||
checkpoint(args, 'Running lifecycle script "%s"', [hookName])
|
||||
checkpoint(args, '- execute command: "%s"', [command], chalk.blue(figures.info))
|
||||
return runExec(args, command)
|
||||
}
|
||||
Reference in New Issue
Block a user