Skip to content

Commit

Permalink
Possibly fix install script
Browse files Browse the repository at this point in the history
  • Loading branch information
Maaaartin committed Jun 30, 2024
1 parent ec4589f commit 3ab6621
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_versions
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash
npm install -g typescript yarn
DEPS=$(jq -r '.dependencies, .devDependencies | to_entries[] | select(.key | test("jest"; "i")) | .key + "@" + .value' package.json)
DEPS=$(jq -r '.dependencies, .devDependencies | to_entries[] | select(.key | test("jest"; "i") or . == "jest") | .key + "@" + .value' package.json)
for DEP in $DEPS
do
echo "Installing $DEP globally..."
npm install -g "$DEP"
done
done

0 comments on commit 3ab6621

Please sign in to comment.