obfu5c8 / yarn-all-workspaces

CLI utility for executing yarn commands on all workspaces in a project
0 stars 0 forks source link

module has no script #18

Open dogzy123 opened 5 years ago

dogzy123 commented 5 years ago

If main package doesn't have same script that you want to execute in nested workspaces then it doing like this: console.log("Package %s has no script %s", pkg, script);

Please check these strings:

if (hasScript(dir, script)) {
        return yarnExec(dir, pkg, 'run', args);
      } else {
        console.log("Package %s has no script %s", pkg, script);
      }