bcomnes / npm-run-all2

A CLI tool to run multiple npm-scripts in parallel or sequential. (Maintenance fork)
MIT License
250 stars 12 forks source link

`run-p 'build:*'` is not supported on Windows with `yarn` v4 #125

Closed JounQin closed 4 months ago

JounQin commented 9 months ago

https://github.com/un-ts/mono-lib-boilerplate/actions/runs/7129094026/job/19412404414?pr=47#step:6:12

$ run-p 'build:*'
ERROR: Task not found: "'build:*'"
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "build" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.
bcomnes commented 9 months ago

Only suggestion I could make would be to try to maybe remove the quotes around the globbed task run-p build:*, but there could very well be an incompatibility at play here. This tools is not well tested on windows power shell or with yarn > v2.

Open to PRs if anyone is interested in digging into this, but unfortunately I don't have the bandwidth or interest at the moment to personally spend time on this.

Closing to indicate that but happy to reopen if someone is interested.

JounQin commented 9 months ago

OK, I'm interested to raise a fix, please reopen and assign to me.

bcomnes commented 7 months ago

Hey @JounQin any progress?

JounQin commented 7 months ago

@bcomnes Not right now, I'm focusing on other things these days, but this is still on my schedule.

bcomnes commented 4 months ago

Closing this issue as not planned for now since it doesn't seem like a widespread issue. If you end up looking into it, I'll consider any PRs you come up with.