Skip to content

Commit

Permalink
Merge pull request #2 from callstack/fix/include-post-init-script-in-…
Browse files Browse the repository at this point in the history
…package-files

fix: include `postInitScript.js` in package files
  • Loading branch information
okwasniewski authored Aug 28, 2024
2 parents f1c1ab1 + ab67860 commit db18708
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"type": "commonjs",
"files": [
"template/*",
"template.config.js"
"template.config.js",
"postInitScript.js"
],
"dependencies": {},
"devDependencies": {},
Expand Down
6 changes: 2 additions & 4 deletions postInitScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const chalk = require("chalk");
const path = require("path");

function printInitScript(projectName) {
function printInitScript() {
const projectDir = path.resolve();

const instructions = `
Expand All @@ -18,9 +18,7 @@ function printInitScript(projectName) {
• npx react-native run-visionos
`;

console.log(`
${instructions}
`);
console.log(instructions);
}

printInitScript();

0 comments on commit db18708

Please sign in to comment.