1
1
import * as CR from 'typings'
2
2
3
3
const basic : CR . Tutorial = {
4
- id : 'tutorialId ' ,
4
+ id : '1 ' ,
5
5
meta : {
6
6
version : '0.1.0' ,
7
7
repo : 'https://github.com/ShMcK/coderoad-tutorial-basic.git' ,
@@ -17,16 +17,23 @@ const basic: CR.Tutorial = {
17
17
summary : {
18
18
title : 'Basic Test' ,
19
19
description : 'A basic coding skills example' ,
20
- levelList : [ 'level1Id' ] ,
20
+ levelList : [ 'level1Id' , 'level2Id' ] ,
21
21
} ,
22
22
levels : {
23
23
level1Id : {
24
- stageList : [ 'stage1Id' ] ,
24
+ stageList : [ 'stage1Id' , 'stage2Id' ] ,
25
25
content : {
26
- title : 'Sum Level ' ,
26
+ title : 'Operators ' ,
27
27
text : 'A description of this stage' ,
28
28
} ,
29
29
} ,
30
+ level2Id : {
31
+ stageList : [ 'a' ] ,
32
+ content : {
33
+ title : 'Logic' ,
34
+ text : 'Some basic logic in level 2'
35
+ }
36
+ }
30
37
} ,
31
38
stages : {
32
39
stage1Id : {
@@ -42,7 +49,14 @@ const basic: CR.Tutorial = {
42
49
title : 'Second Stage' ,
43
50
text : 'Going into round 2'
44
51
}
45
- }
52
+ } ,
53
+ a : {
54
+ stepList : [ 'a1' , 'a2' ] ,
55
+ content : {
56
+ title : 'Part 1' ,
57
+ text : 'Going into round 1'
58
+ }
59
+ } ,
46
60
} ,
47
61
steps : {
48
62
step1Id : {
@@ -52,12 +66,12 @@ const basic: CR.Tutorial = {
52
66
} ,
53
67
actions : {
54
68
setup : {
55
- commits : [ '430500f ' , '8383061 ' ] ,
69
+ commits : [ 'aab5f3d ' , '8fa5ad5 ' ] ,
56
70
commands : [ 'npm install' ] ,
57
71
files : [ 'src/sum.js' ] ,
58
72
} ,
59
73
solution : {
60
- commits : [ 'abbe136 ' ] ,
74
+ commits : [ 'abe3123 ' ] ,
61
75
} ,
62
76
} ,
63
77
hints : [ ] ,
@@ -69,11 +83,11 @@ const basic: CR.Tutorial = {
69
83
} ,
70
84
actions : {
71
85
setup : {
72
- commits : [ '9cbb518 ' ] ,
86
+ commits : [ '0e01df8 ' ] ,
73
87
files : [ 'src/multiply.js' ] ,
74
88
} ,
75
89
solution : {
76
- commits : [ '5ae011f ' ] ,
90
+ commits : [ '1b9a520 ' ] ,
77
91
} ,
78
92
} ,
79
93
hints : [ ] ,
@@ -85,11 +99,11 @@ const basic: CR.Tutorial = {
85
99
} ,
86
100
actions : {
87
101
setup : {
88
- commits : [ '70c774c ' ] ,
102
+ commits : [ '40802cf ' ] ,
89
103
files : [ 'src/divide.js' ] ,
90
104
} ,
91
105
solution : {
92
- commits : [ '3180bed ' ] ,
106
+ commits : [ 'b321a3d ' ] ,
93
107
} ,
94
108
} ,
95
109
hints : [ ] ,
@@ -101,11 +115,11 @@ const basic: CR.Tutorial = {
101
115
} ,
102
116
actions : {
103
117
setup : {
104
- commits : [ '16d9699 ' ] ,
105
- files : [ ] ,
118
+ commits : [ '4db40b4 ' ] ,
119
+ files : [ 'src/modulo.js' ] ,
106
120
} ,
107
121
solution : {
108
- commits : [ 'bbf8aa5 ' ]
122
+ commits : [ '3580c9d ' ]
109
123
}
110
124
}
111
125
} ,
@@ -116,11 +130,41 @@ const basic: CR.Tutorial = {
116
130
} ,
117
131
actions : {
118
132
setup : {
119
- commits : [ '683c8db' ] ,
120
- files : [ ] ,
133
+ commits : [ 'abc1e2d' ] ,
134
+ files : [ 'src/power.js' ] ,
135
+ } ,
136
+ solution : {
137
+ commits : [ '5d28c25' ]
138
+ }
139
+ }
140
+ } ,
141
+ a1 : {
142
+ content : {
143
+ title : 'Hello' ,
144
+ text : 'Return the word "hello"'
145
+ } ,
146
+ actions : {
147
+ setup : {
148
+ commits : [ 'd2c5827' ] ,
149
+ files : [ 'src/hello.js' ] ,
150
+ } ,
151
+ solution : {
152
+ commits : [ 'f668bf7' ]
153
+ }
154
+ }
155
+ } ,
156
+ a2 : {
157
+ content : {
158
+ title : 'Bye' ,
159
+ text : 'Return the word "bye"'
160
+ } ,
161
+ actions : {
162
+ setup : {
163
+ commits : [ '3aa0ccd' ] ,
164
+ files : [ 'src/hello.js' ] ,
121
165
} ,
122
166
solution : {
123
- commits : [ 'deaf3a8 ' ]
167
+ commits : [ '9897785 ' ]
124
168
}
125
169
}
126
170
} ,
0 commit comments