SIGN IN SIGN UP

chore: fix npm publish logic (#5493)

* chore: clean up logging in npm script

* fix: catch error if npm version missing

npm changed the way the `npm view` command handles missing versions.
Before it exited with a non-error. Now it errors.

Ref: https://github.com/npm/cli/pull/5035

This modifies the script logic to handle those new changes.
J
Joe Previte committed
d1acfad2a83fb4a4bc1c7670cf2315337273d05a
Parent: ccbf0be
Committed by GitHub <noreply@github.com> on 8/23/2022, 6:36:24 PM