We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36e5df3 commit cb83619Copy full SHA for cb83619
build-tools/npm-run-parallel
@@ -10,7 +10,7 @@ SCRIPT=$1
10
if [[ "$(uname)" == "Darwin"* ]]
11
then
12
# rust-parallel doesn't seem to be available for darwin in nix so we fallback to the sequential version
13
- npm run --workspace --if-present "$SCRIPT"
+ npm run --workspaces --if-present "$SCRIPT"
14
else
15
npm query .workspace --json | jq -r '.[].location' | xargs -I {} sh -c "if jq -e .scripts.[\\\"$SCRIPT\\\"] {}/package.json > /dev/null; then echo {}; fi" | rust-parallel npm run "$SCRIPT" --workspace
16
fi
0 commit comments