Comparing version 0.0.5 to 0.0.8
17
index.js
@@ -16,2 +16,5 @@ #!/usr/bin/env node | ||
const exitOnError = process.argv.indexOf('--exit-on-error') >= 0; | ||
const exitOnAggregateError = process.argv.indexOf('--exit-on-aggregated-error') >= 0; | ||
folders.unshift(process.cwd()); | ||
@@ -29,4 +32,14 @@ | ||
command: command, | ||
directories: folders | ||
directories: folders, | ||
exitOnError: exitOnError, | ||
exitOnAggregateError: exitOnAggregateError, | ||
}); | ||
}; | ||
}; | ||
module.exports.register = (program) => { | ||
program | ||
.command('exec', 'execute a command against meta repo and child repo dirs') | ||
.alias('loop') | ||
} |
{ | ||
"name": "meta-loop", | ||
"version": "0.0.5", | ||
"version": "0.0.8", | ||
"description": "module to locate a meta project's .meta file, and execute a provided command within the meta project's and all child projects' directories", | ||
"main": "index.js", | ||
"bin": { | ||
"meta-exec": "./bin/meta-exec", | ||
"meta-loop": "./bin/meta-loop" | ||
}, | ||
"scripts": { | ||
@@ -22,4 +26,4 @@ "test": "echo \"Error: no test specified\" && exit 1" | ||
"get-meta-file": "^0.0.5", | ||
"loop": "^3.0.1" | ||
"loop": "^3.0.6" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21740
5
32
Updatedloop@^3.0.6