icloud_photos_downloader/scripts/unpublish_npm

14 lines
433 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
# dev script
# required param: registry_url
#
# note that verdaccio v5 is flaky around unpublishing and restart may be required to clean things
#
npm --registry $1 unpublish -f icloudpd
npm --registry $1 unpublish -f @icloudpd/linux-x64
npm --registry $1 unpublish -f @icloudpd/win32-x64
npm --registry $1 unpublish -f @icloudpd/darwin-x64
npm --registry $1 unpublish -f @icloudpd/darwin-arm64