Skip to content

Commit 669274d

Browse files
authored
Fix main package metadata via npm pkg fix (#1293)
Fix a warning when running `npm publish --dry-run` ``` 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/tailwindlabs/heroicons.git" ```
1 parent 6905849 commit 669274d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
"svg",
99
"tailwindcss"
1010
],
11-
"repository": "https://github.com/tailwindlabs/heroicons.git",
11+
"repository": {
12+
"type": "git",
13+
"url": "git+https://github.com/tailwindlabs/heroicons.git"
14+
},
1215
"files": [
1316
"16/",
1417
"20/",

0 commit comments

Comments
 (0)