Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
program
.on('--help', () => {
console.log(' Description:')
console.log('')
console.log(' Runs the given command on all the packages')
console.log(' Commands are run in parallel, with colorless output')
console.log('')
console.log(' Examples:')
console.log('')
console.log(' $ sui-mono run-parallel npm i')
console.log(' $ sui-mono run-parallel --help')
console.log('')
})
.parse(process.argv)
parallelSpawn(getAllTaskArrays())
.then(code => process.exit(code))
.catch(code => process.exit(code))
;(async () => {
await parallelSpawn(cloneSUIComponentsCommand)
await parallelSpawn(cloneCommands)
await parallelSpawn(installCommands)
const statsComponents = await stats({repositories, root: WORK_DIRECTORY})
console.log(statsComponents)
})()
;(async () => {
await parallelSpawn(cloneSUIComponentsCommand)
await parallelSpawn(cloneCommands)
await parallelSpawn(installCommands)
const statsComponents = await stats({repositories, root: WORK_DIRECTORY})
console.log(statsComponents)
})()
;(async () => {
await parallelSpawn(cloneSUIComponentsCommand)
await parallelSpawn(cloneCommands)
await parallelSpawn(installCommands)
const statsComponents = await stats({repositories, root: WORK_DIRECTORY})
console.log(statsComponents)
})()