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() {
319
319
copyTemplate ( 'eslint ', config )
320
320
}
321
321
322
+ console . log ( )
322
323
console . log ( 'Project created ')
324
+ console . log ( )
323
325
console . log ( 'Note: pnpm must be used as the package manager' )
324
326
console . log ( )
327
+ console . log ( 'Next steps:' )
328
+ console . log ( )
325
329
326
330
if ( targetDirName !== '.' ) {
327
- console . log ( 'cd ' + targetDirName )
331
+ console . log ( ' cd ' + targetDirName )
328
332
}
329
333
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' )
335
336
}
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
+ // }
336
344
}
337
345
338
346
function copyTemplate ( templateName : string , config : Config ) {
You can’t perform that action at this time.
0 commit comments