Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: normalize package.json repository protocol definition #853

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

MikeMcC399
Copy link
Collaborator

Issue

npm reports in workflow log

https://app.circleci.com/pipelines/github/cypress-io/cypress-example-kitchensink/1886/workflows/55d7c8d6-7241-4bc9-8691-d5deb7dc8b41/jobs/12980?invite=true#step-102-6007_121

npm warn publish npm auto-corrected some errors in your package.json when publishing. Please run "npm pkg fix" to address these errors.
npm warn publish errors corrected:
npm warn publish "repository.url" was normalized to "git+https://github.com/cypress-io/cypress-example-kitchensink.git"

Currently

"repository": {
"type": "git",
"url": "https://github.com/cypress-io/cypress-example-kitchensink.git"
},
defines the repository using the https protocol.

Change

Permanently normalize the repo reference in package.json using npm pkg fix to change to git+https protocol:

  "repository": {
    "type": "git",
    "url": "git+https://github.com/cypress-io/cypress-example-kitchensink.git"
  },

@cypress-app-bot
Copy link
Collaborator

@MikeMcC399 MikeMcC399 marked this pull request as ready for review June 27, 2024 09:33
@jennifer-shehane jennifer-shehane merged commit a5b96ce into cypress-io:master Jun 27, 2024
12 checks passed
@MikeMcC399 MikeMcC399 deleted the fix-repo-url branch June 27, 2024 15:57
@cypress-app-bot
Copy link
Collaborator

🎉 This PR is included in version 3.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants