threepipe
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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