threepipe
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

each-plugin.mjs 326B

12345678
  1. import {execEachPlugin} from "./utils.mjs";
  2. const command = process.argv.slice(2).join(' ')
  3. if(!command) throw new Error('Command is required')
  4. console.log(`Executing '${command}' in all plugins`)
  5. // Each plugin should have "prepare" that will also build the plugin
  6. execEachPlugin(`npm ${command}}`) // install dependencies