File tree Expand file tree Collapse file tree 4 files changed +13
-14
lines changed
Expand file tree Collapse file tree 4 files changed +13
-14
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " create-tinybase" ,
3- "version" : " 0.2.2 " ,
3+ "version" : " 0.2.3 " ,
44 "author" : " jamesgpearce" ,
55 "repository" : {
66 "type" : " git" ,
Original file line number Diff line number Diff line change @@ -28,6 +28,18 @@ const config = {
2828 return true ;
2929 } ,
3030 } ,
31+ {
32+ type : 'select' as const ,
33+ name : 'appType' ,
34+ message : 'App type:' ,
35+ choices : [
36+ { title : 'Todo app' , value : 'todos' } ,
37+ { title : 'Chat app' , value : 'chat' } ,
38+ { title : 'Drawing app' , value : 'drawing' } ,
39+ { title : 'Tic-tac-toe game' , value : 'game' } ,
40+ ] ,
41+ initial : 0 ,
42+ } ,
3143 {
3244 type : 'select' as const ,
3345 name : 'language' ,
@@ -48,18 +60,6 @@ const config = {
4860 ] ,
4961 initial : 0 ,
5062 } ,
51- {
52- type : 'select' as const ,
53- name : 'appType' ,
54- message : 'App type:' ,
55- choices : [
56- { title : 'Todo app' , value : 'todos' } ,
57- { title : 'Chat app' , value : 'chat' } ,
58- { title : 'Drawing app' , value : 'drawing' } ,
59- { title : 'Tic-tac-toe game' , value : 'game' } ,
60- ] ,
61- initial : 0 ,
62- } ,
6363 {
6464 type : ( prev : unknown , answers : Record < string , unknown > ) =>
6565 answers . language = == 'typescript' ? ( 'confirm' as const ) : null ,
Original file line number Diff line number Diff line change 4747 {{ /if }}
4848{{ /list }}
4949}
50- }
5150}
You can’t perform that action at this time.
0 commit comments