From 3f825fc80460c9dd5f24750a895001a4b04dd347 Mon Sep 17 00:00:00 2001 From: David Angulo Date: Tue, 5 Dec 2023 02:18:16 +0800 Subject: [PATCH] chore: remove npm publish warning --- .../templates/common/$package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/create-react-native-library/templates/common/$package.json b/packages/create-react-native-library/templates/common/$package.json index 41cb42bd1..b99548cf9 100644 --- a/packages/create-react-native-library/templates/common/$package.json +++ b/packages/create-react-native-library/templates/common/$package.json @@ -45,7 +45,10 @@ "ios", "android" ], - "repository": "<%- repo -%>", + "repository": { + "type": "git", + "url": "git+<%- repo -%>.git" + }, "author": "<%- author.name -%> <<%- author.email -%>> (<%- author.url -%>)", "license": "MIT", "bugs": {