semantic-release / semantic-release/github
NPM Publish new expected format for repository.url isn't supported by the github plugin
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 534
- Forks
- 150
- Avg merge
- 1m
- Merged PRs (30d)
- 3
Description
Hello,
Part of testing the new beta of semantic-release for publishing with OIDC, I encountered a warning (auto-fixed) from npm:
npm warn publish npm auto-corrected some errors in your package.json when publishing. Please run "npm pkg fix" to address these errors.\n' +
'npm warn publish errors corrected:\n' +
'npm warn publish "repository.url" was normalized to "git+https://github.com/Belphemur/node-json-db.git"\n' +
I fixed that warning with the given command, but now the github plugin isn't able to run it's success part because it can't parse the repository URL.
cf: https://github.com/semantic-release/npm/issues/958#issuecomment-3411996072
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the GitHub plugin code that parses repository.url, then reproduce the failure with the npm-normalized URL shown in the report. Verify the success path accepts the git+https repository format and that the plugin handles the reported repository without a parsing failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, javascript
- Domain
- release
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100