File tree Expand file tree Collapse file tree 6 files changed +12
-15
lines changed Expand file tree Collapse file tree 6 files changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -61,16 +61,6 @@ export default class Init {
6161 return ! flags . force ;
6262 } ,
6363 } ,
64- {
65- name : "sample-commands" ,
66- message : "Load sample code" ,
67- type : "confirm" ,
68- default : true ,
69- when : ( answers : any ) => {
70- answers [ "sample-commands" ] = true ;
71- return ! flags . force ;
72- } ,
73- } ,
7464 {
7565 name : "current-directory" ,
7666 message : "Select directory (relative path)" ,
Original file line number Diff line number Diff line change @@ -5,7 +5,10 @@ const plugins = [
55 "@lesy/lesy-plugin-help" ,
66 [
77 "@lesy/lesy-plugin-pilot" ,
8- { docTitle : "Lesy | Dashboard" , appName : "Lesy Dashboard" } ,
8+ {
9+ docTitle : "Lesy CLI | Dashboard" ,
10+ appName : "Lesy CLI" ,
11+ } ,
912 ] ,
1013] ;
1114
Original file line number Diff line number Diff line change 1010 "{{cmdName}}" : " bin/cmd"
1111 },
1212 "dependencies" : {
13- "@lesy/compiler" : " ^{{version}}"
13+ "@lesy/compiler" : " ^{{version}}" ,
14+ "@lesy/lesy-plugin-pilot" : " ^{{version}}"
1415 },
1516 "devDependencies" : {
1617 "jest" : " ^24.9.0" ,
Original file line number Diff line number Diff line change 11const commands = [ `${ __dirname } /commands` ] ;
2+ const plugins = [ "@lesy/lesy-plugin-pilot" ] ;
23
3- module . exports = { commands } ;
4+ module . exports = { commands, plugins } ;
Original file line number Diff line number Diff line change 1212 "{{cmdName}}" : " bin/cmd"
1313 },
1414 "dependencies" : {
15- "@lesy/compiler" : " ^{{version}}"
15+ "@lesy/compiler" : " ^{{version}}" ,
16+ "@lesy/lesy-plugin-pilot" : " ^{{version}}"
1617 },
1718 "devDependencies" : {
1819 "@lesy/testbed" : " ^{{version}}" ,
Original file line number Diff line number Diff line change 11const commands = [ `${ __dirname } /commands` ] ;
2+ const plugins = [ "@lesy/lesy-plugin-pilot" ] ;
23
3- export { commands } ;
4+ export { commands , plugins } ;
You can’t perform that action at this time.
0 commit comments