@@ -69,7 +69,6 @@ export default {
6969 examples : [ "coderoad" ] ,
7070 } ,
7171 setup : {
72- type : "object" ,
7372 $ref : "#/definitions/setup_action" ,
7473 description :
7574 "Setup commits or commands used for setting up the test runner on tutorial launch" ,
@@ -97,40 +96,41 @@ export default {
9796 additionalProperties : false ,
9897 required : [ "uri" , "branch" ] ,
9998 } ,
100- } ,
101- dependencies : {
102- type : "array" ,
103- description : "A list of tutorial dependencies" ,
104- items : {
99+
100+ dependencies : {
101+ type : "array" ,
102+ description : "A list of tutorial dependencies" ,
103+ items : {
104+ type : "object" ,
105+ properties : {
106+ name : {
107+ type : "string" ,
108+ description :
109+ "The command line process name of the dependency. It will be checked by running `name --version`" ,
110+ examples : [ "node" , "python" ] ,
111+ } ,
112+ version : {
113+ type : "string" ,
114+ description :
115+ "The version requirement. See https://github.com/npm/node-semver for options" ,
116+ examples : [ ">=10" ] ,
117+ } ,
118+ } ,
119+ required : [ "name" , "version" ] ,
120+ } ,
121+ } ,
122+ appVersions : {
105123 type : "object" ,
124+ description :
125+ "A list of compatable coderoad versions. Currently only a VSCode extension." ,
106126 properties : {
107- name : {
108- type : "string" ,
109- description :
110- "The command line process name of the dependency. It will be checked by running `name --version`" ,
111- examples : [ "node" , "python" ] ,
112- } ,
113- version : {
127+ vscode : {
114128 type : "string" ,
115129 description :
116- "The version requirement. See https://github.com/npm/node-semver for options " ,
117- examples : [ ">=10 " ] ,
130+ "The version range for coderoad-vscode that this tutorial is compatable with " ,
131+ examples : [ ">=0.7.0 " ] ,
118132 } ,
119133 } ,
120- required : [ "name" , "version" ] ,
121- } ,
122- } ,
123- appVersions : {
124- type : "object" ,
125- description :
126- "A list of compatable coderoad versions. Currently only a VSCode extension." ,
127- properties : {
128- vscode : {
129- type : "string" ,
130- description :
131- "The version range for coderoad-vscode that this tutorial is compatable with" ,
132- examples : [ ">=0.7.0" ] ,
133- } ,
134134 } ,
135135 } ,
136136 additionalProperties : false ,
@@ -202,7 +202,7 @@ export default {
202202 } ,
203203 } ,
204204 } ,
205- required : [ "title" , "description " , "content" ] ,
205+ required : [ "title" , "summary " , "content" ] ,
206206 } ,
207207 minItems : 1 ,
208208 } ,
0 commit comments