if command -v pnpm > /dev/null 2>&1; then
npm run pre-commit
else
docker run --rm -v "$(pwd):/repo" -w /repo api-client-tools npm run pre-commit
fi