hfour / wsrun

Command runner for Yarn workspaces. Dependency aware.
MIT License
512 stars 31 forks source link

Compatibility with npm 7? #105

Open mnasyrov opened 4 years ago

mnasyrov commented 4 years ago

Hi! Npm 7 now supports the similar concept for workspaces.

I tried to use a shell script with --bin option to use npm's run. It seems working, but not convenient:

npm-run.sh

#!/bin/sh
npm run "$@"

usage:

npx wsrun --bin="$(pwd)/npm-run.sh" -m -c clean
cjones26 commented 2 years ago

Honestly I just tried it and it seems like it works fine for me 🤷...YMMV.