From 0dd11f4635d3f1936ecd8794a09296f5b85cd09b Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Wed, 20 Nov 2024 11:15:42 -0800 Subject: [PATCH] Remove jq from install script --- install.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 6bf3e18..259fab9 100755 --- a/install.sh +++ b/install.sh @@ -45,9 +45,7 @@ else fi get_latest_version() { - local url="https://registry.npmjs.org/${PACKAGE_ORG:+$PACKAGE_ORG/}$PACKAGE_NAME" - - curl --silent "$url" | jq -r '.["dist-tags"].latest' + npm show ${PACKAGE_ORG:+$PACKAGE_ORG/}$PACKAGE_NAME version } ARCHIVE_URL=""