Skip to content

Commit

Permalink
remove chalk
Browse files Browse the repository at this point in the history
  • Loading branch information
pavletto committed Jul 2, 2024
1 parent 5df2630 commit 43d906f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import fs from 'fs';
import path, {dirname} from 'path';
import inquirer from 'inquirer';
import chalk from 'chalk';
import shell from 'shelljs';
import {fileURLToPath} from 'url';
import ejs from 'ejs';
Expand Down Expand Up @@ -63,7 +62,7 @@ inquirer.prompt(QUESTIONS).then(answers => {

function createProject(projectPath: string) {
if (fs.existsSync(projectPath)) {
console.log(chalk.red(`Folder ${projectPath} exists. Delete or use another name.`));
console.log(`Folder ${projectPath} exists. Delete or use another name.`);
return false;
}
fs.mkdirSync(projectPath);
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"rootDir": "src",
"strict": true,
"esModuleInterop": true,
"module": "ESNext", /* Specify what module code is generated. */
"module": "ESNext",
"moduleResolution": "node"

},
Expand Down

0 comments on commit 43d906f

Please sign in to comment.