Skip to content

Commit aa108da

Browse files
committed
Order
1 parent 8ca7f66 commit aa108da

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-tinybase",
3-
"version": "0.2.2",
3+
"version": "0.2.3",
44
"author": "jamesgpearce",
55
"repository": {
66
"type": "git",

screenshots/chat.png

460 Bytes
Loading

src/cli.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff 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,

templates/server/package.json.hbs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,4 @@
4747
{{/if}}
4848
{{/list}}
4949
}
50-
}
5150
}

0 commit comments

Comments
 (0)