Hacker News new | ask | show | jobs
by oj-hn-dot-com 134 days ago
Well, that speeds things up a lot. But I agree with spankalee, it should be a DAG.

  < "ci": "CI=true bun run check && bun run test && bun run build && bun run docs && bun run zip && bun run zip:firefox"
  > "ci": "CI=true bun run --parallel check test build docs && bun run --parallel zip zip:firefox"
1 comments

The problem is that whole thing should have been its own script, which it coulda been with npm-run-all:

https://github.com/mysticatea/npm-run-all/blob/HEAD/docs/npm...

"scripts":{ "buldrun":"run-p check test docs && run-p zip zip:firefox" }

I guess you can put `bun run --parallel` into the script too but it's a bit more verbose.

Why would I want to add an external dependency?