mysticatea / npm-run-all

A CLI tool to run multiple npm-scripts in parallel or sequential.
MIT License
5.71k stars 240 forks source link

Doesn't work with Yarn workspaces #230

Open eric-burel opened 2 years ago

eric-burel commented 2 years ago

Hi,

I have a (totally non minimal) reproduction for this issue: https://github.com/VulcanJS/vulcan-npm/pull/116 You can clone the project on this branch, then yarn install && yarn workspace remix-ffa2 run build => it won't find the build scripts, probably because it looks at the root package.json and not the nested package.json.

kylecordes commented 2 years ago

True, and very inconvenient!

mycroes commented 2 years ago

Not sure if my issue is related, but with yarn you can run scripts with a colon in their name from any workspace. That also doesn't work with npm-run-all, but when searching I stumbled upon this issue so my guess is this would be blocking either way...

kepek commented 1 year ago

👍