#!/bin/bash # Pin npm to the public registry and fetch documented release notes. set -euo pipefail # Optionally honor an operator-provided mirror; no literal host is embedded. cat > "$HOME/.npmrc" <