11import * as CR from 'typings'
22
33const basic : CR . Tutorial = {
4- id : 'tutorialId ' ,
4+ id : '1 ' ,
55 meta : {
66 version : '0.1.0' ,
77 repo : 'https://github.com/ShMcK/coderoad-tutorial-basic.git' ,
@@ -17,16 +17,23 @@ const basic: CR.Tutorial = {
1717 summary : {
1818 title : 'Basic Test' ,
1919 description : 'A basic coding skills example' ,
20- levelList : [ 'level1Id' ] ,
20+ levelList : [ 'level1Id' , 'level2Id' ] ,
2121 } ,
2222 levels : {
2323 level1Id : {
24- stageList : [ 'stage1Id' ] ,
24+ stageList : [ 'stage1Id' , 'stage2Id' ] ,
2525 content : {
26- title : 'Sum Level ' ,
26+ title : 'Operators ' ,
2727 text : 'A description of this stage' ,
2828 } ,
2929 } ,
30+ level2Id : {
31+ stageList : [ 'a' ] ,
32+ content : {
33+ title : 'Logic' ,
34+ text : 'Some basic logic in level 2'
35+ }
36+ }
3037 } ,
3138 stages : {
3239 stage1Id : {
@@ -42,7 +49,14 @@ const basic: CR.Tutorial = {
4249 title : 'Second Stage' ,
4350 text : 'Going into round 2'
4451 }
45- }
52+ } ,
53+ a : {
54+ stepList : [ 'a1' , 'a2' ] ,
55+ content : {
56+ title : 'Part 1' ,
57+ text : 'Going into round 1'
58+ }
59+ } ,
4660 } ,
4761 steps : {
4862 step1Id : {
@@ -52,12 +66,12 @@ const basic: CR.Tutorial = {
5266 } ,
5367 actions : {
5468 setup : {
55- commits : [ '430500f ' , '8383061 ' ] ,
69+ commits : [ 'aab5f3d ' , '8fa5ad5 ' ] ,
5670 commands : [ 'npm install' ] ,
5771 files : [ 'src/sum.js' ] ,
5872 } ,
5973 solution : {
60- commits : [ 'abbe136 ' ] ,
74+ commits : [ 'abe3123 ' ] ,
6175 } ,
6276 } ,
6377 hints : [ ] ,
@@ -69,11 +83,11 @@ const basic: CR.Tutorial = {
6983 } ,
7084 actions : {
7185 setup : {
72- commits : [ '9cbb518 ' ] ,
86+ commits : [ '0e01df8 ' ] ,
7387 files : [ 'src/multiply.js' ] ,
7488 } ,
7589 solution : {
76- commits : [ '5ae011f ' ] ,
90+ commits : [ '1b9a520 ' ] ,
7791 } ,
7892 } ,
7993 hints : [ ] ,
@@ -85,11 +99,11 @@ const basic: CR.Tutorial = {
8599 } ,
86100 actions : {
87101 setup : {
88- commits : [ '70c774c ' ] ,
102+ commits : [ '40802cf ' ] ,
89103 files : [ 'src/divide.js' ] ,
90104 } ,
91105 solution : {
92- commits : [ '3180bed ' ] ,
106+ commits : [ 'b321a3d ' ] ,
93107 } ,
94108 } ,
95109 hints : [ ] ,
@@ -101,11 +115,11 @@ const basic: CR.Tutorial = {
101115 } ,
102116 actions : {
103117 setup : {
104- commits : [ '16d9699 ' ] ,
105- files : [ ] ,
118+ commits : [ '4db40b4 ' ] ,
119+ files : [ 'src/modulo.js' ] ,
106120 } ,
107121 solution : {
108- commits : [ 'bbf8aa5 ' ]
122+ commits : [ '3580c9d ' ]
109123 }
110124 }
111125 } ,
@@ -116,11 +130,41 @@ const basic: CR.Tutorial = {
116130 } ,
117131 actions : {
118132 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' ] ,
121165 } ,
122166 solution : {
123- commits : [ 'deaf3a8 ' ]
167+ commits : [ '9897785 ' ]
124168 }
125169 }
126170 } ,
0 commit comments