File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 3
3
import fs from 'fs' ;
4
4
import path , { dirname } from 'path' ;
5
5
import inquirer from 'inquirer' ;
6
- import chalk from 'chalk' ;
7
6
import shell from 'shelljs' ;
8
7
import { fileURLToPath } from 'url' ;
9
8
import ejs from 'ejs' ;
@@ -63,7 +62,7 @@ inquirer.prompt(QUESTIONS).then(answers => {
63
62
64
63
function createProject ( projectPath : string ) {
65
64
if ( fs . existsSync ( projectPath ) ) {
66
- console . log ( chalk . red ( `Folder ${ projectPath } exists. Delete or use another name.` ) ) ;
65
+ console . log ( `Folder ${ projectPath } exists. Delete or use another name.` ) ;
67
66
return false ;
68
67
}
69
68
fs . mkdirSync ( projectPath ) ;
Original file line number Diff line number Diff line change 7
7
"rootDir" : " src" ,
8
8
"strict" : true ,
9
9
"esModuleInterop" : true ,
10
- "module" : " ESNext" , /* Specify what module code is generated. */
10
+ "module" : " ESNext" ,
11
11
"moduleResolution" : " node"
12
12
13
13
},
You can’t perform that action at this time.
0 commit comments