Skip to content

Commit

Permalink
Merge pull request #3 from callstack/fix/remove-chalk-dependency
Browse files Browse the repository at this point in the history
fix: remove `chalk` dependency from `postInitScript.js`
  • Loading branch information
okwasniewski authored Sep 13, 2024
2 parents db18708 + 7c7b3f1 commit bf47a61
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions postInitScript.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
#!/usr/bin/env node

const chalk = require("chalk");
const path = require("path");

// ANSI escape codes for colors and formatting
const reset = "\x1b[0m";
const cyan = "\x1b[36m";
const bold = "\x1b[1m";

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

const instructions = `
${chalk.cyan(`Run instructions for ${chalk.bold("visionOS")}`)}:
${cyan}Run instructions for ${bold}visionOS${reset}${cyan}:${reset}
• cd "${projectDir}/visionos"
• Install Cocoapods
Expand Down

0 comments on commit bf47a61

Please sign in to comment.