Files
recflare/packages/tools/bin/run-fix-deps
Devin Zuczek 8e644a5c20 Initial commit
2026-06-08 18:23:40 -04:00

13 lines
272 B
Bash
Executable File

#!/bin/sh
set -eu
repo_root=$(git rev-parse --show-toplevel)
cd "$repo_root"
syncpack fix-mismatches
# Update lockfile if there were any changes to package.json files
if git status --porcelain | grep -q 'package.json'; then
exec pnpm install --child-concurrency=10
fi