Skip to content

Commit fc0b524

Browse files
committed
fix: add publishConfig to make release-it work
Sometimes release-it fails if publishConfig isn't specified. So this adds it to the default template.
1 parent 6e02b32 commit fc0b524

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/common/$package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
"url": "<%= repo %>/issues"
4444
},
4545
"homepage": "<%= repo %>#readme",
46+
"publishConfig": {
47+
"registry": "https://registry.npmjs.org/"
48+
},
4649
"devDependencies": {
4750
"@commitlint/config-conventional": "^8.3.4",
4851
"@react-native-community/bob": "^<%= bob.version %>",

0 commit comments

Comments
 (0)