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: run npm fix on package.json #93

Merged
merged 1 commit into from
Apr 29, 2024
Merged

chore: run npm fix on package.json #93

merged 1 commit into from
Apr 29, 2024

Conversation

danielroe
Copy link
Collaborator

Publishing a package with the latest version of npm gives rise to the following error:

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" was changed from a string to an object
npm WARN publish "repository.url" was normalized to "git+https://github.com/<repo>.git"

This PR (it isn't much, I know!) runs the command ...

See https://docs.npmjs.com/cli/v10/configuring-npm/package-json and specifically npm/cli#7299 (comment).

@danielroe danielroe merged commit 78c7bc0 into main Apr 29, 2024
1 check passed
@danielroe danielroe deleted the package-json-fix branch April 29, 2024 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant