File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,12 @@ const { args } = cli.parse()
2020console . log ( 'Copying...' )
2121execaSync `cp -r ${ resolve ( getDirname ( ) , '../template' ) } ${ resolve ( process . cwd ( ) , args [ 0 ] ) } `
2222console . log ( 'Copy complete! Installing node modules...' )
23- execaSync ( `cd ${ resolve ( process . cwd ( ) , args [ 0 ] ) } && npm run setup` , {
24- shell : true ,
25- stdio : 'inherit' ,
26- } )
23+ execaSync (
24+ `cd ${ resolve ( process . cwd ( ) , args [ 0 ] ) } && npm run setup && mv .npmignore .gitignore` ,
25+ {
26+ shell : true ,
27+ stdio : 'inherit' ,
28+ } ,
29+ )
30+
2731console . log ( 'Installation complete! Have fun!' )
Original file line number Diff line number Diff line change 11{
22 "name" : " ts-hajime" ,
33 "description" : " Delightfully bootstraps TypeScript npm libraries." ,
4- "version" : " 0.3.0 " ,
4+ "version" : " 0.3.1 " ,
55 "scripts" : {
66 "setup" : " rm -rf node_modules && npm i && husky" ,
77 "prepublishOnly" : " npm run build" ,
You can’t perform that action at this time.
0 commit comments