threepipe
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

each-plugin.mjs 325B

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