From ab67860eb0d9a08c1a3e26cf60295f8bfce2eee8 Mon Sep 17 00:00:00 2001 From: szymonrybczak Date: Wed, 28 Aug 2024 14:30:26 +0200 Subject: [PATCH] fix: include `postInitScript.js` in package files --- package.json | 3 ++- postInitScript.js | 6 ++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ee44425..7b676dc 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "type": "commonjs", "files": [ "template/*", - "template.config.js" + "template.config.js", + "postInitScript.js" ], "dependencies": {}, "devDependencies": {}, diff --git a/postInitScript.js b/postInitScript.js index f670aef..f5bc8eb 100755 --- a/postInitScript.js +++ b/postInitScript.js @@ -3,7 +3,7 @@ const chalk = require("chalk"); const path = require("path"); -function printInitScript(projectName) { +function printInitScript() { const projectDir = path.resolve(); const instructions = ` @@ -18,9 +18,7 @@ function printInitScript(projectName) { • npx react-native run-visionos `; - console.log(` - ${instructions} - `); + console.log(instructions); } printInitScript();