np
np copied to clipboard
Handle a missing `repoUrl`
Indeed it would make sense for an npm package, but:
- If possible it could parse the repo from a git remote as a fallback, or
- it could handle a missing repo field and output the correct error
Originally posted by @fregante in https://github.com/sindresorhus/np/issues/593#issuecomment-770253665
https://github.com/sindresorhus/np/blob/main/source/release-task-helper.js#L16