File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed
Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -319,20 +319,28 @@ async function init() {
319319 copyTemplate ( 'eslint ', config )
320320 }
321321
322+ console . log ( )
322323 console . log ( 'Project created ')
324+ console . log ( )
323325 console . log ( 'Note: pnpm must be used as the package manager' )
324326 console . log ( )
327+ console . log ( 'Next steps:' )
328+ console . log ( )
325329
326330 if ( targetDirName !== '.' ) {
327- console . log ( 'cd ' + targetDirName )
331+ console . log ( ' cd ' + targetDirName )
328332 }
329333
330- console . log ( 'pnpm install' )
331-
332- if ( ! fs . existsSync ( path . join ( targetDirPath , 'packages' , config . mainPackageDirName , 'LICENSE' ) ) ) {
333- console . log ( )
334- console . log ( `You should add a suitable license at packages/${ config . mainPackageDirName } /LICENSE` )
334+ if ( ! fs . existsSync ( path . join ( targetDirPath , '.git' ) ) ) {
335+ console . log ( ' git init' )
335336 }
337+
338+ console . log ( ' pnpm install' )
339+
340+ // if (!fs.existsSync(path.join(targetDirPath, 'packages', config.mainPackageDirName, 'LICENSE'))) {
341+ // console.log()
342+ // console.log(`You should add a suitable license at packages/${config.mainPackageDirName}/LICENSE`)
343+ // }
336344}
337345
338346function copyTemplate ( templateName : string , config : Config ) {
You can’t perform that action at this time.
0 commit comments