Skip to content

Commit

Permalink
npm pkg fix
Browse files Browse the repository at this point in the history
This was causing a warning during package publication:

> 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/lucaswerkmeister/m3api.git"

Apparently the npm docs themselves [1], which still list the URL format
without `git+`, are outdated. Lovely.

[1]: https://docs.npmjs.com/cli/v10/configuring-npm/package-json#repository
  • Loading branch information
lucaswerkmeister committed Apr 9, 2024
1 parent d8c550a commit dbcb59f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"bugs": "https://github.com/lucaswerkmeister/m3api/issues",
"repository": {
"type": "git",
"url": "https://github.com/lucaswerkmeister/m3api.git"
"url": "git+https://github.com/lucaswerkmeister/m3api.git"
},
"keywords": [
"mediawiki"
Expand Down

0 comments on commit dbcb59f

Please sign in to comment.