From dbcb59f14e7289d31083073fb9abbced05bafcdc Mon Sep 17 00:00:00 2001 From: Lucas Werkmeister Date: Tue, 9 Apr 2024 21:05:54 +0200 Subject: [PATCH] npm pkg fix 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 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5c19868..cdf473c 100644 --- a/package.json +++ b/package.json @@ -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"