Skip to content

Commit

Permalink
fix: replace yarn workspaces info with npm query .workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskowal committed Apr 25, 2024
1 parent 030ab65 commit ee394ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/get-packed-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ yarn build 1>&2

yarn lerna run build:types 1>&2

yarn --silent workspaces info | jq -r '.[].location' | while read -r dir; do
npm query .workspaces | jq -r '.[].location' | while read -r dir; do
# Skip private packages.
echo "dir=$dir" 1>&2
test "$(jq .private < "$dir/package.json")" != true || continue
Expand Down

0 comments on commit ee394ba

Please sign in to comment.